Consolidate Linux access implementation
[glibc.git] / ChangeLog
blob4b93266e8846bfbd6c6ed8b02a1201c336981e4e
1 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/access.c: New file.
4         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9         and __WORDSIZE32_PTRDIFF_LONG.
11 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
18         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
19         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
20         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
21         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
22         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
23         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
24         * sysdeps/unix/sysv/linux/truncate.c: New file.
25         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
26         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
27         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
28         Remove.
29         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
30         Likewise.
32         * posix/tst-truncate-common.c: New file.
33         * posix/tst-truncate.c: Use tst-truncate-common.c.
34         * posix/tst-truncate64.c: Likewise and add LFS tests.
35         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
36         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
37         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
38         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
39         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
41         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
42         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
43         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
44         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
45         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
46         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
47         Remove.
48         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
49         Likewise.
51 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
53         [BZ #20790]
54         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
55         to MAXLINESIZE.
56         * sunrpc/bug20790.x: New file.
57         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
58         variable.
59         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
60         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
62         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
64         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
66         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
67         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
68         calloc, realloc, free, memalign and __libc_memalign rather than
69         making them optional.
71         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
72         for libc.so.
74 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
76         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
77         ptw-lseek64.
78         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
79         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
80         Likewise.
81         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
82         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
83         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
84         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
85         * sysdeps/unix/sysv/linux/lseek.c: New file.
86         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
87         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
88         __libc_lseek64 from auto-generation.
89         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
92 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
94         * nptl/tst-basic1.c (tf, do_test): Use write_message.
95         * nptl/tst-cleanup1.c (do_test): Likewise.
96         * nptl/tst-cleanup3.c (do_test): Likewise.
97         * nptl/tst-key1.c (do_test): Likewise.
98         * nptl/tst-key2.c (tf, do_test): Likewise.
99         * nptl/tst-key3.c (tf, do_test): Likewise.
100         * nptl/tst-stdio1.c (do_test): Likewise.
101         * nptl/tst-stdio2.c (do_test): Likewise.
103         * nptl/tst-kill3.c (handler): Use write_message in place of write.
104         * nptl/tst-kill6.c (handler): Likewise.
105         * nptl/tst-tls2.c (CB): Likewise.
106         * nptl/tst-tls3.c (CB): Likewise.
108 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
110         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
112 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
113             Steve Ellcey  <sellcey@caviumnetworks.com>
115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
116           __ASSUME_ST_INO_64_BIT as 0
117         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
118         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
119           over the code where __ASSUME_ST_INO_64_BIT is used.
120         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
121         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
122         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
124 2016-11-07  Florian Weimer  <fweimer@redhat.com>
126         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
127         Document ABI exposure of the __kind offset.
128         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
129         Mention reason for the __kind offset exposure in the ABI.
130         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
131         Likewise.
132         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
133         Likewise.
134         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
135         Likewise.
136         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
137         (struct __pthread_mutex_s): Likewise.
138         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
139         Likewise.
140         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
141         Likewise.
142         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
143         Likewise.
144         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
145         Likewise.
146         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
147         Likewise.
148         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
149         Likewise.
150         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
151         (struct __pthread_mutex_s): Likewise.
152         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
153         (struct __pthread_mutex_s): Likewise.
154         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
155         Likewise.
157 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
159         * test-skeleton.c: Document do_test usage.
161 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
163         * iconv/gconv.h (__gconv_info): Define __data element using a
164         zero-length array.
166 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
168         * math/test-tgmath2.c: Split up test function.
170 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
172         * Rules (tests-expected): New variable, depending on
173         $(run-built-tests).
174         (tests): Pass $(tests-expected) to merge-test-results.sh, not
175         $(tests).
177         * Rules [$(run-built-tests) = no] (tests): Do not depend on
178         $(tests-unsupported).
180 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
182         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
183         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
185 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
187         [BZ #20768]
188         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
189         __fegetenv instead of fegetenv.
191         [BZ #14139]
192         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
193         (find_files): Obtain platform name from libm-test-ulps-name and
194         store in %pplatforms.
195         (canonicalize_platform): Remove.
196         (print_platforms): Use $pplatforms directly.
197         (by_platforms): Do not allow for platforms missing from
198         %pplatforms.
199         * sysdeps/aarch64/libm-test-ulps-name: New file.
200         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
201         * sysdeps/arm/libm-test-ulps-name: Likewise.
202         * sysdeps/generic/libm-test-ulps-name: Likewise.
203         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
204         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
205         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
206         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
207         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
208         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
209         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
210         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
211         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
212         * sysdeps/nios2/libm-test-ulps-name: Likewise.
213         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
214         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
215         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
216         * sysdeps/sh/libm-test-ulps-name: Likewise.
217         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
218         * sysdeps/tile/libm-test-ulps-name: Likewise.
219         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
221         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
223         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
224         (test-xfail-check-execstack): New variable.
226         * sysdeps/mips/localplt.data: New file.
228 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
229             Steve Ellcey  <sellcey@caviumnetworks.com>
231         * bits/wordsize.h: Add documentation.
232         * sysdeps/aarch64/bits/wordsize.h : New file
233         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
234         definitions.
235         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
236         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
237         with #if instead of #ifdef.
238         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
239         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
240         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
241         Add or change defines.
242         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
243         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
244         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
245         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
246         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
247         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
248         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
249         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
250         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
251         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
252         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
253         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
254         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
255         * sysdeps/x86/bits/wordsize.h: Likewise.
257 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
258             Kevin Petit  <kevin.petit@arm.com>
260         * sysdeps/aarch64/memchr.S (__memchr): New file.
262 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
266 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
268         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
269         $(linknamespace-symlists-tests).
271 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
273         * time/tst-strptime2.c: Ignore -Wformat-length warning.
275 2016-11-02  Florian Weimer  <fweimer@redhat.com>
276             Carlos O'Donell  <carlos@redhat.com>
278         [Bug #20729]
279         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
280         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
281         for -Os related change.
283 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
285         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
287 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
289         [BZ #19673]
290         * manual/math.texi (Exponents and Logarithms): Correct description
291         of clog10.
293 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
295         [Bz #20729]
296         * locale/weight.h: Include libc-internal.h.
297         * locale/weightwc.h: Likewise.
298         * nptl/nptl_dbP.h: Likewise.
300 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
302         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
303         when it is MACH_PORT_NULL.
305 2016-10-31  Andreas Schwab  <schwab@suse.de>
307         [BZ #20707]
308         * posix/glob.c (glob): Initialize pglob before checking for
309         GLOB_BRACE.  Don't call glob recursively if pattern contains no
310         valid brace expression despite GLOB_BRACE.
311         * posix/globtest.sh: Test it.
313 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
315         [BZ #20729]
316         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
317         Define.
318         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
319         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
320         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
321         for seq2.back_us and seq1.back_us only for -Os compiles.
322         * locale/weightwc.h (findix): Likewise.
323         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
324         DB_GET_FIELD_ADDRESS only for -Os compiles.
325         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
326         for slen only for -Os compiles.
327         * string/strcoll_l.c (get_next_seq): Ignore
328         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
329         for -Os compiles.
331         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
332         * include/crypt.h: New file.
334 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
336         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
337         from test-skeleton.c.
338         (statclass): Replace calls to write with calls to write_message.
340 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
342         * math/math.h
343         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
344         New macro.
345         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
346         Likewise.
347         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
348         Likewise.
349         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
350         SNANL.
351         * math/test-double.h (snan_value_MACRO): New macro.
352         * math/test-float.h (snan_value_MACRO): Likewise.
353         * math/test-ldouble.h (snan_value_MACRO): Likewise.
354         * math/libm-test.inc (issignaling_test_data): Add tests of
355         snan_value_MACRO.
357 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
359         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
360         behavior when eliding a lock not held by the current thread.
361         * sysdeps/powerpc/nptl/elide.h: Likewise.
363 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
365         [BZ #20728]
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
367         branch to _exit() by a function call.
369 2016-10-28  Florian Weimer  <fweimer@redhat.com>
371         * malloc/malloc.c: Update chunk layout comments.
372         (chunk_main_arena): Update comment.
374 2016-10-28  Florian Weimer  <fweimer@redhat.com>
376         * crypt/sha256.c, crypt/sha256-block.c,
377         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
378         sha256_process_block to __sha256_process_block.
379         * crypt/sha512.c, crypt/sha512-block.c,
380         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
381         sha512_process_block to __sha512_process_block.
383 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
385         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
387         * math/test-nan-overflow.c: Include stdlib.h for malloc.
389 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
391         [BZ #20019]
392         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
393         definition in unrelocated shared library.
394         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
396 2016-10-28  Florian Weimer  <fweimer@redhat.com>
398         [BZ #20729]
399         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
400         * sysdeps/unix/sysv/linux/i386/Makefile
401         (uses-6-syscall-arguments): Define.
402         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
403         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
404         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
405         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
406         Likewise.
407         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
408         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
409         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
410         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
411         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
412         (CFLAGS-fallocate64.os): Likewise.
413         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
414         (CFLAGS-pthread_rwlock_timedrdlock.os)
415         (CFLAGS-pthread_rwlock_timedwrlock.o)
416         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
417         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
418         (CFLAGS-sem_timedwait.os): Likewise.
420 2016-10-28  Florian Weimer  <fweimer@redhat.com>
422         * elf/tst-linkall-static.c: New file.
423         * elf/Makefile (tests-static): Add tst-linkall-static.
424         (tst-linkall-static): Link against static libraries.
426 2016-10-27  Florian Weimer  <fweimer@redhat.com>
428         * malloc/malloc.c (sysmalloc): Initialize previous size field of
429         mmaped chunks.
431 2016-10-28  Florian Weimer  <fweimer@redhat.com>
433         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
434         members to mchunk_prev_size, mchunk_size.
435         (chunk_main_arena): Reverse sense and rename from
436         chunk_non_main_arena.
437         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
438         mchunk_size instead of size.
439         (set_non_main_arena): Define.
440         (chunksize): Use chunksize_nomask instead of direct member access.
441         (chunksize_nomask): Define.
442         (next_chunk): Use chunksize instead of direct member access.
443         (prev_size, set_prev_size): Define.
444         (prev_chunk): Use prev_size instead of direct member access.
445         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
446         (inuse_bit_at_offset, set_inuse_bit_at_offset)
447         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
448         (mchunk_prev_size, mchunk_size): Poison tokens.
449         (unlink): Use chunksize_nomask, prev_size accessors.
450         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
451         (do_check_free_chunk): Use prev_size accessor.
452         (sysmalloc): Use set_prev_size, set_head accessors.
453         (munmap_chunk, mremap_chunk): Use prev_size accessor.
454         (__libc_free): Use chunksize_nomask accessor.
455         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
456         chunk_main_arena accessors.
457         (_int_free): Use chunksize_nomask, prev_size accessors.
458         (malloc_consolidate): Use chunksize, prev_size accessors.
459         (_int_realloc): Use chunksize_nomask accessor.
460         (_int_memalign): Use set_prev_size accessor.
461         (__malloc_info): Use chunksize_nomask accessor.
462         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
463         accessors.
464         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
465         (heap_trim): Use chunksize_nomask, prev_size accessors.
467 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
469         [BZ #19380]
470         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
471         for inexact results.
472         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
473         of inexact result where mpfr_subnormalize is the only inexact
474         step.
475         * stdlib/tst-strtod-round-data.h: Regenerated.
476         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
477         Define to 0.
478         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
480 2016-10-27  David S. Miller  <davem@davemloft.net>
482         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
484 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
486         * malloc/malloc.c (do_set_mallopt_check): New function.
487         (do_set_mmap_threshold): Likewise.
488         (do_set_mmaps_max): Likewise.
489         (do_set_top_pad): Likewise.
490         (do_set_perturb_byte): Likewise.
491         (do_set_trim_threshold): Likewise.
492         (do_set_arena_max): Likewise.
493         (do_set_arena_test): Likewise.
494         (__libc_mallopt): Use them.
496 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
498         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
499         (canonicalize): New declaration.
500         * math/Versions (canonicalize): New libm symbol at version
501         GLIBC_2.25.
502         (canonicalizef): Likewise.
503         (canonicalizel): Likewise.
504         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
505         * math/s_canonicalize_template.c: New file.
506         * math/libm-test.inc: Update comment on functions tested and
507         testing of NaN payloads.
508         (TEST_NAN_PAYLOAD): New macro.
509         (NO_TEST_INLINE): Update value.
510         (XFAIL_TEST): Likewise.
511         (ERRNO_UNCHANGED): Likewise.
512         (ERRNO_EDOM): Likewise.
513         (ERRNO_ERANGE): Likewise.
514         (IGNORE_RESULT): Likewise.
515         (NON_FINITE): Likewise.
516         (TEST_SNAN): Likewise.
517         (NO_TEST_MATHVEC): Likewise.
518         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
519         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
520         (struct test_Ffp_b1_data): New type.
521         (RUN_TEST_Ffp_b1): New macro.
522         (RUN_TEST_LOOP_Ffp_b1): Likewise.
523         (canonicalize_test_data): New array.
524         (canonicalize_test): New function.
525         (main): Call canonicalize_test.
526         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
527         canonicalizef and canonicalizel.
528         * manual/libm-err-tab.pl: Update comment on interfaces without
529         ulps tabulated.
530         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
531         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
532         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
533         canonicalize.
534         (CFLAGS-nldbl-canonicalize.c): New variable.
535         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
536         to ...
537         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
538         ... here.
539         (do_test): Also test canonicalizel.
540         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
541         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
542         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
543         file.
544         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
545         Use libm_hidden_def.
546         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
547         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
548         (do_test): Also test canonicalizel.
549         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
550         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
551         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
552         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
553         libm_hidden_def.
554         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
555         macro.
556         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
557         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
558         * sysdeps/nacl/libm.abilist: Update.
559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
562         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
569         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
570         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
572         Likewise.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
574         Likewise.
575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
576         Likewise.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
578         Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
585         Likewise.
586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
587         Likewise.
588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
592         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
593         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
594         getpayload.
595         (CFLAGS-nldbl-getpayload.c): New variable.
597 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
599         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
600         integer from the format string.
602 2016-10-26  Florian Weimer  <fweimer@redhat.com>
604         [BZ #19473]
605         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
606         declarations.
607         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
608         weak aliases.
609         * malloc/hooks.c (__malloc_get_state): Remove definition.
610         (malloc_get_state): New stub implementation as
611         compatibility symbol.
612         (malloc_set_state): Rename from __malloc_set_state.  Turn into
613         compat symbol.
614         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
615         malloc_set_state.
616         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
618 2016-10-26  Florian Weimer  <fweimer@redhat.com>
620         * iconvdata/iso646.c (enum variant): Drop illegal_var.
621         (names): Turn into concatenation of strings.
622         (gconv_init): Adapt iteration over names.
624 2016-10-26  Florian Weimer  <fweimer@redhat.com>
626         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
627         make const.
628         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
629         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
630         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
631         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
632         character in sbconv.
633         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
634         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
635         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
637 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
639         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
641         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
642         (M_TRIM_THRESHOLD): Likewise.
644         * manual/memory.texi (M_ARENA_TEST): Add documentation.
645         (M_ARENA_MAX): Likewise.
646         * malloc/malloc.c: Remove obsolete comment.
648         * manual/memory.texi: Add environment variable alternatives to
649         setting mallopt parameters.
651 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
653         * include/atomic.h
654         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
655         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
657 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
659         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
660         * stdlib/tst-strfrom.h: New file.
661         * stdlib/tst-strfrom.c: New file.
662         * stdlib/tst-strfrom-locale.c: New file.
664         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
665         * stdlib/bug-strtod2.c: Likewise.
666         * stdlib/tst-strtod-round-skeleton.c: Likewise.
667         * stdlib/tst-strtod6.c: Likewise.
668         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
670 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
672         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
673         * manual/arith.texi: Document strfromd, strfromf, strfroml.
674         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
675         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
676         * stdlib/stdlib.h (strfromd): New declaration.
677         (strfromf): Likewise.
678         (strfroml): Likewise.
679         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
680         strfrom.
681         * stdlib/strfromd.c: New file.
682         * stdlib/strfromf.c: Likewise.
683         * stdlib/strfroml.c: Likewise.
684         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
685         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
686         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
687         * sysdeps/arm/nacl/libc.abilist: Update.
688         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
693         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
694         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
708         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
714         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
717 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
719         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
720         instead of cmpli.
721         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
722         instead of cmpli.
724 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
726         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
727         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
728         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
729         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
730         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
731         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
733 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
735         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
736         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
737         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
738         SYSCALL_LL64_PRW.
739         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
740         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
741         __ASSUME_PRW_DUMMY_ARG.
742         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
743         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
744         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
745         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
746         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
747         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
749 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
751         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
753 2016-10-22  Florian Weimer  <fweimer@redhat.com>
755         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
756         "C++", to override a potential extern "C" directive around the
757         header file inclusion.
759 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
761         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
763 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
765         * sysdeps/powerpc/fpu/fenv_private.h:
766         (_FPU_MASK_ALL): Rename to...
767         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
768         XE FPSCR bits.
770         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
772         (_FPU_MASK_ROUNDING): Rename to...
773         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
774         NI bits.
776         (_FPU_MASK_EXCEPT_ROUND): Rename to...
777         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
778         bits and rounding bits.
780         (__libc_feholdbits_ppc): New inline function to mask, set,
781         and pontentially clear FSPCR bits, and change MSR[FE] bits.
782         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
783         (libc_feholdexcept_setround_ppc): Likewise.
785         (__libc_femergeenv_ppc): New function to dynamically mask both
786         old and new FP environments and merge.
787         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
788         (libc_feresetround_ppc): Likewise.
789         (libc_feupdateenv_test_ppc): Likewise.
790         (libc_feupdateenv_ppc): Likewise.
792         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
793         of ISA RN bits, and update macro names.
794         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
795         effectively the same as the previously mentioned function.
797         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
798         usage with fe_resetround_ppc.
800         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
801         to be used.
802         (libc_feholdexcept_setround_ctxf): Likewise.
803         (libc_feholdexcept_setround_ctxl): Likewise.
805 2016-10-21  Florian Weimer  <fweimer@redhat.com>
807         [BZ #20715]
808         * math/math.h [__cplusplus] (iszero): Define as function template.
809         * math/Makefile [CXX] (tests): Add test-math-iszero.
810         (CFLAGS-test-math-iszero.cc): Set.
811         * math/test-math-iszero.cc: New file.
813 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
815         [BZ #20660]
816         * sysdeps/arm/e_sqrt.c: New file.
817         * sysdeps/arm/e_sqrtf.c: Likewise.
819 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #20718]
822         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
823         not use floating-point comparisons to test sign.
824         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
825         Likewise.
827         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
828         (getpayload): New declaration.
829         * math/Versions (getpayload): New libm symbol at version
830         GLIBC_2.25.
831         (getpayloadf): Likewise.
832         (getpayloadl): Likewise.
833         * math/Makefile (libm-calls): Add s_getpayloadF.
834         * math/libm-test.inc: Include <nan-high-order-bit.h>.
835         (struct test_f_f_data): Add comment.
836         (RUN_TEST_fp_f): New macro.
837         (RUN_TEST_LOOP_fp_f): Likewise.
838         (getpayload_test_data): New array.
839         (getpayload_test): New function.
840         (main): Call getpayload_test.
841         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
842         descriptor.
843         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
844         getpayloadf and getpayloadl.
845         * manual/libm-err-tab.pl: Update comment on interfaces without
846         ulps tabulated.
847         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
848         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
849         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
850         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
851         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
852         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
853         * sysdeps/nacl/libm.abilist: Update.
854         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
867         Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
869         Likewise.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
871         Likewise.
872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
873         Likewise.
874         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
878         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
880         Likewise.
881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
882         Likewise.
883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
885         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
887 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
889         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
890         tst-fallocate{64}.
891         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
892         on syscall return.
894 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
896         [BZ #20689]
897         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
898         usable.
900 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
902         * sysdeps/generic/nan-high-order-bit.h: New file.
903         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
904         * sysdeps/mips/nan-high-order-bit.h: Likewise.
905         * sysdeps/hppa/math_private.h: Remove file.
906         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
907         not define here.
908         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
909         <nan-high-order-bit.h>.
910         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
911         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
912         <nan-high-order-bit.h>.
913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
914         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
915         <nan-high-order-bit.h>.
916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
917         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
918         <nan-high-order-bit.h>.
919         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
920         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
921         <nan-high-order-bit.h>.
922         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
923         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
924         <nan-high-order-bit.h>.
925         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
926         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
927         <nan-high-order-bit.h>.
928         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
929         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
930         <nan-high-order-bit.h>.
931         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
932         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
933         <nan-high-order-bit.h>.
934         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
935         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
936         <nan-high-order-bit.h>.
937         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
938         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
939         <nan-high-order-bit.h>.
940         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
941         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
942         <nan-high-order-bit.h>.
943         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
944         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
945         <nan-high-order-bit.h>.
946         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
947         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
948         <nan-high-order-bit.h>.
949         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
950         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
951         <nan-high-order-bit.h>.
952         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
953         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
954         <nan-high-order-bit.h>.
955         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
956         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
957         <nan-high-order-bit.h>.
958         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
959         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
960         <nan-high-order-bit.h>.
961         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
963 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
965         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
967 2016-09-22  John David Anglin  <dave.anglin@bell.net>
969         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
970         abort-instr.h.
971         (EFAULT): Remove conditional define.
972         (ENOSYS): Likewise.
973         (atomic_compare_and_exchange_val_acq): Use instruction nullification
974         instead of conditional branch instructions.
976 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
978         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
979         (totalordermag): New declaration.
980         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
981         New macro.
982         * math/Versions (totalordermag): New libm symbol at version
983         GLIBC_2.25.
984         (totalordermagf): Likewise.
985         (totalordermagl): Likewise.
986         * math/Makefile (libm-calls): Add s_totalordermagF.
987         * math/libm-test.inc (totalordermag_test_data): New array.
988         (totalordermag_test): New function.
989         (main): Call totalordermag_test.
990         * math/test-tgmath.c (NCALLS): Increase to 125.
991         (F(compile_test)): Call totalordermag.
992         (F(totalordermag)): New function.
993         * manual/arith.texi (FP Comparison Functions): Document
994         totalordermag, totalordermagf and totalordermagl.
995         * manual/libm-err-tab.pl: Update comment on interfaces without
996         ulps tabulated.
997         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
998         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
999         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1000         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1001         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1002         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1003         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1004         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1005         totalordermag.
1006         (CFLAGS-nldbl-totalordermag.c): New variable.
1007         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1008         (do_test): Also test totalordermagl.
1009         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1010         Likewise.
1011         * sysdeps/nacl/libm.abilist: Update.
1012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1029         Likewise.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1045 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1047         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1048         boolean.
1050 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1052         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1053         raising FE_INVALID with feraisexcept in case where part of
1054         argument is infinite, subtract that part of argument from itself.
1055         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1056         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1057         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1059 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1061         * math/libm-test.inc (totalorder_test_data): Add more tests.
1063 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1065         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1066         Undefine weak_alias and add a comment why mips64 require
1067         versioning.
1069 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1071         [BZ #20647]
1072         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1073         maximum CPUID level is less than 2.
1075 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1077         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1078         (totalorder): New declaration.
1079         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1080         New macro.
1081         * math/Versions (totalorder): New libm symbol at version
1082         GLIBC_2.25.
1083         (totalorderf): Likewise.
1084         (totalorderl): Likewise.
1085         * math/Makefile (libm-calls): Add s_totalorderF.
1086         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1087         string.
1088         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1089         (qnan_value_pl): Likewise.
1090         (snan_value_pl): Likewise.
1091         (qnan_value): Define using qnan_value_pl.
1092         (snan_value): Define using snan_value_pl.
1093         (struct test_ff_i_data): Add comment about which tests use this
1094         structure.
1095         (RUN_TEST_ff_b): New macro.
1096         (RUN_TEST_LOOP_ff_b): Likewise.
1097         (totalorder_test_data): New array.
1098         (totalorder_test): New function.
1099         (main): Call totalorder_test.
1100         * math/test-tgmath.c (NCALLS): Increase to 122.
1101         (F(compile_test)): Call totalorder.
1102         (F(totalorder)): New function.
1103         * manual/arith.texi (FP Comparison Functions): Document
1104         totalorder, totalorderf and totalorderl.
1105         * manual/libm-err-tab.pl: Update comment on interfaces without
1106         ulps tabulated.
1107         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1108         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1109         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1110         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1113         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1114         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1115         totalorder.
1116         (CFLAGS-nldbl-totalorder.c): New variable.
1117         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1118         file.
1119         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1120         Add test-totalorderl-ldbl-128ibm.
1121         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1122         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1123         test-totalorderl-ldbl-96.
1124         * sysdeps/nacl/libm.abilist: Update.
1125         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1127         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1130         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1133         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1144         Likewise.
1145         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1146         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1147         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1149         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1151         Likewise.
1152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1153         Likewise.
1154         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1155         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1156         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1158 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1160         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1161         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1162         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1163         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1164         remove ENOSYS implementation.
1165         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1166         Consolidate all Linux implementations.
1168 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1170         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1171         * resolv/herror.c (herror): Cast away const-ness.
1172         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1173         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1175 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1177         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1178         instead of M_NAN + M_NAN.
1179         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1181 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1183         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1184         unused variable 'p'.
1186 2016-10-09  Alan Modra  <amodra@gmail.com>
1187             Andreas Schwab  <schwab@linux-m68k.org>
1189         [BZ #20554]
1190         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1191         [PIC && !SHARED]: Set up PIC register for PLT call.
1193 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1195         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1196         conditional on value of [__FLT_EVAL_METHOD__].
1197         * math/test-iseqsig-excess-precision.c: New file.
1198         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1200 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1202         * math/s_iseqsig_template.c: Include math-private.h.
1204         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1205         * posix/tst-posix_fadvise.c: New file.
1206         * posix/tst-posix_fadvise64.c: Likewise.
1207         * posix/tst-posix_fadvise-common.c: Likewise.
1208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1209         (__ASSUME_FADVISE64_64_6ARG): Define.
1210         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1211         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1212         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1213         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1214         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1215         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1216         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1217         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1218         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1219         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1220         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1221         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1227         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1228         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1229         Alias to __posix_fadvise64_l32.
1230         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1231         Add compat definition to posix_fadvise64.
1232         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1233         Add versioned definition to posix_fadvise64.
1234         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1235         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1236         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1237         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1238         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1240         * io/Makefile (tests): Add tst-posix_fallocate and
1241         tst-posix_fallocate64.
1242         * io/tst-posix_fallocate-common.c: New file.
1243         * io/tst-posix_fallocate.c: Likewise.
1244         * io/tst-posix_fallocate64.c: Likewise.
1245         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1246         file.
1247         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1250         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1253         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1254         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1255         SYSCALL_LL to pass both offset and len arguments.
1256         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1257         Likewise.
1258         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1259         __libc_pwrite64 alias used by posix_fallocate64.
1261         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1262         tst-fallocate64.
1263         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1264         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1265         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1266         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1267         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1268         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1269         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1270         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1271         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1272         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1273         macro on offset argument.
1274         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1275         SYSCALL_LL64 on offset argument.
1277         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1278         tst-fallocate64.
1279         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1280         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1281         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1282         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1283         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1284         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1285         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1286         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1287         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1288         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1289         macro on offset argument.
1290         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1291         SYSCALL_LL64 on offset argument.
1292         * test-skeleton.c (FAIL_RET): Add macro.
1293         (FAIL_EXIT): Likewise.
1294         (FAIL_EXIT1): Likewise.
1295         (_FAIL): Likewise.
1297 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1299         [BZ #20629]
1300         resolv: Remove RES_USEBSTRING and its implementation.
1301         * resolv/resolv.h (RES_USEBSTRING): Remove.
1302         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1303         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1304         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1305         (labellen): Remove extended label types support.
1306         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1307         * resolv/res_init.c (res_setoptions): Likewise.
1308         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1310 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1312         resolv: Remove RES_NOIP6DOTINT and its implementation.
1313         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1314         (RES_NOIP6DOTINT): Remove.
1315         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1316         handling.
1317         * resolv/res_debug.c (p_option): Likewise.
1318         * resolv/res_init.c (res_setoptions): Likewise.
1319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1321 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1323         resolv: Deprecate unimplemented flags.
1324         * misc/sys/cdefs.h (__glibc_macro_warning1)
1325         (__glibc_macro_warning): Define.
1326         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1327         (RES_KEEPTSIG): Mark as deprecated.
1328         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1329         RES_NOCHECKNAME, RES_KEEPTSIG.
1330         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1332 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1334         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1335         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1336         Use strong_alias to create symbols for glibc verison 2.19.
1338 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1340         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1342 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1344         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1346 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1348         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1350 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1353         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1354         in header for using it as type for ifunc function because __GI_* symbols
1355         for ppc32 do not target the ifunc symbols.
1356         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1358 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1360         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1361         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1362         libc_ifunc_hidden_def.
1363         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1364         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1365         Redirect ifunced function in header for using it as type of ifunc'ed
1366         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1367         function for __GI_* symbol.
1368         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1369         * include/libc-symbols.h
1370         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1372 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1374         [BZ #20478]
1375         * sysdeps/s390/multiarch/ifunc-resolve.h
1376         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1377         to create ifunc symbols.
1378         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1379         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1380         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1381         for using it as type for ifunc function.
1382         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1383         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1384         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1385         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1386         * sysdeps/s390/multiarch/strcat.c: Likewise.
1387         * sysdeps/s390/multiarch/strchr.c: Likewise.
1388         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1389         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1390         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1391         * sysdeps/s390/multiarch/strlen.c: Likewise.
1392         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1393         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1394         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1395         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1396         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1397         * sysdeps/s390/multiarch/strspn.c: Likewise.
1398         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1399         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1400         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1401         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1402         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1403         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1404         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1405         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1406         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1407         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1408         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1409         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1411 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1413         * include/libc-symbols.h (__ifunc_resolver):
1414         New macro is used by __ifunc* macros.
1415         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1416         depending on HAVE_GCC_IFUNC.
1417         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1418         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1420         Redirect ifunced function in header for using as type for ifunc function.
1421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1427         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1428         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1429         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1430         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1434         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1440         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1441         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1442         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1444         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1445         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1446         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1447         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1448         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1449         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1450         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1451         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1452         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1453         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1455         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1456         instead of libc_ifunc() macro.
1457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1460 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1462         * config.h.in (HAVE_GCC_IFUNC): New undef.
1463         * configure.ac: Add check if gcc supports attribute ifunc feature.
1464         * configure: Regenerated.
1465         * manual/install.texi: Add recommendation for gcc with
1466         indirect-function support.
1467         * INSTALL: Regenerated.
1469 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1471         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1472         macro.
1473         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1474         (__iseqsig): New declaration.
1475         * math/s_iseqsig_template.c: New file.
1476         * math/Versions (__iseqsigf): New libm symbol at version
1477         GLIBC_2.25.
1478         (__iseqsig): Likewise.
1479         (__iseqsigl): Likewise.
1480         * math/libm-test.inc (iseqsig_test_data): New array.
1481         (iseqsig_test): New function.
1482         (main): Call iseqsig_test.
1483         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1484         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1485         * manual/libm-err-tab.pl: Update comment on interfaces without
1486         ulps tabulated.
1487         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1488         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1489         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1490         * sysdeps/nacl/libm.abilist: Update.
1491         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1502         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1506         Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1508         Likewise.
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1510         Likewise.
1511         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1514         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1515         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1519         Likewise.
1520         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1521         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1522         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1524 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1526         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1527         do_sincos_2, sloww, sloww1): Update comments.
1529         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1530         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1532         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1533         K boolean and rename it.
1534         (__sin): Adjust.
1535         (__cos): Adjust.
1537 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1538             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1540         * manual/nss.texi: Fix typos in the manual.
1542 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1544         * manual/contrib.texi: Fix typos in the manual.
1546         * manual/maint.texi: Fix typos in the manual.
1548         * manual/install.texi: Fix typos in the manual.
1549         * INSTALL: Regenerated.
1551         * manual/lang.texi: Fix typos in the manual.
1553         * manual/probes.texi: Fix typos in the manual.
1555         * manual/threads.texi: Fix typos in the manual.
1557         * manual/debug.texi: Fix typos in the manual.
1559         * manual/crypt.texi: Fix typos in the manual.
1561         * manual/conf.texi: Fix typos in the manual.
1563         * manual/sysinfo.texi: Fix typos in the manual.
1565         * manual/users.texi: Fix typos in the manual.
1567         * manual/job.texi: Fix typos in the manual.
1569         * manual/process.texi: Fix typos in the manual.
1571         * manual/argp.texi: Fix typos in the manual.
1572         * manual/getopt.texi: Likewise.
1573         * manual/startup.texi: Likewise.
1575         * manual/signal.texi: Fix typos in the manual.
1577         * manual/setjmp.texi: Fix typos in the manual.
1579         * manual/resource.texi: Fix typos in the manual.
1581         * manual/time.texi: Fix typos in the manual.
1583         * manual/arith.texi: Fix typos in the manual.
1585         * manual/math.texi: Fix typos in the manual.
1587         * manual/syslog.texi: Fix typos in the manual.
1589         * manual/terminal.texi: Fix typos in the manual.
1591         * manual/socket.texi: Fix typos in the manual.
1593         * manual/filesys.texi: Fix typos in the manual.
1595         * manual/llio.texi: Fix typos in the manual.
1597         * manual/stdio.text: Fix typos in the manual.
1599 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1601         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1602         instead of K1.
1604         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1605         SHIFT_QUADRANT and make it bool.
1606         (do_sincos_2): Likewise.
1607         (sloww): Likewise.
1608         (sloww1): Likewise.
1609         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1610         (__cos): Likewise.
1612 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1614         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1616 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1618         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1619         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1620         0x7fffffffL].
1621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1623 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1625         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1626         inline by __inline__.
1627         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1628         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1629         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1630         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1631         sigset_t from signal.h.
1632         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1633         which is already required.
1635 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1637         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1639 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1641         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1642         (struct tcp_repair_window): New type.
1644 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1646         * libio/tst-memstream3.c: Include string.h.
1648 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1650         [BZ #18241]
1651         [BZ #20181]
1652         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1653         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1654         write position is at the end the buffer.
1655         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1656         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1657         (_IO_str_seekoff): Set correct offset from negative displacement and
1658         set EINVAL for invalid ones.
1659         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1660         buffer length.
1661         (_IO_wstr_switch_to_get_mode): New function.
1662         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1663         set EINVAL for invalid ones.
1664         * libio/tst-memstream3.c: New file.
1665         * libio/tst-wmemstream3.c: Likewise.
1666         * manual/examples/memstrm.c: Remove warning when priting size_t.
1668 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1670         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1671         macro to use __builtin_fma.
1672         * sysdeps/x86_64/fpu/dla.h: Remove file.
1674         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1675         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1676         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1678 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1680         [BZ #20292]
1681         * elf/Makefile (routines): Add dl-addr-obj.
1682         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1683         tst-_dl_addr_inside_object.
1684         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1685         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1686         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1687         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1688         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1689         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1690         * elf/dl-open.c: Likewise.
1691         * elf/dl-addr-obj.c: New file.
1692         * elf/tst-_dl_addr_inside_object.c: New file.
1694 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1696         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1697         <bits/iscanonical.h>.
1698         * bits/iscanonical.h: New file.
1699         * math/s_iscanonicall.c: Likewise.
1700         * math/Versions (__iscanonicall): New libm symbol at version
1701         GLIBC_2.25.
1702         * math/libm-test.inc (iscanonical_test_data): New array.
1703         (iscanonical_test): New function.
1704         (main): Call iscanonical_test.
1705         * math/Makefile (headers): Add bits/iscanonical.h.
1706         (type-ldouble-routines): Add s_iscanonicall.
1707         * manual/arith.texi (Floating Point Classes): Document
1708         iscanonical.
1709         * manual/libm-err-tab.pl: Update comment on interfaces without
1710         ulps tabulated.
1711         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1712         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1713         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1714         Likewise.
1715         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1716         test-iscanonical-ldbl-128ibm.
1717         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1718         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1719         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1720         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1721         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1722         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1723         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1725         Likewise.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1729         Likewise.
1730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1733         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1735 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1737         * string/bits/string3.h: Remove C++ style comments.
1739 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1741         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1742         instead of ternary condition.
1743         (do_sincos_2): Likewise.
1744         (__sin): Likewise.
1745         (__cos): Likewise.
1746         (slow): Likewise.
1747         (sloww): Likewise.
1748         (sloww1): Likewise.
1749         (bsloww): Likewise.
1750         (bsloww1): Likewise.
1752         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1753         instead of ternary condition.
1754         (do_sin_slow): Likewise.
1755         (do_sincos_1): Likewise.
1756         (do_sincos_2): Likewise.
1757         (__cos): Likewise.
1758         (sloww): Likewise.
1759         (sloww1): Likewise.
1760         (sloww2): Likewise.
1761         (bsloww): Likewise.
1762         (bsloww1): Likewise.
1763         (bsloww2): Likewise.
1765         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1766         check from here...
1767         (slow2): ... and here...
1768         (__sin): ... to here.
1770 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1772         * math/math.h
1773         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1774         Cast argument to its own type.
1775         * math/test-iszero-excess-precision.c: New file.
1776         * math/Makefile (tests): Add test-iszero-excess-precision.
1777         (CFLAGS-test-iszero-excess-precision.c): New variable.
1779 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1781         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1782         field, add err field.
1783         (__spawni_child): Report error through err member instead of pipe.
1784         (__spawnix): Likewise.
1786 2016-09-28  Zack Weinberg  <zackw@panix.com>
1788         * scripts/check-installed-headers.sh: Generalize treatment of
1789         sys/elf.h to all target architectures.
1791         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1792         deleted typedef ucontext_t.
1794 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1796         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1797         (__INTERNAL_SYSCALL1): Likewise.
1798         (__INTERNAL_SYSCALL2): Likewise.
1799         (__INTERNAL_SYSCALL3): Likewise.
1800         (__INTERNAL_SYSCALL4): Likewise.
1801         (__INTERNAL_SYSCALL5): Likewise.
1802         (__INTERNAL_SYSCALL6): Likewise.
1803         (__INTERNAL_SYSCALL7): Likewise.
1804         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1805         (__INTERNAL_SYSCALL_NARGS): Likewise.
1806         (__INTERNAL_SYSCALL_DISP): Likewise.
1807         (INTERNAL_SYSCALL_CALL): Likewise.
1808         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1809         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1810         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1811         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1812         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1813         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1814         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1815         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1816         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1817         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1818         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1819         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1820         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1822 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1824         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1825         macro.
1826         * math/libm-test.inc (iszero_test_data): New array.
1827         (iszero_test): New function.
1828         (main): Call iszero_test.
1829         * manual/arith.texi (Floating Point Classes): Document iszero.
1830         * manual/libm-err-tab.pl: Update comment on interfaces without
1831         ulps tabulated.
1833 2016-09-23  Zack Weinberg  <zackw@panix.com>
1835         * scripts/check-installed-headers.sh: New script.
1836         * Rules: In each directory that defines header files to be installed,
1837         run check-installed-headers.sh on them as a special test.
1838         * Makefile: Likewise for the headers installed at top level.
1840         * include/aliases.h, include/alloca.h, include/argz.h
1841         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1842         * include/elf.h, include/envz.h, include/err.h
1843         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1844         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1845         * include/link.h, include/malloc.h, include/mcheck.h
1846         * include/mntent.h, include/netinet/ether.h
1847         * include/nss.h, include/obstack.h, include/printf.h
1848         * include/pty.h, include/resolv.h, include/rpc/auth.h
1849         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1850         * include/rpc/clnt.h, include/rpc/des_crypt.h
1851         * include/rpc/key_prot.h, include/rpc/netdb.h
1852         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1853         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1854         * include/rpc/rpc_msg.h, include/rpc/svc.h
1855         * include/rpc/svc_auth.h, include/rpc/xdr.h
1856         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1857         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1858         * include/rpcsvc/ypupd.h, include/shadow.h
1859         * include/stdio_ext.h, include/sys/epoll.h
1860         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1861         * include/sys/prctl.h, include/sys/profil.h
1862         * include/sys/statfs.h, include/sys/sysctl.h
1863         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1864         * sysdeps/arm/nacl/include/bits/setjmp.h
1865         * sysdeps/mips/include/sys/asm.h
1866         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1867         * sysdeps/unix/sysv/linux/include/sys/timex.h
1868         * sysdeps/x86/fpu/include/bits/fenv.h:
1869         Add #ifndef _ISOMAC guard around internal declarations.
1870         Add multiple-inclusion guard if not already present.
1872 2016-09-23  Zack Weinberg  <zackw@panix.com>
1874         * sysdeps/generic/sys/ucontext.h
1875         * sysdeps/arm/sys/ucontext.h
1876         * sysdeps/i386/sys/ucontext.h
1877         * sysdeps/m68k/sys/ucontext.h
1878         * sysdeps/mips/sys/ucontext.h
1879         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1880         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1881         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1882         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1883         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1884         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1885         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1886         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1887         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1889         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1890         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1891         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1892         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1893         Include both bits/sigcontext.h and bits/sigstack.h.
1894         Fix grammar error in comment, if present.
1896         * bits/sigstack.h
1897         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1898         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1899         * sysdeps/unix/sysv/linux/bits/sigstack.h
1900         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1901         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1902         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1903         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1904         * bits/sigcontext.h
1905         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1906         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1907         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1908         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1909         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1910         as well as signal.h, if this was not already allowed.  Request
1911         definition of size_t if necessary.  Minimize semantically-null
1912         differences across files.
1914 2016-09-23  Zack Weinberg  <zackw@panix.com>
1916         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1917         Remove all logic conditional on __need macros.  Move all the
1918         conditionally defined types to their own headers...
1919         * time/bits/types/clock_t.h: Define clock_t here.
1920         * time/bits/types/clockid_t.h: Define clockid_t here.
1921         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1922         * time/bits/types/struct_timespec.h: Define struct timespec here.
1923         * time/bits/types/struct_timeval.h: Define struct timeval here.
1924         * time/bits/types/struct_tm.h: Define struct tm here.
1925         * time/bits/types/time_t.h: Define time_t here.
1926         * time/bits/types/timer_t.h: Define timer_t here.
1927         * time/Makefile: Install the new headers.
1929         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1930         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1931         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1932         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1933         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1934         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1935         * sysdeps/unix/sysv/linux/bits/resource.h
1936         * sysdeps/unix/sysv/linux/bits/timex.h
1937         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1938         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1939         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1940         * sysdeps/unix/sysv/linux/sys/acct.h
1941         * sysdeps/unix/sysv/linux/sys/timerfd.h
1942         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1943         * time/sys/time.h, time/sys/timeb.h
1944         Use the new bits/types headers.
1946         * include/time.h: Remove __need logic.
1947         * include/bits/time.h
1948         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1949         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1950         * include/bits/types/struct_itimerspec.h
1951         * include/bits/types/struct_timespec.h
1952         * include/bits/types/struct_timeval.h
1953         * include/bits/types/struct_tm.h:
1954         New wrapper headers.
1956 2016-09-23  Zack Weinberg  <zackw@panix.com>
1958         * sysdeps/mach/hurd/net/if_ppp.h
1959         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1960         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1961         if __USE_MISC is defined, to ensure struct ifreq is declared.
1963         * inet/netinet/ether.h: Condition all function prototypes
1964         on __USE_MISC, to ensure struct ether_addr is declared.
1966         * socket/bits/types/struct_osockaddr.h: New header.
1967         * include/bits/types/struct_osockaddr.h: New wrapper.
1968         * socket/Makefile: Install the new header.
1969         * socket/sys/socket.h, inet/protocols/talkd.h:
1970         Refer to bits/types/struct_osockaddr.h for the definition of
1971         struct osockaddr.
1973 2016-09-23  Zack Weinberg  <zackw@panix.com>
1975         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1976         * inet/protocols/routed.h, inet/protocols/talkd.h
1977         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1978         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1979         * sysdeps/generic/netinet/if_ether.h
1980         * sysdeps/generic/netinet/in_systm.h
1981         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1982         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1983         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1984         * sysdeps/mach/hurd/net/if_arp.h
1985         * sysdeps/mach/hurd/net/if_ppp.h
1986         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1987         * sysdeps/unix/sysv/linux/bits/in.h
1988         * sysdeps/unix/sysv/linux/net/ethernet.h
1989         * sysdeps/unix/sysv/linux/net/if_arp.h
1990         * sysdeps/unix/sysv/linux/net/if_ppp.h
1991         * sysdeps/unix/sysv/linux/net/if_shaper.h
1992         * sysdeps/unix/sysv/linux/net/route.h
1993         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1994         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1995         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1996         * sysdeps/unix/sysv/linux/netipx/ipx.h
1997         * sysdeps/unix/sysv/linux/sys/acct.h
1998         * include/arpa/nameser.h, include/resolv.h:
1999         Change all uses of u_char to unsigned char,
2000         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2001         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2002         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2003         and u_int64_t and u_quad_t to uint64_t.
2005         * mach/sys/reboot.h: Remove two casts of integer literals
2006         to the types they already have.
2008         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2009         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2010         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2011         from referring to 'unsigned char' to 'uint8_t' for consistency with
2012         the macro definition below.
2014         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2015         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2016         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2017         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2018         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2019         * sysdeps/unix/sysv/linux/sys/acct.h
2020         * include/arpa/nameser.h, include/resolv.h:
2021         Fix indentation disrupted by mechanical edits.
2023         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2024         * sysdeps/generic/netinet/in_systm.h
2025         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2026         * sysdeps/gnu/netinet/udp.h
2027         * sysdeps/unix/sysv/linux/net/ethernet.h
2028         * sysdeps/unix/sysv/linux/net/if_arp.h
2029         * sysdeps/unix/sysv/linux/net/if_ppp.h
2030         * sysdeps/unix/sysv/linux/net/if_shaper.h
2031         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2032         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2033         * sysdeps/unix/sysv/linux/netipx/ipx.h
2034         * sysdeps/unix/sysv/linux/sys/acct.h
2035         Include stdint.h for uintNN_t definitions.
2036         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2038 2016-09-23  Zack Weinberg  <zackw@panix.com>
2040         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2041         * sysdeps/unix/sysv/linux/netrose/rose.h:
2042         Include sys/socket.h and netax25/ax25.h.
2044         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2045         * resolv/arpa/nameser_compat.h:
2046         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2048         * sysdeps/unix/sysv/linux/sys/quota.h:
2049         Use __caddr_t instead of caddr_t.
2050         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2051         Use __clockid_t instead of clockid_t.
2053         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2055         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2056         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2057         expanding it.
2059         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2060         Define __glibc_c99_flexarr_available to 1 when the compiler
2061         supports C99-compatible flexible array members, 0 otherwise.
2062         * sysdeps/unix/sysv/linux/bits/socket.h
2063         * sysdeps/mach/hurd/bits/socket.h
2064         * bits/socket.h: Use __glibc_c99_flexarr_available in
2065         definitions of struct cmsghdr and CMSG_DATA.
2067 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2069         * manual/nss.texi (NSS Modules Interface): Adjust function return
2070         type to enum nss_status.  Document errnop argument.  Clarify
2071         h_errnop semantics.  Fix cross-reference formatting.
2072         (NSS Module Function Internals): Mention that *errnop needs to be
2073         set on failure, but not to zero.
2075 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2077         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2078         (get_random_name): New functions.
2079         (check_wrapper_flags_mode): Use linkat to give the new file a name
2080         determined by get_random_name.
2081         (do_test): Add calls to test open64 and openat64.
2083 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2085         * test-skeleton.c: Remove #include <stdarg.h>.
2087 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2089         [BZ #19826]
2090         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2091         initialization of static TLS entries.
2092         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2093         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2095 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2097         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2098         _hurd_malloc_fork_prepare.
2099         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2100         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2101         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2102         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2103         (_hurd_fork_child_hook): Drop malloc_fork_child.
2104         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2105         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2106         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2107         after locking locks (notably hurd_dtable_lock). Call
2108         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2109         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2110         __malloc_fork_unlock_child.
2111         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2113 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2115         * soft-fp/extendhftf2.c: New.
2116         * soft-fp/fixhfti.c: Likewise.
2117         * soft-fp/fixunshfti.c: Likewise.
2118         * soft-fp/floattihf.c: Likewise.
2119         * soft-fp/floatuntihf.c: Likewise.
2120         * soft-fp/half.h: Likewise.
2121         * soft-fp/trunctfhf2.c: Likewise.
2123 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2125         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2126         macro.
2127         * math/libm-test.inc (issubnormal_test_data): New array.
2128         (issubnormal_test): New function.
2129         * manual/arith.texi (Floating Point Classes): Document
2130         issubnormal.
2131         * manual/libm-err-tab.pl: Update comment on interfaces without
2132         ulps tabulated.
2134         * sysdeps/generic/stdint.h: Define
2135         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2136         <bits/libc-header-start.h> instead of including <features.h>.
2137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2170         * manual/arith.texi (Integers): Document these macros for types
2171         specified by width properties.
2172         * manual/lang.texi (Width of Type): Document these macros for
2173         other standard typedefs.
2174         * stdlib/tst-width-stdint.c: New file.
2175         * stdlib/Makefile (tests): Add tst-width-stdint.
2177 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2179         [BZ #20016]
2180         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2181         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2182         Move ...
2183         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2184         ... here, as compatibility symbols in a new file.
2185         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2186         * resolv/res_init.c (__res_vinit): Adjust member names.
2187         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2188         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2189         (res_send_rhook): Remove.
2190         (struct __res_state): Rename qhook, rhook members.
2192 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2194         malloc: Use __libc_lock wrappers.
2195         * malloc/arena.c (list_lock, free_list_lock): Define using
2196         __libc_lock_define_initialized.
2197         (arena_lock): Adjust formatting.
2198         * malloc/malloc.c (struct malloc_state): Define mutex using
2199         __libc_lock_define.
2200         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2201         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2202         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2203         (mutex_unlock, mutex_trylock): Remove.
2204         (__pthread_initialize): Remove unused macro.
2205         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2206         (mutex_unlock, mutex_trylock): Remove.
2208 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2210         [BZ #20592]
2211         Remove RR type classification macros.
2212         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2213         (ns_t_udp_p, ns_t_xfr_p): Remove.
2215 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2217         Remove misleading version information.
2218         * resolv/arpa/nameser.h (__NAMESER): Remove.
2219         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2221 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2223         Remove the always-defined BIND_4_COMPAT macro.
2224         * resolv/arpa/nameser.h: Unconditionally include
2225         <arpa/nameser_compat.h>.
2226         (BIND_4_COMPAT): Remove.
2227         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2229 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2231         [BZ #20591]
2232         Remove obsolete DNSSEC support.
2233         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2234         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2235         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2236         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2237         (ns_cert_types): Add comment.
2238         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2239         separately.
2240         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2241         (dst_s_dns_key_id): Remove.
2242         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2243         variables.
2245 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2247         [BZ #20524]
2248         * manual/string.texi (String/Array Comparison): Clarify the
2249         strverscmp behavior.
2251 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2253         * test-skeleton.c (xasprintf): Add function.
2254         * io/tst-open-tmpfile.c: New test.
2255         * io/Makefile (tests): Add it.
2257 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2259         Avoid running $(CXX) during build to obtain header file paths.
2260         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2261         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2262         * Makerules (cstdlib, cmath): Remove variables.  Use
2263         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2264         * configure: Regenerate.
2266 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2268         * Makeconfig (all-object-suffixes): Include .op only if
2269         $(build-profile).
2271 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2273         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2274         conditionals.  Do not define PATH_MAX.
2276 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2278         * posix/Makefile (tests): Add tst-spawn3.
2279         * posix/tst-spawn3.c: New file.
2280         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2281         if it is already opened for open action.
2283         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2284         all signals when executing the clone vfork child.
2285         (SIGALL_SET): Remove macro.
2287         * nptl/Makefile (tests): Add tst-exec5.
2288         * nptl/tst-exec5.c: New file.
2289         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2290         asynchronous cancellation.
2292 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2294         * hurd/exc2signal.c: #include <hurd/signal.h>
2295         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2296         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2297         accordingly.
2298         * mach/mach_error.c (mach_error): Fix old-style function definition.
2299         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2301 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2303         * math/Makefile (libm-calls): Remove s_nanF.
2304         (gen-libm-calls): Add s_nanF.
2306         * math/s_nan.c: Refactor into ...
2307         * math/s_nan_template.c: New file.
2309         * math/s_nanf.c: Removed.
2310         * math/s_nanl.c: Removed.
2311         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2312         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2314         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2315         (LDOUBLE_nanl_libm_version): New macro.
2317         * sysdeps/generic/math-type-macros-double.h:
2318         (M_STRTO_NAN): New macro.
2319         * sysdeps/generic/math-type-macros-float.h: Likewise.
2320         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2322         * sysdeps/generic/math-type-macros.h: Document
2323         M_STRTO_NAN.
2325 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2327         * math/s_nanf.c: Remove __nanf undef.
2328         * math/s_nan.c: Remove __nan undef.
2329         * math/s_nanl.c: Remove __nanl undef.
2331         * sysdeps/generic/math_private.h (__nan): Remove macro
2332         override.
2333         (__nanf): Likewise.
2334         (__nanl): Likewise.
2336 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2338         * math/Makefile (gen-all-calls): New variable.
2339         (generated): Replace gen-libm-calls with gen-all-calls.
2340         (gen-libm-templates.stmp): Likewise.  Also, ensure
2341         the output directory exists or is created and add
2342         dependency on the Makefile.
2343         (calls): Move s_ldexpF into gen-calls.
2344         (gen-calls): New variable.
2346         * math/s_ldexpf.c: Removed.
2347         * math/s_ldexpl.c: Removed.
2348         * math/s_ldexp.c: Refactored into ...
2349         * math/s_ldexp_template.c: New file.
2351         * sysdeps/generic/math-type-macros-double.h: Remove
2352         redundant fall-through definition of declare_mgen_alias.
2353         (declare_mgen_alias_2): New macro.
2355         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2356         New macro for function aliased to two exported symbols.
2358         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2359         new template file.
2360         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2362 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2364         * Makeconfig (all-object-suffixes): Remove .og.
2365         * Makerules (elide-routines.og): Remove.
2366         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2367         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2368         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2370 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2372         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2373         .os objects.
2375 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2377         [BZ #20615]
2378         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2379         fpu directory by non-fpu.
2380         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2381         on non-fpu directory from a fpu directory.
2383 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2385         * include/limits.h: Define
2386         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2387         <bits/libc-header-start.h> instead of including <features.h>.
2388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2399         * manual/lang.texi (Width of Type): Document these macros.
2400         * stdlib/tst-width.c: New file.
2401         * stdlib/Makefile (tests): Add tst-width.
2403 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2405         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2406         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2408 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2410         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2411         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2412         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2414 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2416         [BZ #18243]
2417         * rt/Makefile (test): Add tst-shm-cancel.
2418         * rt/tst-shm-cancel.c: New file.
2419         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2421         [BZ #18243]
2422         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2423         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2424         definition.
2425         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2426         uncontended case.
2427         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2428         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2429         (tf): Fix check for uncontended case.
2430         (do_test): Likewise.
2431         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2432         (tf): Fix check for uncontended case.
2433         (do_test): Likewise.
2434         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2435         (tf): Fix check for uncontended case.
2436         (do_test): Likewise.
2437         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2438         (tf): Fix check for uncontended case.
2439         (do_test): Likewise.
2441         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2442         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2444         [BZ #15765]
2445         * nptl/Makefile (tests): Add tst-sem16.
2446         * nptl/tst-sem16.c: New file.
2447         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2449         * nptl/sem_open.c (sem_open): Init pad value to 0.
2450         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2451         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2453 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2455         [BZ #20611]
2456         * inet/Makefile (routines): Add inet6_scopeid_pton.
2457         (tests): Add tst-inet6_scopeid_pton.
2458         * inet/inet6_scopeid_pton.c: New file.
2459         * inet/net-internal.h: Likewise.
2460         * inet/tst-inet6_scopeid_pton.c: New test.
2461         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2462         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2465 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2467         Remove support for compiling wrappers with PTW.
2468         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2469         * nptl/Makefile (pthread-compat-wrappers): Define.
2470         (libpthread-routines): Use pthread-compat-wrappers.
2471         * sysdeps/unix/sysv/linux/alpha/Makefile
2472         (libpthread-routines, libpthread-shared-only-routines): Remove
2473         ptw- prefix.
2474         * sysdeps/s390/nptl/Makefile
2475         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2476         * sysdeps/ia64/nptl/Makefile
2477         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2478         * sysdeps/nacl/Makefile (libpthread-routines): Use
2479         pthread-compat-wrappers to filter the routines list instead of the
2480         ptw- prefix.
2482 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2484         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2485         with L() and remove explicit suffix, convert real literals
2486         which can be equivalentally substituted with integers, and
2487         transform -L(x) to L(-x).
2489         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2492         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2493         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2494         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2495         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2496         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2497         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2498         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2499         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2500         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2502         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2503         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2504         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2505         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2506         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2507         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2508         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2509         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2510         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2511         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2515         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2516         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2517         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2520         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2521         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2522         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2523         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2524         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2525         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2526         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2527         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2529         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2530         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2531         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2532         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2533         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2534         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2535         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2536         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2537         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2538         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2540 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2542         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2544 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2546         * malloc/Makefile (tests): Remove individual static test names
2547         and just add all of tests-static.
2549         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2551 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2553         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2554         file.
2556         * sysdeps/sparc/fpu/fegetmode.c: New file.
2557         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2559         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2560         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2562         * sysdeps/s390/fpu/fegetmode.c: New file.
2563         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2565         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2566         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2567         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2568         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2569         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2570         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2572         * sysdeps/mips/fpu/fegetmode.c: New file.
2573         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2575         * sysdeps/m68k/fpu/fegetmode.c: New file.
2576         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2578         * sysdeps/ia64/fpu/fegetmode.c: New file.
2579         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2581         * sysdeps/hppa/fpu/fegetmode.c: New file.
2582         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2584         * sysdeps/arm/fegetmode.c: New file.
2585         * sysdeps/arm/fesetmode.c: Likewise.
2587         * sysdeps/alpha/fpu/fegetmode.c: New file.
2588         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2590         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2591         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2593         * math/fegetmode.c: New file.
2594         * math/fesetmode.c: Likewise.
2595         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2596         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2597         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2598         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2599         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2601         declaration.
2602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2603         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2604         typedef.
2605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2606         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2607         (femode_t): New typedef.
2608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2609         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2610         (femode_t): New typedef.
2611         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2612         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2613         (femode_t): New typedef.
2614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2615         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2616         (femode_t): New typedef.
2617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2618         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2619         (femode_t): New typedef.
2620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2621         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2622         (femode_t): New typedef.
2623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2624         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2625         (femode_t): New typedef.
2626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2627         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2628         (femode_t): New typedef.
2629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2630         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2631         (femode_t): New typedef.
2632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2633         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2634         (femode_t): New typedef.
2635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2636         declaration.
2637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2638         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2639         (femode_t): New typedef.
2640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2641         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2642         (femode_t): New typedef.
2643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2644         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2645         (femode_t): New typedef.
2646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2647         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2648         (femode_t): New typedef.
2649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2650         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2651         (femode_t): New typedef.
2652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2653         * manual/arith.texi (FE_DFL_MODE): Document macro.
2654         (fegetmode): Document function.
2655         (fesetmode): Likewise.
2656         * math/Versions (fegetmode): New libm symbol at version
2657         GLIBC_2.25.
2658         (fesetmode): Likewise.
2659         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2660         (tests): Add test-femode and test-femode-traps.
2661         * math/test-femode-traps.c: New file.
2662         * math/test-femode.c: Likewise.
2663         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2664         alias for __fe_dfl_env.
2665         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2666         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2667         (__fe_dfl_mode): Likewise.
2668         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2669         version GLIBC_2.25.
2670         * sysdeps/nacl/libm.abilist: Update.
2671         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2672         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2686         Likewise.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2690         Likewise.
2691         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2692         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2693         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2694         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2695         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2697         Likewise.
2698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2699         Likewise.
2700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2701         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2702         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2704 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2706         [BZ #20495]
2707         [BZ #20508]
2708         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2709         processors, set Use_dl_runtime_resolve_slow and set
2710         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2711         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2712         New.
2713         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2714         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2715         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2716         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2717         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2718         if Use_dl_runtime_resolve_opt is set.  Use
2719         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2720         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2721         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2722         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2723         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2724         New.
2725         (_dl_runtime_resolve_opt): Likewise.
2726         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2727         defined.
2729 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2731         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2732         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2734 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2736         Convert malloc to __libc_lock.  Automated part, using this Perl
2737         s/// command:
2738           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2739             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2740         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2741         conversion.
2743 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2745         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2746         (linknamespace-symlists-tests): Likewise.
2747         (linknamespace-header-tests): Likewise.
2749 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2751         [BZ #19810]
2752         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2753         * elf/tst-noload.c: New test case.
2754         * elf/Makefile (tests): Add tst-noload.
2756 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2758         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2760         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2761         not any more.
2763         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2765 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2767         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2768         (do_cos_slow): Likewise.
2769         (do_sin): Likewise.
2770         (do_sin_slow): Likewise.
2771         (slow): Likewise.
2772         (slow1): Likewise.
2773         (slow2): Likewise.
2774         (sloww): Likewise.
2775         (sloww1): Likewise.
2776         (sloww2): Likewise.
2777         (bsloww): Likewise.
2778         (bsloww1): Likewise.
2779         (bsloww2): Likewise.
2780         (cslow2): Likewise.
2782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2784         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2785         arguments.  Consolidate input partitioning from callers here.
2786         (do_cos_slow): Likewise.
2787         (do_sin): Likewise.
2788         (do_sin_slow): Likewise.
2789         (do_sincos_1): Remove the no longer necessary input partitioning.
2790         (do_sincos_2): Likewise.
2791         (__sin): Likewise.
2792         (__cos): Likewise.
2793         (slow1): Likewise.
2794         (slow2): Likewise.
2795         (sloww1): Likewise.
2796         (sloww2): Likewise.
2797         (bsloww1): Likewise.
2798         (bsloww2): Likewise.
2799         (cslow2): Likewise.
2801 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2803         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2804         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2805         outside of allocated array.
2807 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2809         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2810         instead of MB_CUR_MAX to avoid variable-length array.
2812 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2814         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2815         (type-double-routines): Add k_rem_pio2.
2816         (type-float-routines): Add k_rem_pio2f.
2818         * sysdeps/generic/math_private.h:
2819         (__kernel_rem_pio2l): Removed.
2821         * math/k_rem_pio2l.c: Removed.
2822         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2823         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2824         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2825         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2827 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2829         * math/Makefile (gen-libm-calls): Add s_fmin
2830         (libm-calls): Remove above.
2832         * math/s_fmin.c: Refactor into ...
2833         * math/s_fmin_template.c: New file.
2835         * math/s_fminf.c: Removed.
2836         * math/s_fminl.c: Removed.
2837         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2838         (LDOUBLE_fmin_libm_version): New macro.
2840         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2841         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2843 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2845         * math/Makefile: (gen-libm-calls): Add s_fmax.
2846         (libm-calls): Remove above.
2848         * math/s_fmax.c: Refactor into ...
2849         * math/s_fmax_template.c: New file.
2850         * math/s_fmaxf.c: Removed.
2851         * math/s_fmaxl.c: Removed.
2853         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2854         (LDOUBLE_fmaxl_libm_version): New macro.
2856         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2857         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2859         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2860         s_fmin.c to pick the aarch64 version of the file.
2861         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2862         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2864 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2866         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2867         (libm-calls): Remove above.
2869         * math/s_nextdown.c: Refactor into ...
2870         * math/s_nextdown_template.c: New file.
2871         * math/s_nextdownf.c: Removed.
2872         * math/s_nextdownl.c: Removed.
2874         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2876 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2878         * math/Makefile (gen-libm-calls): Add s_fdim.
2879         (libm-calls): Move to above.
2881         * math/s_fdim.c: Renamed and refactored into to ...
2882         * math/s_fdim_template.c: New file.
2883         * math/s_fdiml.c: Removed.
2884         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2885         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2887         * sysdeps/generic/math-type-macros-double.h:
2888         (declare_mgen_alias): Don't declare if already declared.
2889         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2890         Likewise.
2892         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2893         (declare_mgen_alias): Don't declare if already declared.
2894         (M_LIBM_NEED_COMPAT): Likewise.
2895         (declare_mgen_libm_compat): Likewise.
2896         (LDOUBLE_fdiml_libm_version): New macro.
2898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2899         Include math/s_fdim.c now that ldbl-opt version is not needed.
2900         (declare_mgen_alias): New macro to disable aliasing.
2902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2903         (declare_mgen_alias): Likewise.
2904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2905         (declare_mgen_alias): Likewise.
2906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2907         (declare_mgen_alias): Likewise.
2908         (M_LIBM_NEED_COMPAT): Likewise.
2910 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2912         [BZ #20525]
2913         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2914         Include <linux/quota.h>.
2915         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2916         and btodb.
2917         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2918         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2919         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2920         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2921         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2922         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2923         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2924         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2925         types.
2926         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2927         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2929 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2932         (gammal_positive): Fix spacing.
2933         (__ieee754_gammal_r): Likewise.
2935 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2937         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2938         (_Float128): Define as long double, always.
2939         (L): Apply long double type suffix, always.
2941         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2942         _Float128, excepting comments.
2944         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2956         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2958         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2965         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2980         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2982         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2984         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2985         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3000         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3001         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3002         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3003         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3010         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3013         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3014         _Float128, and include math_private.h.
3015         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3017         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3018         long double semantics.
3019         (_Float128): Likewise.
3020         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3021         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3022         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3023         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3025 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3027         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3028         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3029         * sysdeps/s390/configure: Regenerated.
3030         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3031         instruction for raising over-/underflow if z196 zarch is supported
3032         by default.
3033         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3035 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3037         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3038         it point to a dumb buffer for RPC to fill it.
3040 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3042         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3043         instead of if/else.
3044         (do_sin_slow): Likewise.
3045         (do_sincos_1): Use fabs instead of if/else.
3046         (do_sincos_2): Likewise.
3047         (__sin): Likewise.
3048         (__cos): Likewise.
3049         (slow2): Likewise.
3050         (sloww): Likewise.
3051         (sloww1): Likewise.  Drop argument M.
3052         (sloww2): Use fabs instead of if/else.
3053         (bsloww): Likewise.
3054         (bsloww1): Likewise.
3055         (bsloww2): Likewise.
3057         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3058         fall through comment.
3059         (do_sincos_1): Likewise.
3061         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3062         Consolidate switch cases 0 and 2.
3064 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3066         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3067         (libm-calls): Remove the above.
3069         * math/s_cexp_template.c: Update using type-generic macros.
3070         * math/s_clog10_template.c: Likewise.
3071         * math/s_cpow_template.c: Likewise.
3072         * math/s_clog_template.c: Likewise.
3073         * math/s_cproj_template.c: Likewise.
3074         * math/s_csqrt_template.c: Likewise.
3076         * math/s_cexp.c: Removed.
3077         * math/s_cexpf.c: Removed.
3078         * math/s_cexpl.c: Removed.
3079         * math/s_clog10.c: Removed.
3080         * math/s_clog10f.c: Removed.
3081         * math/s_clog10l.c: Removed.
3082         * math/s_cpow.c: Removed.
3083         * math/s_cpowf.c: Removed.
3084         * math/s_cpowl.c: Removed.
3085         * math/s_clog.c: Removed.
3086         * math/s_clogf.c: Removed.
3087         * math/s_clogl.c: Removed.
3088         * math/s_cproj.c: Removed.
3089         * math/s_cprojf.c: Removed.
3090         * math/s_cprojl.c: Removed.
3091         * math/s_csqrt.c: Removed.
3092         * math/s_csqrtf.c: Removed.
3093         * math/s_csqrtl.c: Removed.
3095         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3096         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3097         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3098         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3099         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3100         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3102         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3103         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3104         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3105         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3106         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3107         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3108         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3109         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3110         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3111         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3112         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3114         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3115         version.
3117         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3118         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3119         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3120         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3122 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3124         * s_cexp_template.c: Copy of s_cexp.c.
3125         * s_clog_template.c: Copy of s_clog.c.
3126         * s_clog10_template.c: Copy of s_clog10.c.
3127         * s_cpow_template.c: Copy of s_cpow.c.
3128         * s_cproj_template.c: Copy of s_cproj.c.
3129         * s_csqrt_template.c: Copy of s_csqrt.c.
3131 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3133         [BZ #20517]
3134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3135         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3136         exported.
3138 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3140         * math/fetestexceptflag.c: New file.
3141         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3142         Stefan Liebler.
3143         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3144         (fetestexceptflag): New function declaration.
3145         * manual/arith.texi (fetestexceptflag): Document function.
3146         * math/Versions (fetestexceptflag): New libm symbol at version
3147         GLIBC_2.25.
3148         * math/Makefile (libm-support): Add fetestexceptflag.
3149         (tests): Add test-fetestexceptflag.
3150         * math/test-fetestexceptflag.c: New file.
3151         * sysdeps/nacl/libm.abilist: Update.
3152         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3167         Likewise.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3171         Likewise.
3172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3178         Likewise.
3179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3180         Likewise.
3181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3185 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3187         [BZ #20432]
3188         Avoid strong references to malloc-internal symbols when linking
3189         statically, to support statically interposed mallocs.
3190         * include/libc-symbols.h (call_function_static_weak): New macro.
3191         * malloc/Makefile (tests): Add tst-interpose-nothread,
3192         tst-interpose-thread, tst-interpose-static-nothread,
3193         tst-interpose-static-thread.
3194         (tests-static): Add tst-interpose-static-nothread,
3195         tst-interpose-static-thread.
3196         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3197         tst-interpose-aux-thread.o.
3198         (test-extras): Add tst-interpose-aux-nothread,
3199         tst-interpose-aux-thread.
3200         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3201         tst-interpose-aux-nothread.o.
3202         (tst-interpose-thread, tst-interpose-static-thread): Link with
3203         tst-interpose-aux-thread.o and libthread.
3204         * malloc/tst-interpose-aux-nothread.c: New file.
3205         * malloc/tst-interpose-aux-thread.c: Likewise.
3206         * malloc/tst-interpose-aux.c: Likewise.
3207         * malloc/tst-interpose-aux.h: Likewise.
3208         * malloc/tst-interpose-nothread.c: Likewise.
3209         * malloc/tst-interpose-skeleton.c: Likewise.
3210         * malloc/tst-interpose-static-nothread.c: Likewise.
3211         * malloc/tst-interpose-static-thread.c: Likewise.
3212         * malloc/tst-interpose-thread.c: Likewise.
3213         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3214         * sysdeps/mach/hurd/fork.c (__fork): Only call
3215         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3216         __malloc_fork_unlock_child if defined.
3217         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3219 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3221         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3222         timespec C99 designated initialization.
3224 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3226         [BZ #19946]
3227         Avoid expected SIGALRM signals.
3228         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3229         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3230         (xpthread_create, xpthread_detach, xpthread_join)
3231         (delayed_exit_thread, delayed_exit): New functions.
3232         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3233         (tf): Use xpthread_cond_wait.
3234         (do_test): Likewise.  Replace alarm with delayed_exit.
3235         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3236         (do_test): Call delayed_exit.  Report failure.
3237         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3238         (do_test): Call delayed_exit.
3239         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3240         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3241         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3242         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3243         error.
3244         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3245         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3246         error.
3247         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3248         (do_test): Call delayed_exit.
3249         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3250         (do_test): Call delayed_exit.
3251         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3252         (do_test): Call delayed_exit instead of alarm.  Use
3253         xpthread_mutex_lock.
3254         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3255         (do_test): Call delayed_exit instead of alarm.  Use
3256         xpthread_mutex_lock.
3257         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3258         (do_test): Call delayed_exit instead of alarm.
3259         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3260         (do_test): Call delayed_exit instead of alarm.  Use
3261         xpthread_spin_lock.
3262         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3263         (do_test): Call delayed_exit instead of alarm.  Use
3264         xpthread_join.
3266 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3268         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3269         adjust CFA when allocating register save area on re-aligned
3270         stack.
3272 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3274         * string/tst-cmp.c: New test.
3275         * string/Makefile (tests): Add it.
3277 2016-08-25  Mark Wielaard  <mark@klomp.org>
3279         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3280         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3281         (check_tree_recurse): Use newly defined accessors.
3282         (check_tree): Likewise.
3283         (maybe_split_for_insert): Likewise.
3284         (__tfind): Likewise.
3285         (__tdelete): Likewise.
3286         (trecurse): Likewise.
3287         (tdestroy_recurse): Likewise.
3288         (__tsearch): Likewise. And add asserts for malloc alignment.
3289         (__twalk): Cast root to node in case CHECK_TREE is defined.
3291 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3293         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3295 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3297         * math/Makefile (libm-gen-calls): Add
3298         catan, catanh, ctan, ctanh.
3299         (libm-calls): Remove the above.
3301         * math/s_catan_template.c: Update using type-generic macros.
3302         * math/s_catanh_template.c: Likewise.
3303         * math/s_ctan_template.c: Likewise.
3304         * math/s_ctanh_template.c: Likewise.
3306         * math/s_catanf.c: Removed.
3307         * math/s_catan.c: Removed.
3308         * math/s_catanl.c: Removed.
3309         * math/s_catanhf.c: Removed.
3310         * math/s_catanh.c: Removed.
3311         * math/s_catanhl.c: Removed.
3312         * math/s_ctanf.c: Removed.
3313         * math/s_ctan.c: Removed.
3314         * math/s_ctanl.c: Removed.
3315         * math/s_ctanhf.c: Removed.
3316         * math/s_ctanh.c: Removed.
3317         * math/s_ctanhl.c: Removed.
3319         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3320         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3321         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3322         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3323         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3324         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3326         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3327         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3328         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3329         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3331 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3333         * s_catan_template.c: Copy of s_catan.c.
3334         * s_catanh_template.c: Copy of s_catanh.c.
3335         * s_ctan_template.c: Copy of s_ctan.c.
3336         * s_ctanh_template.c: Copy of s_ctanh.c.
3338 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3340         * math/Makefile (gen-libm-calls): Move
3341         casin, casinh, csin, csinh here.
3342         (libm-calls): Remove the above.
3344         * math/s_casin_template.c: Update using type-generic macros.
3345         * math/s_casinh_template.c: Likewise.
3346         * math/s_csin_template.c: Likewise.
3347         * math/s_csinh_template.c: Likewise.
3348         * math/k_casinh_template.c: Likewise.
3350         * math/s_casinf.c: Removed.
3351         * math/s_casin.c: Removed.
3352         * math/s_casinl.c: Removed.
3353         * math/s_casinh.c: Removed.
3354         * math/s_casinhf.c: Removed.
3355         * math/s_casinhl.c: Removed.
3356         * math/s_csin.c: Removed.
3357         * math/s_csinf.c: Removed.
3358         * math/s_csinl.c: Removed.
3359         * math/s_csinh.c: Removed.
3360         * math/s_csinhf.c: Removed.
3361         * math/s_csinhl.c: Removed.
3362         * math/k_casinh.c: Removed.
3363         * math/k_casinhf.c: Removed.
3364         * math/k_casinhl.c: Removed.
3366         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3367         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3368         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3369         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3371         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3372         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3373         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3374         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3375         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3376         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3377         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3378         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3380         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3381         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3382         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3383         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3385         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3386         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3387         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3388         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3390 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3392         * s_casin_template.c: Copy of s_casin.c.
3393         * s_casinh_template.c: Copy of s_casinh.c.
3394         * s_csin_template.c: Copy of s_csin.c.
3395         * s_csinh_template.c: Copy of s_csinh.c.
3396         * k_casinh_template.c: Copy of k_casinh.c.
3398 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3400         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3402 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3404         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3405         (mul_split) Remove, rename as mul_splitl, remove
3406         redundant float.h include, and include via mul_splitl.h
3408         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3409         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3410         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3411         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3412         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3414         * math/mul_splitl.h: New file.
3416         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3417         Move into mul_split.h, and remove redundant float.h include.
3419         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3420         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3422         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3424         * math/mul_split.h: New file.
3426 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3428         * math/Makefile (libm-gen-calls): Move
3429         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3430         (libm-calls): Remove above.
3432         * math/s_cacos_template.c: Update using type-generic macros.
3433         * math/s_cacosh_template.c: Likewise.
3434         * math/s_ccos_template.c: Likewise.
3435         * math/s_ccosh_template.c: Likwise.
3437         * math/s_cacosf.c: Removed.
3438         * math/s_cacos.c: Removed.
3439         * math/s_cacosl.c: Removed.
3440         * math/s_cacoshf.c: Removed.
3441         * math/s_cacosh.c: Removed.
3442         * math/s_cacoshl.c: Removed.
3443         * math/s_ccosf.c: Removed.
3444         * math/s_ccos.c: Removed.
3445         * math/s_ccosl.c: Removed.
3446         * math/s_ccoshf.c: Removed.
3447         * math/s_ccosh.c: Removed.
3448         * math/s_ccoshl.c: Removed.
3450         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3451         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3452         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3453         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3454         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3455         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3457         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3458         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3459         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3460         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3462         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3463         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3464         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3465         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3467 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3469         * s_cacos_template.c: Copy of s_cacos.c.
3470         * s_cacosh_template.c: Copy of s_cacosh.c.
3471         * s_ccos_template.c: Copy of s_ccos.c.
3472         * s_ccosh_template.c: Copy of s_ccosh.c.
3474 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3476         * stdlib/tst-strtod-round-skeleton.c:
3477         Refactored from tst-strtod-round.c.
3479         (L_): New macro to apply literal modifier.
3480         (FNPFX): New macro to select str or wcs prefix.
3481         (CHAR): New macro to choose wchar_t or char.
3482         (STRM): New macro to choose printf for tested character type.
3484         (STRTO): New macro to choose appropriate string -> real function.
3485         (FNPFXS): Stringitized version of FNPFX.
3486         (STR): Support for above macro.
3487         (STRX): Likewise.
3489         (TEST): Update with above macros.
3490         (test): Likewise.
3491         (GEN_ONE_TEST): Likewise.
3492         (test_in_one_mode): Likewise.
3494         * stdlib/tst-strtod-round.c: New file.
3495         * wcsmbs/tst-wcstod-round.c: New file.
3497         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3498         (tst-wcstod-round): Add libm depencency for fesetround.
3500 2016-08-19  Zack Weinberg  <zackw@panix.com>
3502         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3504 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3506         [BZ #20477]
3507         * resolv/res_hconf.c (do_init): Use atomic access.
3508         * resolv/res_hconf.h: Add comments.
3509         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3510         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3513 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3515         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3516         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3518         Likewise.
3520 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3522         [BZ #16907]
3523         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3524         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3525         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3526         (__attribute__): Remove definition.
3528 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3530         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3531         Remove unused sqrtl declaration.
3533 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3535         * math/Makefile: (gen-libm-templates.stmp): New rule.
3536         (libm-calls): Move carg conj cimag and cabs into ...
3537         (gen-libm-calls): New variable.
3538         (generated): Inform Make objects from gen-libm-calls
3539         may be generated.
3541         * sysdeps/generic/math-type-macros.h: New file.
3542         * sysdeps/generic/math-type-macros-float.h: Likewise.
3543         * sysdeps/generic/math-type-macros-double.h: Likewise.
3544         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3545         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3546         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3548         * math/cabs.c: Refactor into
3549         * math/cabs_template.c: new file.
3550         * math/cabsf.c: Removed.
3551         * math/cabsl.c: Removed.
3552         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3553         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3555         * math/carg.c: Refactor into
3556         * math/carg_template.c: new file.
3557         * math/cargf.c: Removed.
3558         * math/cargl.c: Removed.
3559         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3560         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3562         * math/conj.c: Refactor into
3563         * math/conj_template.c: new file.
3564         * math/conjf.c: Removed.
3565         * math/conjl.c: Removed.
3566         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3567         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3569         * math/cimag.c: Refactor into
3570         * math/cimag_template.c: new file.
3571         * math/cimagf.c: Removed.
3572         * math/cimagl.c: Removed.
3573         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3574         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3576         * math/cimag.c: Refactor into
3577         * math/cimag_template.c: new file.
3578         * math/cimagf.c: Removed.
3579         * math/cimagl.c: Removed.
3580         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3581         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3583 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3585         Reduce time to expected nptl/tst-once5 failure.
3586         * nptl/tst-once5.cc (TIMEOUT): Define.
3588 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3590         [BZ #20452]
3591         Avoid additional copies of objects in libc.a in static libraries.
3592         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3593         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3594         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3595         rt-sysdep.
3596         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3597         Add nptl-sysdep.
3598         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3599         Add ptw-sysdep.
3600         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3601         rt-sysdep.
3602         * sysdeps/unix/sysv/linux/alpha/Makefile
3603         (libpthread-shared-only-routines): Add ptw-sysdep,
3604         ptw-sigprocmask, ptw-rt_sigaction.
3605         * sysdeps/unix/sysv/linux/ia64/Makefile
3606         (librt-shared-only-routines): Add rt-sysdep.
3607         * sysdeps/unix/sysv/linux/i386/Makefile
3608         (libpthread-shared-only-routines): Add libc-do-syscall.
3609         * sysdeps/unix/sysv/linux/microblaze/Makefile
3610         (libpthread-shared-only-routines): Add sysdep.
3611         * sysdeps/unix/sysv/linux/powerpc/Makefile
3612         (librt-shared-only-routines): Add rt-sysdep.
3613         (libpthread-shared-only-routines): Add sysdep.
3614         * sysdeps/unix/sysv/linux/s390/Makefile
3615         (librt-shared-only-routines): Add rt-sysdep.
3616         * sysdeps/unix/sysv/linux/sparc/Makefile
3617         (librt-shared-only-routines): Add rt-sysdep.
3618         (libpthread-shared-only-routines): Add sysdep.
3619         * sysdeps/unix/sysv/linux/tile/Makefile
3620         (libpthread-shared-only-routines): Likewise.
3622 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3624         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3625         Mask implicit bit out of unpacked value.
3626         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3630         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3632         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3634         * sysdeps/s390/fpu/fesetexcept.c: New file.
3636         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3637         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3640         * sysdeps/mips/fpu/fesetexcept.c: New file.
3642         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3644         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3646         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3648         * sysdeps/arm/fesetexcept.c: New file.
3650         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3652         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3654         * math/fesetexcept.c: New file.
3655         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3656         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3657         * math/fenv.h: Define
3658         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3659         <bits/libc-header-start.h> instead of including <features.h>.
3660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3661         declaration.
3662         * manual/arith.texi (fesetexcept): Document function.
3663         * math/Versions (fesetexcept): New libm symbol at version
3664         GLIBC_2.25.
3665         * math/Makefile (libm-support): Add fesetexcept.
3666         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3667         * math/test-fesetexcept.c: New file.
3668         * math/test-fesetexcept-traps.c: Likewise.
3669         * sysdeps/nacl/libm.abilist: Update.
3670         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3671         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3672         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3673         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3674         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3675         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3676         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3677         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3678         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3679         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3681         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3683         Likewise.
3684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3685         Likewise.
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3687         Likewise.
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3689         Likewise.
3690         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3691         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3692         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3694         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3703 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3705         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3706         New.
3707         (do_test): Apply default_stack_size_in_mb if not set.
3708         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3710 2016-08-15  Andreas Schwab  <schwab@suse.de>
3712         [BZ #20435]
3713         CVE-2016-6323
3714         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3715         as .cantunwind.
3717 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3719         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3720         comment from fraiseexcpt.c.
3722         * math/test-fexcept.c (feraiseexcept_exact): New function.
3723         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3724         (test_except): Likewise.
3726 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3728         [BZ #20455]
3729         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3730         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3731         to be restored.
3733         * math/test-fexcept-traps.c: New file.
3734         * math/test-fexcept.c: Likewise.
3735         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3736         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3737         macro.
3738         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3739         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3741 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3743         * include/atomic.h (atomic_fetch_and_relaxed,
3744         atomic_fetch_and_release, atomic_fetch_or_release,
3745         atomic_fetch_xor_release): New.
3747 2016-08-06  Christian Seiler  <christian@iwakd.de>
3749         [BZ #20444]
3750         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3751         MACH_PORT_NULL.
3753 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3755         * math/s_fdim.c: Avoid alias renamed.
3756         * math/s_fdimf.c: Likewise.
3757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3758         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3759         Add s_fdimf-vis3, s_fdim-vis3.
3760         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3761         (CFLAGS-s_fdim-vis3.c): Likewise.
3762         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3763         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3765 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3768         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3769         Remove s_fdimf-vis3, s_fdim-vis3.
3770         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3771         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3778         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3779         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3781 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3783         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3784         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3785         -Wa,-Av9a -mvis.
3787 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3789         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3790         LIT() to individual constants in simple expressions
3791         after splitting on spaces.
3792         (_apply_lit): Rename replaced version, and use it to
3793         apply to what appears to be a token.
3795         * math/libm-test.inc: Fix many, many issues with
3796         spacing.
3798 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3800         * math/math.h: Move comment about <bits/mathdef.h> definitions
3801         above inclusion of <bits/mathdef.h>.  Do not mention
3802         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3804 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3806         * include/atomic.h (atomic_exchange_relaxed): New.
3808 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3810         * math/e_scalb.c: Do not include <fenv.h>.
3811         (invalid_fn): Do calculation resulting in NaN instead of raising
3812         FE_INVALID and returning a NaN explicitly.
3813         * math/e_scalbf.c: Do not include <fenv.h>.
3814         (invalid_fn): Do calculation resulting in NaN instead of raising
3815         FE_INVALID and returning a NaN explicitly.
3816         * math/e_scalbl.c: Do not include <fenv.h>.
3817         (invalid_fn): Do calculation resulting in NaN instead of raising
3818         FE_INVALID and returning a NaN explicitly.
3820 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3822         * po/de.po: Updated from Translation Project.
3823         * po/fi.po: Likewise.
3824         * po/sv.po: Likewise.
3826 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3828         [BZ #20452]
3829         Use sysdep.o from libc.a in static libraries.
3830         * sysdeps/unix/sysv/linux/i386/Makefile
3831         (libpthread-shared-only-routines): Add sysdep.
3832         (librt-shared-only-routines): Likewise.
3834 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3836         * math/tgmath.h (nextdown): Define if
3837         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3838         (nextup): Likewise.
3840         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3841         macro.
3842         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3843         Document.
3844         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3845         Document macro.
3846         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3847         (exp10f): Likewise.
3848         (exp10l): Likewise.
3849         * math/bits/mathcalls.h (exp10): Declare if
3850         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3852         * manual/arith.texi (nextup): Fix typo in last change.
3854 2016-08-03  Zack Weinberg  <zackw@panix.com>
3856         [BZ #19239]
3857         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3858         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3859         define major, minor, and makedev to issue deprecation warnings on use.
3860         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3861         previously-activated deprecation warnings for these macros and prevent
3862         subsequent inclusions of this header from having any effect.
3863         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3864         including <sys/sysmacros.h>, and undefine it again afterward.
3866 2016-08-03  Zack Weinberg  <zackw@panix.com>
3868         * sysdeps/generic/sys/sysmacros.h: Delete file.
3869         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3870         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3871         * bits/sysmacros.h: ... here; this encoding is now the generic
3872         encoding.  Now defines only the following macros:
3873         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3874         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3875         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3877         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3878         bits/sysmacros.h and the above new macros to generate the
3879         public implementations of major, minor, and makedev.
3880         * misc/tst-makedev.c: New test.
3881         * include/sys/sysmacros.h: New wrapper.
3883         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3884         (routines): Add makedev.
3885         (tests): Add tst-makedev.
3886         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3887         gnu_dev_makedev.
3888         * posix/Makefile (headers): Remove sys/sysmacros.h.
3889         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3891         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3892         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3893         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3894         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3895         * sysdeps/unix/sysv/linux/arm/libc.abilist
3896         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3897         * sysdeps/unix/sysv/linux/i386/libc.abilist
3898         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3899         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3900         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3901         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3902         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3906         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3911         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3912         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3913         * sysdeps/unix/sysv/linux/sh/libc.abilist
3914         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3918         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3919         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3920         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3921         Add GLIBC_2.25.
3923         * include/features.h (__glibc_clang_prereq): New macro.
3924         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3925         (__attribute_deprecated_msg__): New macros.
3927 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3929         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3930         macro.
3931         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3932         * manual/arith.texi (issignaling): Document as ISO from TS
3933         18661-1:2014.
3934         (nextup): Likewise.
3935         (nextupf): Likewise.
3936         (nextupl): Likewise.
3937         (nextdown): Likewise.
3938         (nextdownf): Likewise.
3939         (nextdownl): Likewise.
3940         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3941         macro.
3942         * math/math.h: Define
3943         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3944         <bits/libc-header-start.h> instead of including <features.h>.
3945         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3946         [__USE_GNU].
3947         * math/bits/mathcalls.h (nextdown): Declare if
3948         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3949         (nextup): Likewise.
3950         (__issignaling): Likewise.
3952 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3954         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3955         check, and remove __glibc_likely hint
3956         from FP_INFINITE check.
3957         * s_csinhf.c (__csinhf): Likewise.
3959         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3960         hint from FP_INFINITE check.
3961         * s_csinhl.c (__csinhl): Likewise.
3963 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3965         * math/Makefile (libm-calls): Insert F placeholder into
3966         object names.  Move w_lgamma_compat* routines into
3967         (libm-compat-calls): New variable.
3968         (libm-compat-calls-ldouble-yes): New variable.
3969         (calls): Insert F placeholder.
3970         (generated): Redefine using new type-foreach macro call.
3971         (routines): Likewise.
3973         (types): New variable to hold a list of symbolic names
3974         for each type supported by the target machine.
3975         (libm-routines): Redefine using new types variable.
3976         (type-foreach): macro to replace fooF with the
3977         appropriately suffixed foo for each types.
3979         (type-ldouble-suffix): New variable.
3980         (type-ldouble-routines): Likewise.
3981         (type-ldouble-yes): Likewise.
3982         (type-double-suffix): Likewise.
3983         (type-double-routines): Likewise.
3984         (type-float-suffix): Likewise.
3985         (type-float-routines): Likewise.
3987         (dbl-only-routines): Remove.
3988         (long-c-yes): Likewise.
3989         (long-m-routines): Likewise.
3990         (long-m-support): Likewise.
3991         (long-m-yes): Likewise.
3992         (test-longdouble-yes): Likewise.
3994         (test-float.o): Simplify by increasing the scope of the
3995         recipe which adds libm-test.stmp to the vector types.
3996         (test-ifloat.o): Likewise.
3997         (test-float-finite.o): Likewise.
3998         (test-double.o): Likewise
3999         (test-idouble.o): Likewise.
4000         (test-double-finite.o): Likewise.
4001         (test-ldouble.o): Likewise
4002         (test-ildoubl.o): Likewise.
4003         (test-ldouble-finite.o): Likewise.
4005         (libm-tests): Redefine type tests using foreach and the
4006         list of types in types.
4008         (CPPFLAGS-test-ildoubl.c): Rename to
4009         (CPPFLAGS-test-ildouble.c): New variable
4011         * math/test-ildoubl.c: Rename to
4012         * math/test-ildouble.c: New file.
4014 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4016         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4017         Use fabsl instead of fabs.
4018         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4019         Likewise.
4020         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4021         Add long double suffix to constant to ensure proper
4022         promotion to long double.
4024 2016-08-03  Tom Tromey  <tom@tromey.com>
4026         [BZ #20311]
4027         * nptl_db/Makefile (headers): Add proc_service.h.
4028         * nptl_db/proc_service.h: Add include guard.  Use
4029         __BEGIN/__END_DECLS.
4030         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4031         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4032         arguments.
4035 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4037         [BZ #17730]
4038         Avoid using memalign for TCB allocations.
4039         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4040         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4041         Avoid alignment gap in the TLS_DTV_AT_TP case.
4042         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4043         determine the pointer to free.
4044         * nptl/tst-tls3-malloc.c: New test.
4045         * nptl/Makefile (tests): Add it.
4046         (tst-tls3-malloc): Link with libdl, libpthread.
4047         (LDFLAGS-tst-tls3-malloc): Set.
4048         (tst-tls3-malloc.out): Depend on DSO used in test.
4050 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4052         [BZ #17730]
4053         Avoid using memalign for TLS allocations.
4054         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4055         is_static member with to_free member.
4056         (union dtv): Use struct dtv_pointer.
4057         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4058         dtv_pointer instead of is_static.
4059         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4060         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4061         instead of val.
4062         (allocate_dtv_entry): New function.
4063         (allocate_and_init): Return struct dtv_pointer.  Call
4064         allocate_dtv_entry instead of __libc_memalign.
4065         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4066         instead of val.
4067         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4068         instead of is_static.  Adjust call to allocate_and_init.
4069         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4070         struct dtv_pointer instead of val.
4072 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4074         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4075         (MALLOC_ALIGN_MASK): Move ...
4076         * malloc/malloc-internal.h: ... to here.
4077         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4079 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4081         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4082         (UDP_ENCAP_GTP1U): Likewise.
4084         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4085         (PF_MAX): Update value.
4086         (AF_QIPCRTR): New macro.
4088 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4090         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4091         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4092         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4094         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4095         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4096         s_truncf-vis3, s_trunc-vis3.
4097         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4098         (CFLAGS-s_ceil-vis3.c): Likewise.
4099         (CFLAGS-s_floorf-vis3.c): Likewise.
4100         (CFLAGS-s_floor-vis3.c): Likewise.
4101         (CFLAGS-s_truncf-vis3.c): Likewise.
4102         (CFLAGS-s_trunc-vis3.c): Likewise.
4103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4111         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4112         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4113         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4114         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4116 2016-08-02  David S. Miller  <davem@davemloft.net>
4118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4119         (__nearbyint_vis3): Don't check for sNaN before float register is
4120         loaded with the incoming argument.
4121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4122         (__nearbyintf_vis3): Likewise.
4123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4124         Likewise.
4125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4126         Likewise.
4128         * string/test-strncmp.c (do_test_limit): Make sure the test data
4129         stream is aligned as required for the type "CHAR".
4130         (do_test): Likewise.
4132 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4134         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4135         by beq instructions jumping to the end of the function.
4136         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4137         clobber list. Use "i" constraint instead of "X".
4138         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4139         of "X".
4141 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4143         * bits/libc-header-start.h: New file.
4144         * Makefile (headers): Add bits/libc-header-start.h.
4145         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4146         (__GLIBC_USE): New macro.
4147         * libio/stdio.h: Define
4148         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4149         <bits/libc-header-start.h> instead of including <features.h>.
4150         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4151         (open_memstream): Likewise.
4152         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4153         (__asprintf): Likewise.
4154         (asprintf): Likewise.
4155         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4156         (getdelim): Likewise.
4157         (getline): Likewise.
4158         * string/string.h: Define
4159         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4160         <bits/libc-header-start.h> instead of including <features.h>.
4161         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4162         (strndup): Likewise.
4163         * wcsmbs/wchar.h: Define
4164         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4165         <bits/libc-header-start.h> instead of including <features.h>.
4166         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4167         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4169 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4171         Support linking against compatibility symbols, for use in tests.
4172         * include/libc-symbols.h (symbol_version_reference): New macro.
4173         (symbol_version): Use it.
4174         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4175         (compat_symbol): Use compat_symbol_reference.
4176         (compat_symbol_1, compat_symbol_2): Remove.
4177         (compat_symbol_reference, compat_symbol_reference_1)
4178         (compat_symbol_reference_2): New macro.  Use
4179         symbol_version_reference.
4181 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4183         [BZ #19469]
4184         * malloc/Makefile (CPPFLAGS): Compile tests with
4185         -DTEST_NO_MALLOPT.
4186         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4188 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4190         [BZ #20033]
4191         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4192         finite version.
4193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4195         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4196         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4197         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4199         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4207         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4210         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4211         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4212         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4213         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4214         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4215         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4216         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4217         in zero power.
4219 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4221         [BZ #20370]
4222         * malloc/arena.c (get_free_list): Update comment.  Assert that
4223         arenas on the free list have no attached threads.
4224         (remove_from_free_list): New function.
4225         (reused_arena): Call it.
4227 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4229         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4230         when it is a NaN.
4231         [_IEEE_FP_INEXACT] Remove.
4232         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4233         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4234         when it is a NaN.
4235         [_IEEE_FP_INEXACT] Remove.
4236         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4237         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4238         when it is a NaN.
4239         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4240         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4241         when its absolute value is greater than 0x1.0p52.
4242         [_IEEE_FP_INEXACT] Remove.
4243         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4244         when its absolute value is greater than 0x1.0p23.
4245         [_IEEE_FP_INEXACT] Remove.
4247 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4249         * version.h (RELEASE): Set to "development"
4250         (VERSION): Set to 2.24.90.
4251         * NEWS: Add 2.25 section.
4253         * version.h (RELEASE): Set to "stable"
4254         (VERSION): Set to 2.24.
4255         * include/features.h (__GLIBC_MINOR__): Set to 24.
4257         * NEWS: Add 2.24 fixed bugs.
4258         * po/libc.pot: Regenerate.
4260 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4263         [$(subdir) = math] (libm-sysdep_routines): Remove.
4264         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4265         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4266         s_truncf-vis3, s_trunc-vis3.
4267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4269         file.
4270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4303         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4304         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4305         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4306         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4307         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4308         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4309         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4310         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4311         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4312         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4314 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4316         [BZ #20384]
4317         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4318         test-double-libmvec-sincos-avx-main.o,
4319         test-double-libmvec-sincos-avx2-main.o,
4320         test-double-libmvec-sincos-main.o,
4321         test-float-libmvec-sincosf-avx-main.o,
4322         test-float-libmvec-sincosf-avx2-main.o and
4323         test-float-libmvec-sincosf-main.o.
4324         test-float-libmvec-sincosf-avx512-main.o.
4325         ($(objpfx)test-double-libmvec-sincos): Also link with
4326         $(objpfx)test-double-libmvec-sincos-main.o.
4327         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4328         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4329         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4330         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4331         ($(objpfx)test-float-libmvec-sincosf): Also link with
4332         $(objpfx)test-float-libmvec-sincosf-main.o.
4333         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4334         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4335         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4336         test-double-libmvec-sincos-avx512-main.o and
4337         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4338         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4339         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4340         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4341         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4342         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4343         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4344         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4345         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4346         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4347         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4348         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4349         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4350         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4351         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4352         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4353         -DREQUIRE_AVX2.
4354         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4355         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4356         -DREQUIRE_AVX512F.
4357         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4358         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4359         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4360         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4361         file.
4362         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4363         Likewise.
4364         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4365         Likewise.
4366         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4367         Likewise.
4368         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4369         Likewise.
4370         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4371         Likewise.
4372         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4373         Likewise.
4374         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4375         Likewise.
4377 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4379         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4381 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4383         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4384         and typo in a comment about AT_HWCAP entry.
4386 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4388         * sysdeps/aarch64/libm-test-ulps: Updated.
4390 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4392         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4393         of r13 as it is not restored in mvcle case.
4395 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4397         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4398         Rename "ret" to "__ret".
4399         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4400         inline_syscall5, inline_syscall6): Likewise.
4402 2016-07-19   Will Newton  <will.newton@gmail.com>
4404         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4405         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4406         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4407         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4408         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4410 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4412         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4413         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4414         -mfpmath=387 with $(rtld-CFLAGS).
4415         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4416         $(rtld-CFLAGS).
4418 2016-07-18   Ross Burton  <ross.burton@intel.com>
4419              Khem Raj  <raj.khem@gmail.com>
4421         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4422         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4423         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4424         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4425         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4426         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4427         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4428         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4429         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4430         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4431         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4432         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4433         R_METAG_TLS_DTPOFF): New.
4435 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4436             Matt Clay  <mclay@lycos.com>
4438         [BZ #20357]
4439         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4440         to call __mpsin/__mpcos and to negate values.
4441         * math/auto-libm-test-in: Add test.
4442         * math/auto-libm-test-out: Regenerate.
4444 2016-07-18  Zack Weinberg  <zackw@panix.com>
4446         * grp/Makefile: Don't install the internal header grp-merge.h.
4448 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4450         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4452 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4454         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4456 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4458         [BZ #15368]
4459         * sysdeps/unix/sysv/linux/nptl-signals.h
4460         (__nptl_clear_internal_signals): New function.
4461         (__libc_signal_block_all): Likewise.
4462         (__libc_signal_block_app): Likewise.
4463         (__libc_signal_restore_set): Likewise.
4464         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4465         implementation.
4466         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4467         the cached pid/tid value in pthread structure.
4469 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4471         [BZ #20347]
4472         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4474 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4476         [BZ #20348]
4477         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4478         preadv64, pwrite64 and pwritev64.
4480 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #20350]
4483         * posix/tst-preadwrite.c: Renamed to ...
4484         * posix/tst-preadwrite-common.c: This.
4485         (PREAD): Removed.
4486         (PWRITE): Likewise.
4487         (STRINGIFY): Likewise.
4488         (STRINGIFY2): Likewise.
4489         (do_prepare): Make it static and remove function arguments.
4490         (do_test): Likewise.
4491         (PREPARE): Updated.
4492         (TEST_FUNCTION): New.
4493         (name): Make it static.
4494         (fd): Likewise.
4495         (do_prepare): Use create_temp_file.
4496         (do_test): Renamed to ...
4497         (do_test_with_offset): This.  Make it static and accept offset.
4498         Properly check return value of PWRITE and PREAD.  Return bytes
4499         read.  Don't close fd nor unlink name.
4500         * posix/tst-preadwrite.c: Rewrite.
4501         * posix/tst-preadwrite64.c: Likewise.
4503 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4505         [BZ #20309]
4506         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4507         -mtls-dialect=gnu2 works.
4508         * configure: Regenerated.
4509         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4510         (tests): Add tst-gnu2-tls1.
4511         (modules-names): Add tst-gnu2-tls1mod.
4512         ($(objpfx)tst-gnu2-tls1): New.
4513         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4514         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4515         * elf/tst-gnu2-tls1.c: New file.
4516         * elf/tst-gnu2-tls1mod.c: Likewise.
4517         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4518         bytes for push in the PLT entry to align the stack.
4520 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4522         [BZ #20349]
4523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4525 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4527         [BZ #18707]
4528         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4529         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4531 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4533         * sysdeps/unix/sysv/linux/sysdep.h
4534         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4535         guards.
4536         * misc/tst-preadvwritev-common.c: New file.
4537         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4538         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4539         a check for files larger than 2GB.
4541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4542         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4543         * sysdeps/unix/sysv/linux/pread.c
4544         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4545         __OFF_T_MATCHES_OFF64_T.
4546         * sysdeps/unix/sysv/linux/pread64.c
4547         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4548         * sysdeps/unix/sysv/linux/preadv.c
4549         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4550         * sysdeps/unix/sysv/linux/preadv64.c
4551         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4552         * sysdeps/unix/sysv/linux/pwrite.c
4553         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4554         * sysdeps/unix/sysv/linux/pwrite64.c
4555         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4556         * sysdeps/unix/sysv/linux/pwritev.c
4557         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4558         * sysdeps/unix/sysv/linux/pwritev64.c
4559         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4561 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4563         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4564         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4566 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4568         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4570 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4572         [BZ #20240]
4573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4574         (CFLAGS-s_modf-ppc32.c): New variable.
4575         (CFLAGS-s_modff-ppc32.c): Likewise.
4576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4577         (CFLAGS-s_modf-ppc64.c): Likewise.
4578         (CFLAGS-s_modff-ppc64.c): Likewise.
4580 2016-07-07  Andreas Schwab  <schwab@suse.de>
4582         [BZ #20263]
4583         * nptl/tst-robust10.c: New test.
4584         * nptl/Makefile (tests): Add tst-robust10.
4586 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4588         [BZ #20263]
4589         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4591 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4593         * sysdeps/s390/linkmap.h (struct link_map_machine):
4594         Remove member gotplt and add member jmprel.
4595         * sysdeps/s390/s390-32/dl-machine.h
4596         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4597         instead of gotplt with &got[3].
4598         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4599         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4601 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4603         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4605 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4607         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4608         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4609         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4610         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4611         * libio/vtables.c (_IO_vtable_check)
4612         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4613         * libio/libioP.h (IO_set_accept_foreign_vtables)
4614         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4616 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4618         [BZ #20314]
4619         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4620         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4621         $(common-objpfx)cmath.
4622         ($(common-objpfx)cstdlib): New target.
4623         ($(common-objpfx)cmath): Likewise.
4625 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4627         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4629 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4631         [BZ #20327]
4632         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4633         are not part of the string.
4635 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4637         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4638         * nptl/tst-cancel4-common.h (fifoname): New variable.
4639         (fifofd): Likewise.
4640         (cl_fifo): New function.
4641         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4642         SIGINT.
4643         (tf_open): Add early cancel test.
4645 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4647         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4649 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4651         * sysdeps/generic/ldsodefs.h
4652         (dl_symbol_visibility_binds_local_p): New inline function.
4653         * elf/dl-addr.c (determine_info): Treat hidden and internal
4654         symbols as local.
4655         * elf/dl-lookup.c (do_lookup_x): Likewise.
4656         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4658 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4660         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4661         invalid exception for a sNaN input.
4662         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4663         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4664         (__nearbyint_vis3): Likewise
4665         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4666         (__nearbyintf_vis3): Likewise
4667         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4668         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4669         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4670         Likewise.
4671         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4672         Likewise.
4674 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4676         [BZ #20139]
4677         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4678         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4679         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4680         2.24 or above.
4681         (HAVE_AVX512_ASM_SUPPORT): Removed.
4682         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4683         * sysdeps/x86_64/configure: Regenerated.
4684         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4685         check unconditional.
4686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4687         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4688         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4689         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4690         Likewise.
4691         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4692         Likewise.
4693         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4694         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4695         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4696         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4697         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4698         Likewise.
4699         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4700         Likewise.
4701         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4703         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4704         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4705         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4706         Likewise.
4707         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4708         Likewise.
4709         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4710         Likewise.
4711         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4712         Likewise.
4713         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4714         Likewise.
4715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4716         Likewise.
4717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4718         Likewise.
4719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4720         Likewise.
4721         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4722         Likewise.
4723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4724         Likewise.
4725         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4726         Likewise.
4728 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4730         [BZ #20024]
4731         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4733         of this implementation of vector function.
4734         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4735         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4737         Likewise.
4738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4740         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4741         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4742         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4743         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4744         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4745         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4746         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4747         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4749         for testing vector sincos with fixed ABI.
4750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4751         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4752         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4753         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4754         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4755         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4756         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4757         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4758         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4759         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4760         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4761         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4762         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4763         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4764         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4765         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4767 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4769         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4771 2016-06-30  Anton Blanchard  <anton@samba.org>
4773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4774         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4775         s_sinf-ppc64.
4776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4779         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4781 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4785         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4786         e_expf-ppc64.
4787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4790         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4792 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4794         [BZ #20277]
4795         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4796         when SHARED is defined.
4798 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4800         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4801         (index_arch_Prefer_ERMS): Likewise.
4802         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4803         __memcpy_erms for Prefer_ERMS.
4804         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4805         (__memmove_erms): Enabled for libc.a.
4806         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4807         __memmove_erms or Prefer_ERMS.
4808         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4809         __mempcpy_erms for Prefer_ERMS.
4810         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4811         __memset_erms for Prefer_ERMS.
4813 2016-06-30  Andreas Schwab  <schwab@suse.de>
4815         [BZ #20262]
4816         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4817         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4818         of memory.
4820 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4822         [BZ #18645]
4823         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4824         (test-extras): Add tst-cleanupx4aux.
4825         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4826         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4827         tst-cleanupx4aux.o.
4828         * nptl/tst-cleanupx4aux.c: New file.
4830 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4832         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4834 2016-06-29  Andreas Schwab  <schwab@suse.de>
4836         [BZ #20260]
4837         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4838         address before the beginning of the string as an integer to avoid
4839         array-bounds warning.
4841 2016-06-28  Richard Henderson  <rth@redhat.com>
4843         * elf/elf.h (EM_BPF): New.
4844         (EM_NUM): Update.
4845         (R_BPF_NONE, R_BPF_MAP_FD): New.
4847         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4848         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4849         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4850         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4851         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4852         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4853         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4854         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4855         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4856         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4857         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4858         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4859         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4860         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4861         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4862         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4863         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4864         (EM_NUM): Update.
4866 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4868         [BZ #18960]
4869         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4870         Set _nl_current_LC_CATEGORY_used to two instead of one.
4872 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4874         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4875         (do_test): ... this.
4876         (TEST_FUNCTION): New macro.
4877          Include test-skeleton.c.
4878         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4879         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4881 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4883         [BZ #15479]
4884         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4885         floating-point environment rather than just control word.
4886         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4887         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4888         floating-point environment, with "invalid" exceptions merged in,
4889         rather than just control word.
4890         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4891         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4892         "inexact" exceptions.
4894         [BZ #15479]
4895         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4896         floating-point environment rather than just control word.
4897         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4898         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4899         floating-point environment, with "invalid" exceptions merged in,
4900         rather than just control word.
4901         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4902         * math/libm-test.inc (floor_test_data): Do not allow spurious
4903         "inexact" exceptions.
4905         [BZ #15479]
4906         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4907         floating-point environment rather than just control word.
4908         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4909         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4910         floating-point environment, with "invalid" exceptions merged in,
4911         rather than just control word.
4912         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4913         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4914         "inexact" exceptions.
4916 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4918         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4919         __libc_vfork.
4920         (__vfork) [IS_IN (libc)]: Remove alias.
4921         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4922         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4923         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4925 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4927         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4928         of atomic_compare_and_exchange_bool_rel.
4929         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4930         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4931         catomic_compare_and_exchange_bool_rel): Remove.
4932         * sysdeps/aarch64/atomic-machine.h
4933         (atomic_compare_and_exchange_bool_rel): Likewise.
4934         * sysdeps/alpha/atomic-machine.h
4935         (atomic_compare_and_exchange_bool_rel): Likewise.
4936         * sysdeps/arm/atomic-machine.h
4937         (atomic_compare_and_exchange_bool_rel): Likewise.
4938         * sysdeps/mips/atomic-machine.h
4939         (atomic_compare_and_exchange_bool_rel): Likewise.
4940         * sysdeps/microblaze/atomic-machine.h
4941         ( __arch_compare_and_exchange_bool_8_rel,
4942         __arch_compare_and_exchange_bool_16_rel): Likewise.
4943         * sysdeps/powerpc/atomic-machine.h
4944         ( __arch_compare_and_exchange_bool_8_rel,
4945         __arch_compare_and_exchange_bool_16_rel): Likewise.
4946         * sysdeps/powerpc/powerpc32/atomic-machine.h
4947         ( __arch_compare_and_exchange_bool_32_rel,
4948         __arch_compare_and_exchange_bool_64_rel): Likewise.
4949         * sysdeps/powerpc/powerpc64/atomic-machine.h
4950         ( __arch_compare_and_exchange_bool_32_rel,
4951         __arch_compare_and_exchange_bool_64_rel): Likewise.
4952         * sysdeps/tile/atomic-machine.h
4953         (atomic_compare_and_exchange_bool_rel): Likewise.
4955 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4957         [BZ #20296]
4958         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4959         when either argument is a NaN.
4960         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4961         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4963         * math/libm-test.inc (snan_value_ld): New macro.
4964         (isgreater_test_data): Add sNaN tests.
4965         (isgreaterequal_test_data): Likewise.
4966         (isless_test_data): Likewise.
4967         (islessequal_test_data): Likewise.
4968         (islessgreater_test_data): Likewise.
4969         (isunordered_test_data): Likewise.
4970         (nextafter_test_data): Likewise.
4971         (nexttoward_test_data): Likewise.
4972         (remainder_test_data): Likewise.
4973         (remquo_test_data): Likewise.
4974         (significand_test_data): Likewise.
4975         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4977 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4979         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4980         environment macros are defined.
4981         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4983 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4985         [BZ #20191]
4986         Implement vtable verification in libio.
4987         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4988         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4989         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4990         _IO_new_file_init_internal instead of _IO_file_init.
4991         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4992         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4993         * libio/Makefile (routines): Add vtables.
4994         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4995         (_IO_init): Remove, not for internal use.
4996         (_IO_init_internal): Declare, internal replacement for _IO_init.
4997         (_IO_file_init): Remove, not for internal use.
4998         (_IO_new_file_init): Remove, not for internal use.
4999         (_IO_new_file_init_internal): Declare, internal replacement for
5000         _IO_new_file_init.
5001         (_IO_old_file_init): Remove, not for internal use.
5002         (_IO_old_file_init_internal): Declare, internal replacement for
5003         _IO_old_file_init.
5004         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5005         internal use.
5006         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5007         Declare.
5008         (libio_vtable): New macro.
5009         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5010         functions.
5011         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5012         _IO_new_file_init.
5013         (_IO_new_file_init): New externally visible wrapper which disables
5014         vtable verification.
5015         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5016         Define as vtables.
5017         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5018         (_IO_init): New externally visible wrapper which disables
5019         vtable verification.
5020         * libio/iofdopen.c (_IO_new_fdopen): Call
5021         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5022         comment.
5023         * libio/iofopen.c (__fopen_internal): Call
5024         _IO_new_file_init_internal instead of _IO_file_init.
5025         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5026         Define as vtables.
5027         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5028         _IO_new_file_init_internal instead of _IO_file_init.
5029         * libio/iopopen.c (_IO_new_popen): Likewise.
5030         (_IO_proc_jumps): Define as vtable.
5031         * libio/iovdprintf.c (_IO_vdprintf): Call
5032         _IO_new_file_init_internal instead of _IO_file_init.
5033         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5034         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5035         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5036         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5037         _IO_old_file_init.
5038         (_IO_old_file_init): New externally visible wrapper which disables
5039         vtable verification.
5040         (_IO_old_file_jumps): Define as vtable.
5041         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5042         _IO_old_file_init_internal instead of _IO_old_file_init.
5043         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5044         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5045         (_IO_old_proc_jumps): Define as vtable.
5046         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5047         Define as vtables.
5048         * libio/vtables.c: New file.
5049         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5050         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5051         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5052         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5053         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5054         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5055         instead of _IO_init.
5057 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5059         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5061 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5063         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5064         potentially unused.
5066 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5068         * test-skeleton.c (write_message): New function.
5069         * malloc/tst-mallocfork2.c (write_message): Remove.
5070         * debug/tst-longjmp_chk2.c (write_indented): New function.
5071         (write_message): Remove.
5072         (stackoverflow_handler): Call write_indented.
5074 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5076         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5077         "inexact" exceptions after fnstenv.
5078         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5079         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5080         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5082 2015-06-22  Zack Weinberg  <zackw@panix.com>
5084         * sysdeps/generic/bits/hwcap.h: Moved to ...
5085         * bits/hwcap.h: Here.
5087 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5089         * sysdeps/aarch64/memcpy.S (memcpy):
5090         Further tuning for performance.
5092 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5094         [BZ #20284]
5095         * malloc/arena.c (reused_arena): Do not return NULL if we start
5096         out with a non-corrupted arena.
5098 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5100         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5101         * misc/tst-preadvwritev.c: New file.
5102         * misc/tst-preadvwritev64.c: Likewise.
5103         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5104         usage.
5105         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5106         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5107         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5108         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5110 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5112         [BZ #19654]
5113         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5114         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5115         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5116         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5117         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5118         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5119         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5120         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5121         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5122         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5123         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5124         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5125         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5126         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5127         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5128         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5129         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5130         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5131         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5132         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5133         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5134         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5135         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5136         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5137         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5138         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5140 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5142         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5143         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5145 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5147         * sysdeps/aarch64/memcpy.S (memcpy):
5148         Rewrite of optimized memcpy and memmove.
5149         * sysdeps/aarch64/memmove.S (memmove): Remove
5150         memmove code (merged into memcpy.S).
5152 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5154         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5155         * sysdeps/generic/dl-dtv.h: New file.
5156         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5157         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5158         (dtv_t): Remove.
5159         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5160         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5161         (dtv_t): Remove.
5162         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5163         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5164         (dtv_t): Remove.
5165         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5166         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5167         (dtv_t): Remove.
5168         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5169         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5170         (dtv_t): Remove.
5171         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5172         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5173         (dtv_t): Remove.
5174         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5175         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5176         (dtv_t): Remove.
5177         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5178         (dtv_t): Remove.
5179         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5180         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5181         (dtv_t): Remove.
5182         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5183         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5184         (dtv_t): Remove.
5185         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5186         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5187         (dtv_t): Remove.
5188         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5189         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5190         (dtv_t): Remove.
5191         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5192         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5193         (dtv_t): Remove.
5194         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5195         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5196         (dtv_t): Remove.
5197         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5198         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5199         (dtv_t): Remove.
5200         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5201         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5202         (dtv_t): Remove.
5204 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5206         Revert symbol poisoning of  __malloc_initialize_hook.
5207         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5208         poisoning.
5209         * malloc/Makefile: Remove un-poisoning.
5210         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5211         instead of old__malloc_initialize_hook.
5212         * malloc/malloc-hooks.h: Likewise.
5213         * malloc/malloc.c: Likewise.
5214         * malloc/mcheck-init.c: Likewise.
5216 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5218         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5220 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5222         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5223         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5224         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5225         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5227 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5229         * NEWS: Mention addition of nextup and nextdown.
5230         * manual/arith.texi: Document nextup and nextdown.
5231         * manual/libm-err-tab.pl: Add nextup and nextdown.
5232         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5233         * math/Versions (libm): Add GLIBC_2.24.
5234         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5235         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5236         Add new test.
5237         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5238         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5239         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5240         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5241         (nextup_test_data): Likewise.
5242         (nextdown_test_data): Likewise.
5243         * math/s_nextdown.c: New file.
5244         * math/s_nextdownf.c: Likewise.
5245         * math/s_nextdownl.c: Likewise.
5246         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5247         F(nextup): New function.
5248         F(nextdown): Likewise.
5249         * math/tgmath.h: Add nextup and nextdown.
5250         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5251         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5252         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5253         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5254         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5255         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5256         Add nextup and nextdown.
5257         (CFLAGS-nldbl-nextup.c): New variable.
5258         (CFLAGS-nldbl-nextdown.c): Likewise.
5259         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5260         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5261         * sysdeps/nacl/libm.abilist: Update.
5262         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5263         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5264         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5265         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5266         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5269         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5270         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5271         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5272         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5273         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5276         Likewise.
5277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5286         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5287         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5289         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5291 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5293         * manual/pattern.texi: Fix typos & grammar errors.
5295 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5297         * manual/search.texi: Fix typos & grammar errors.
5299 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5301         * manual/message.texi: Fix typos & grammar errors.
5303 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5305         * manual/contrib.texi: Fix spelling typos.
5306         * manual/crypt.texi: Likewise.
5307         * manual/filesys.texi: Likewise.
5308         * manual/locale.texi: Likewise.
5309         * manual/message.texi: Likewise.
5310         * manual/nss.texi: Likewise.
5311         * manual/string.texi: Likewise.
5313 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5315         * manual/locale.texi: Fix typos & grammar errors.
5317 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5319         * manual/charset.texi: Fix typos & grammar errors.
5321 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5323         * manual/string.texi: Fix typos.
5325 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5327         * manual/ctype.texi: Fix typos.
5329 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5331         * manual/memory.texi: Fix various typos & grammar errors.
5333 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5335         [BZ #20255]
5336         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5337         * math/libm-test.inc (fdim_test_data): Add another test.
5339         [BZ #6796]
5340         [BZ #20255]
5341         [BZ #20256]
5342         * math/s_fdim.c: Include <math_private.h>.
5343         (__fdim): Use math_narrow_eval on result.
5344         * math/s_fdimf.c: Include <math_private.h>.
5345         (__fdimf): Use math_narrow_eval on result.
5346         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5347         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5348         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5349         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5350         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5351         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5352         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5353         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5354         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5355         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5356         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5357         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5358         overflow.  Add sNaN tests.
5360         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5361         fpclassify.
5362         * math/s_fdimf.c (__fdimf): Likewise.
5363         * math/s_fdiml.c (__fdiml): Likewise.
5365 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5367         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5368         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5370         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5371         ifunc'ed strcasecmp/strncasecmp.
5372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5373         [EALIGN]: Removed.
5374         [END]: Likewise.
5375         [__strcasecmp]: Define instead of the above to control symbol name.
5376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5377         for __strcasecmp_power8.
5378         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5379         for __strncasecmp_power8.
5380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5382         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5383         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5384         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5385         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5387 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #20252]
5390         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5391         arguments when second argument is a NaN.
5392         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5393         qNaN tests.
5395         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5396         (conj_test_data): Likewise.
5397         (copysign_test_data): Likewise.
5398         (creal_test_data): Likewise.
5399         (fma_test_data): Likewise.
5400         (fmod_test_data): Likewise.
5402         [BZ #20250]
5403         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5404         itself.
5405         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5406         zero input to itself.
5407         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5408         Likewise.
5409         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5410         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5411         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5412         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5413         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5415 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5417         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5418         * nptl/tst-cancel4-common.c: New file.
5419         * nptl/tst-cancel4-common.h: Likewise.
5420         * nptl/tst-cancel4.c: Move common definitions to
5421         tst-cancel4-common.{c,h} file.
5422         * nptl/tst-cancel4_1.c: New test.
5423         * nptl/tst-cancel4_2.c: New test.
5425 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5427         [BZ #20248]
5428         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5429         (write_message): New function.
5430         (stackoverflow_handler): Call it instead of printf, to avoid
5431         excessive stack usage by printf.
5432         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5434 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5436         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5437         (prio_inherit_missing): Remove define.
5438         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5439         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5443         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5444         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5445         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5447         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5449 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5451         [BZ #19670]
5452         [BZ #19672]
5454         * io/test-lfs.c (do_prepare): Use xmalloc.
5455         * io/tst-fcntl.c (do_prepare): Likewise.
5456         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5457         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5458         * login/tst-utmp.c (do_prepare): Likewise.
5459         * posix/tst-exec.c (do_prepare): Likewise.
5460         * posix/tst-pathconf.c (prepare): Likewise.
5461         * posix/tst-spawn.c (do_prepare): Likewise.
5462         * posix/tst-truncate.c (do_prepare): Likewise.
5463         * rt/tst-aio.c (do_prepare): Likewise.
5464         * rt/tst-aio64.c (do_prepare): Likewise.
5466 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5468         [BZ #20237]
5469         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5470         (get*ent): Set entidx to NULL during initialization.  If entidx is
5471         NULL, start iteration from the beginning.
5473 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5475         * malloc/malloc.c (musable): Return correct size for dumped fake
5476         mmapped chunk.
5478 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5480         [BZ #20222]
5481         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5482         (_IO_cookie_write): Likewise.
5483         (_IO_cookie_seek): Likewise.
5484         (_IO_cookie_close): Likewise.
5485         (_IO_old_cookie_seek): Likewise.
5486         (set_callbacks): New function.
5487         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5489 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5491         * locale/programs/localedef.c (oldstyle_tables): Remove.
5492         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5494 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #20240]
5497         * math/Makefile (CFLAGS-s_modf.c): New variable.
5498         (CFLAGS-s_modff.c): Likewise.
5499         (CFLAGS-s_modfl.c): Likewise.
5500         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5502 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5504         [BZ #20215]
5505         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5506         [!__GNUC_PREREQ (3,2)]: Likewise.
5508 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5510         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5511         (msghdr.msg_controllen): Likewise.
5512         (cmsghdr.cmsg_len): Likewise.
5513         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5514         ptw-oldsendmsg.
5515         (CFLAGS-oldrecvmsg.c): Remove rule.
5516         (CFLAGS-oldsendmsg.c): Likewise.
5517         (CFLAGS-recvmsg.c): Add rule.
5518         (CFLAGS-sendmsg.c): Likewise.
5519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5520         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5521         (CFLAGS-recvmsg.c): Remove rule.
5522         (CFLAGS-sendmsg.c): Likewise.
5523         (CFLAGS-oldrecvmsg.c): Likewise.
5524         (CFLAGS-oldsendmsg.c): Likewise.
5525         (CFLAGS-recvmmsg.c): Likewise.
5526         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5527         to kernel defined interfaces.
5528         (msghdr.msg_controllen): Likewise.
5529         (cmsghdr.cmsg_len): Likewise.
5530         (msghdr.__glibc_reserved1): Remove member.
5531         (msghdr.__glibc_reserved2): Likewise.
5532         (cmsghdr.__glibc_reserved1): Likewise.
5533         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5534         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5535         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5536         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5537         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5538         version.
5539         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5540         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5541         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5542         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5543         Remove recvmsg and sendmsg.
5544         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5545         Likewise.
5546         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5547         Likewise.
5548         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5549         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5550         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5551         Likewise.
5552         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5555         [libc] (GLIBC_2.24): Likewise.
5556         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5559         Likewise.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5561         [libc] (GLIBC_2.24): Likewise.
5562         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5563         Likewise.
5564         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5565         Likewise.
5566         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5567         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5568         Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5570         Likewise.
5571         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5572         Likewise.
5573         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5574         Likewise.
5575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5576         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5577         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5578         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5579         version for {recv,send,recm,sendm}msg.
5580         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5581         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5582         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5583         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5584         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5585         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5586         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5587         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5588         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5590         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5595         Likewise.
5596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5598         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5599         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5600         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5601         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5603         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5607         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5608         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5610 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5612         [BZ #19564]
5613         Remove __malloc_initialize_hook from the API.
5614         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5615         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5616         #pragma GCC poison.
5617         * malloc/malloc-hooks.h: New file.
5618         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5619         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5620         (old__malloc_initialize_hook): Rename from
5621         __malloc_initialize_hook to evade poisoning.  Turn into compat
5622         symbol.
5623         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5624         __malloc_initialize_hook.
5625         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5626         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5627         * manual/memory.texi (Hooks for Malloc): Remove
5628         __malloc_initialize_hook.  Adjust hook example.
5630 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #20235]
5633         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5634         itself.
5635         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5636         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5638         [BZ #20234]
5639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5640         infinity or NaN input to itself.
5642         [BZ #20233]
5643         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5644         to itself.
5646         [BZ #20232]
5647         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5648         itself.
5650 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5652         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5653         __libc_start_main via GOT.
5655 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5657         * sysdeps/x86_64/memcopy.h: New file.
5658         * sysdeps/x86_64/wordcopy.c: Likewise.
5660 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5662         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5663         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5664         <cstdlib>.
5665         (optimization_barrier): New.
5666         (do_test): Use it.  Call quick_exit in the global namespace.
5667         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5668         instead of <cstdlib>, <thread>.
5669         (optimization_barrier): New.
5670         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5671         Call quick_exit in the global namespace.
5672         (do_test): Call optimization_barrier.  Use pthread_create,
5673         pthread_join instead of std::thread.
5675 2016-06-09  Andreas Schwab  <schwab@suse.de>
5677         [BZ #19755]
5678         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5679         new entries in auto-propagate mode.
5680         * nscd/grpcache.c (cache_addgr): Likewise.
5682 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5684         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5685         New functions.
5686         (add_temp_file): Use them.
5688 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5690         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5692 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5694         [BZ #20229]
5695         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5696         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5697         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5699         [BZ #20228]
5700         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5701         itself.
5702         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5703         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5705         [BZ #20227]
5706         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5707         itself.
5708         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5709         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5710         * math/libm-test.inc (log_test_data): Add sNaN tests.
5712         [BZ #20226]
5713         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5714         itself.
5715         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5716         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5717         (exp10_test_data): Likewise.
5718         (expm1_test_data): Likewise.
5720         [BZ #20225]
5721         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5722         itself.
5723         * math/s_ldexpf.c (__ldexpf): Likewise.
5724         * math/s_ldexpl.c (__ldexpl): Likewise.
5725         * math/w_scalbln.c (__w_scalbln): Likewise.
5726         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5727         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5728         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5729         (scalbln_test_data): Likewise.
5731         [BZ #20224]
5732         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5733         argument to itself.
5734         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5736 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5738         [BZ #19776]
5739         * sysdeps/x86_64/memcpy.S: Make it dummy.
5740         * sysdeps/x86_64/mempcpy.S: Likewise.
5741         * sysdeps/x86_64/memmove.S: New file.
5742         * sysdeps/x86_64/memmove_chk.S: Likewise.
5743         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5744         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5745         * sysdeps/x86_64/memmove.c: Removed.
5746         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5747         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5748         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5749         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5750         Likewise.
5751         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5752         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5754         memcpy-sse2-unaligned, memmove-avx-unaligned,
5755         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5757         (__libc_ifunc_impl_list): Replace
5758         __memmove_chk_avx512_unaligned_2 with
5759         __memmove_chk_avx512_unaligned.  Remove
5760         __memmove_chk_avx_unaligned_2.  Replace
5761         __memmove_chk_sse2_unaligned_2 with
5762         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5763         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5764         with __memmove_avx512_unaligned.  Replace
5765         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5766         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5767         with __memcpy_chk_avx512_unaligned.  Remove
5768         __memcpy_chk_avx_unaligned_2.  Replace
5769         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5770         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5771         Replace __memcpy_avx512_unaligned_2 with
5772         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5773         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5774         with __mempcpy_chk_avx512_unaligned.  Remove
5775         __mempcpy_chk_avx_unaligned_2.  Replace
5776         __mempcpy_chk_sse2_unaligned_2 with
5777         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5778         Replace __mempcpy_avx512_unaligned_2 with
5779         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5780         Replace __mempcpy_sse2_unaligned_2 with
5781         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5782         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5783         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5784         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5785         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5786         (ENTRY): Removed.
5787         (END): Likewise.
5788         (ENTRY_CHK): Likewise.
5789         (libc_hidden_builtin_def): Likewise.
5790         Don't include ../memcpy.S.
5791         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5792         __memcpy_chk_avx512_unaligned_erms and
5793         __memcpy_chk_avx512_unaligned.  Use
5794         __memcpy_chk_avx_unaligned_erms and
5795         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5796         Default to __memcpy_chk_sse2_unaligned.
5797         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5798         Change function suffix from unaligned_2 to unaligned.
5799         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5800         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5801         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5802         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5803         (ENTRY): Removed.
5804         (END): Likewise.
5805         (ENTRY_CHK): Likewise.
5806         (libc_hidden_builtin_def): Likewise.
5807         Don't include ../mempcpy.S.
5808         (mempcpy): New.  Add a weak alias.
5809         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5810         __mempcpy_chk_avx512_unaligned_erms and
5811         __mempcpy_chk_avx512_unaligned.  Use
5812         __mempcpy_chk_avx_unaligned_erms and
5813         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5814         Default to __mempcpy_chk_sse2_unaligned.
5816 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5818         [BZ #19881]
5819         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5820         into ...
5821         * sysdeps/x86_64/memset.S: This.
5822         (__bzero): Removed.
5823         (__memset_tail): Likewise.
5824         (__memset_chk): Likewise.
5825         (memset): Likewise.
5826         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5827         defined.
5828         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5829         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5830         (__memset_zero_constant_len_parameter): Check SHARED instead of
5831         PIC.
5832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5833         memset-avx2 and memset-sse2-unaligned-erms.
5834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5835         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5836         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5837         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5838         (__bzero): Enabled.
5839         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5840         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5841         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5842         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5843         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5844         (memset): Removed.
5845         (__memset_chk): Likewise.
5846         (MEMSET_SYMBOL): New.
5847         (libc_hidden_builtin_def): Replace __memset_sse2 with
5848         __memset_sse2_unaligned.
5849         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5850         __memset_chk_sse2 and __memset_chk_avx2 with
5851         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5852         Use __memset_chk_sse2_unaligned_erms or
5853         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5854         __memset_chk_avx512_unaligned_erms and
5855         __memset_chk_avx512_unaligned.
5857 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5859         * math/gen-auto-libm-test.c (fp_format_desc): remove
5860         suffix member.
5861         (output_generic_value): Remove usage of suffix member,
5862         and the resulting unuse of the fp_format argument.
5863         (output_for_one_input_case): Remove unused fp_format
5864         parameter.
5866         * math/auto-libm-test-out: Regenerate.
5868         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5869         usage with TEST_COND_ibm128.
5870         (TEST_COND_flt_32): Remove.
5871         (TEST_COND_dbl_64): Remove.
5872         (TEST_COND_ldbl_96_intel): Remove.
5873         (TEST_COND_ldbl_96_m68k): Remove.
5874         (TEST_COND_ldbl_128): Remove.
5876 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5878         * auto-libm-test-in:
5879         Replace flt-32 usage with binary32.
5880         Replace dbl-64 usage with binary64.
5881         Replace ldbl-intel-96 usage with intel96.
5882         Replace ldbl-m68k-96 usage with m68k96.
5883         Replace ldbl-128ibm usage with ibm128.
5884         Replace ldbl-128 usage with binary128.
5886         * auto-libm-test-out: Regenerate.
5888 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5890         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5891         (parse_ulps): Dynamically generate type name matching
5892         string from all_floats.
5893         (get_ulps): Generate the ulps as an array instead.
5894         (output_ulps): Dynamically compose the type based
5895         on the number of supported formats, and print
5896         the indices as type specific helper macros.
5898         * math/libm-test.inc: Remove comment about CHOOSE.
5899         (ulp_data): Generate the type in libm-test-ulps.h.
5900         (ULP_IDX): New macro.
5901         (find_ulps): Update usage of max_ulp.
5903         * math/test-double-vlen2.h (CHOOSE): Remove.
5904         * math/test-double-vlen4.h (CHOOSE): Likewise.
5905         * math/test-double-vlen8.h (CHOOSE): Likewise.
5906         * math/test-float.c (CHOOSE): Likewise.
5907         * math/test-float-finite.c (CHOOSE): Likewise.
5908         * math/test-double.c (CHOOSE): Likewise.
5909         * math/test-double-finite.c (CHOOSE): Likewise.
5910         * math/test-idouble.c (CHOOSE): Likewise.
5911         * math/test-ifloat.c (CHOOSE): Likewise.
5912         * math/test-ildoubl.c (CHOOSE): Likewise.
5913         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5914         * math/test-ldouble.c (CHOOSE): Likewise.
5916         * math/test-float.h (TEST_FLOAT): Remove.
5917         * math/test-double.h (TEST_DOUBLE): Likewise.
5918         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5920 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5922         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5923         (parse_args): Strip C suffix from floating point literals
5924         typed with 'f' and wrap them with LIT().
5926         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5927         (test_ff_f_data_nexttoward): Rename to
5928         (test_fj_f_data): New struct.
5929         (nexttoward_test_data): Relabel tests as
5930         TEST_fj_f instead of TEST_ff_f.
5932 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5934         Emacs bug 23726.
5935         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5936         (__libc_realloc): Correct size computation for dumped fake mmapped
5937         chunks.
5939 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5941         [BZ #20219]
5942         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5943         to itself.
5944         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5946         [BZ #20218]
5947         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5948         to itself.
5949         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5951 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5953         [BZ #20195]
5954         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5955         check to ...
5956         (init_cpu_features): Here.
5958 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5960         [BZ #20214]
5961         * sysdeps/unix/sysv/linux/bits/in.h
5962         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5963          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5964         Define to 1.
5965         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5966          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5967         Define to 0.
5968         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5969         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5971 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5973         [BZ #20198]
5974         * stdlib/Makefile (tests): Add tst-quick_exit, and
5975         tst-thread-quick_exit.
5976         [ifeq ($(have-cxx-thread_local),yes)]
5977         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5978         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5979         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5980         (LDLIBS-tst-thread-quick_exit): Likewise.
5981         [ifneq ($(have-cxx-thread_local),yes)]
5982         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5983         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5984         If run_dtors is true call __call_tls_dtors.
5985         (exit): Call __run_exit_handlers with run_dtors set to true.
5986         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5987         definition.
5988         * stdlib/quick_exit.c (quick_exit): Remove function.
5989         (__new_quick_exit): New function.
5990         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5991         function.
5992         * stdlib/tst-quick_exit.cc: New file.
5993         * stdlib/tst-thread-quick_exit.cc: New file.
5994         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5995         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5996         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5997         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5998         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5999         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6000         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6001         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6002         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6003         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6004         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6006         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6008         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6009         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6014         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6015         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6016         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6017         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6018         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6021         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6022         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6023         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6025 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6027         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6028         a typo in comments.
6030 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6032         [BZ #20213]
6033         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6034         argument to itself.
6035         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6037 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6039         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6040         required flags.
6041         (CFLAGS-pwritev64.c): Likewise.
6042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6044         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6045         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6046         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6047         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6048         syscall from auto-generation.
6049         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6050         [WORDSIZE == 64] (pwritev64): Remove macro.
6051         [!PWRITEV] (PWRITEV): Likewise.
6052         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6053         [!PWRITEV] (PWRITE): Likewise.
6054         [!PWRITEV] (OFF_T): Likewise.
6055         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6056         (LO_HI_LONG): Remove macro.
6057         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6058         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6059         (PWRITEV): Remove macro.
6060         (PWRITEV_REPLACEMENTE): Likewise.
6061         (PWRITE): Likewise.
6062         (OFF_T): Likewise.
6063         (pwritev64): New function.
6064         * nptl/tst-cancel4.c (tf_writev): Add test.
6066         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6067         required flags.
6068         (CFLAGS-preadv64.c): Likewise.
6069         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6070         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6071         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6072         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6073         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6074         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6075         syscall from auto-generation.
6076         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6077         [WORDSIZE == 64] (preadv64): Remove macro.
6078         [!PREADV] (PREADV): Likewise.
6079         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6080         [!PREADV] (PREAD): Likewise.
6081         [!PREADV] (OFF_T): Likewise.
6082         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6083         (LO_HI_LONG): Remove macro.
6084         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6085         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6086         (PREADV): Remove macro.
6087         (PREADV_REPLACEMENTE): Likewise.
6088         (PREAD): Likewise.
6089         (OFF_T): Likewise.
6090         (preadv64): New function.
6091         * nptl/tst-cancel4.c (tf_preadv): Add test.
6093 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6095         [BZ #20212]
6096         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6097         argument to itself.
6098         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6100 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6102         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6103         New symbol defined as libc_hidden_def.
6104         (strcasestr): Became a weak alias to __strcasestr.
6105         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6106         according to multi-arch support.  Move __stpncpy hidden
6107         definition from here to...
6108         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6109         symbol stpncpy.
6110         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6111         libc_hidden_builtin_def.
6112         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6113         memset symbol to use when multi-arch support is available.
6115 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6117         * dlfcn/tst-rec-dlopen.c: Include string.h.
6119 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6121         * manual/install.texi: Remove mention of --without-tls
6122         * INSTALL: Regenerate.
6124 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6126         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6127         Remove.
6128         (call_function, interposed_malloc_called): New variables.
6129         (malloc): New function.
6130         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6131         and clear call_function as needed.
6133 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6135         * include/wchar.h (__wmemset): Use __typeof.
6137 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6139         * include/wchar.h (__wmemset): Declare function without typeof.
6141 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6143         [BZ #20205]
6144         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6145         exponent when incrementing negative subnormal with low mantissa
6146         word zero.
6147         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6148         Add another test.
6150 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6152         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6153         __wmemset instead of wmemset.
6155 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6157         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6158         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6159         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6160         __USE_KERNEL_IPV6_DEFS to 0.
6161         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6162         Update comment.
6164 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6166         [BZ #19861]
6167         Do not use IFUNC resolver with potentially unrelocated symbol.
6168         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6169         (DEFINE_FORK): Remove macro and inline definition.
6170         (fork_alias): Renamed from fork_ifunc.
6171         (__fork_alias): Renamed from __fork_ifunc.
6173 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6175         [BZ 19653]
6176         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6177         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6179 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6181         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6182         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6183         i386-linux-gnu).
6184         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6185         Set to no.
6186         * sysdeps/mach/hurd/configure: Refresh.
6188 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6190         [BZ #20178]
6191         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6192         on failure instead of exit.
6194 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6196         [BZ #3629]
6197         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6198         of POSIX.1-2008.
6200 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6202         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6203           Use PLT entry for calling _hurd_self_sigstate.
6205 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6207         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6208         available logical processors with SMT level type sharing L2
6209         cache for Intel processors.
6211 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #20160]
6214         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6215         argument to itself before returning the result.
6216         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6217         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6218         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6219         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6220         Likewise.
6221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6222         Likewise.
6223         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6224         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6225         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6226         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6227         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6228         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6230         [BZ #20160]
6231         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6232         argument to itself before returning the result.
6233         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6234         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6235         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6236         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6237         Likewise.
6238         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6239         Likewise.
6240         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6241         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6242         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6243         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6244         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6245         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6247 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6249         * libm-test.inc: Replace usage of M_El with
6250         (lit_e): New macro.
6252 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6254         * libm-test.inc: Replace usage of M_PI_4l with
6255         (lit_pi_4_d): New macro.
6257 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6259         * libm-test.inc: Replace usage of M_PIl with
6260         (lit_pi): New macro.
6262 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6264         * libm-test.inc: Replace usage of M_PI2l with
6265         (lit_pi_2_d): New macro.
6267         * math/test-double.h (LITM): New macro.
6268         * math/test-float.h (LITM): Likewise.
6269         * math/test-ldouble.h (LITM): Likewise.
6271 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6273         * libm-test.inc (M_PI_34l): Rename to
6274         (lit_pi_3_m_4_d): New Macro.
6275         (M_PI_34_LOG10El): Rename to
6276         (lit_pi_3_m_4_ln10_m_d): New Macro.
6277         (M_PI2_LOG10El): Rename to
6278         (lit_pi_2_ln10_m_d):  New Macro.
6279         (M_PI4_LOG10El): Rename to
6280         (lit_pi_4_ln10_m_d):  New Macro.
6281         (M_PI_LOG10El): Rename to
6282         (lit_pi_ln10_d):  New Macro.
6284 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6286         [BZ #20157]
6287         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6288         determine whether to negate low half if [_ARCH_PPCGR], and integer
6289         comparison otherwise.
6290         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6291         determine whether to negate low half.
6293         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6294         (NO_TEST_INLINE_DOUBLE): Likewise.
6295         (TEST_COND_x86_64): Likewise.
6296         (TEST_COND_x86): Likewise.
6297         (M_PI_6l): Likewise.
6299 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6301         * math/libm-test.inc:
6302         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6303         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6304         (TEST_LDOUBLE): Update usage to evaluate as true if
6305         the guarded tests match the property being tested.
6306         (LDBL_MAX_EXP): Change to MAX_EXP.
6307         (LDBL_MIN_EXP): Change to MIN_EXP.
6308         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6309         nexttoward tests.
6311 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6313         * math/libm-test.inc:
6314         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6315         (TYPE_MIN): Likewise.
6316         (TYPE_TRUE_MIN): Likewise.
6317         (TYPE_MAX): Likewise.
6318         (MIN_EXP): Likewise.
6319         (MAX_EXP): Likewise.
6320         (MANT_DIG): Likewise.
6322         (FSTR_MAX): New macro.
6323         (__CONCATX): Likewise.
6324         (QTYPE_STR): Likewise.
6325         (TEST_COND_binary32): Likewise.
6326         (TEST_COND_binary64): Likewise.
6327         (TEST_COND_binary128): Likewise.
6328         (TEST_COND_ibm128): Likewise.
6329         (TEST_COND_intel96): Likewise.
6330         (TEST_COND_m68k96): Likewise.
6332         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6333         (TEST_COND_dbl_64): Likewise.
6334         (TEST_COND_ldbl_96_intel): Likewise.
6335         (TEST_COND_ldbl_96_m68k): Likewise.
6336         (TEST_COND_ldbl_128): Likewise.
6337         (TEST_COND_ldbl_128ibm): Likewise.
6339         (plus_zero): Redefine using LIT macro.
6340         (minus_zero): Likewise.
6341         (plus_infty): Redefine as (INF).
6342         (minux_infty): Redefine as (-INF).
6343         (max_value): Redefine as TYPE_MAX.
6344         (min_value): Redefine as TYPE_MIN.
6345         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6347         (print_float): Refactor to use snprintf to convert FLOAT values
6348         to string. This brings it closer to dropin replacement of strtof
6349         for the TS 18661 defined types.
6350         (update_stats): Likewise.
6351         (print_complex_function_ulps): Likewise.
6352         (print_max_error): Likewise.
6353         (print_complex_max_error): Likewise.
6354         (check_float_internal): Likewise.
6356         * math/test-float.h (PREFIX): New macro.
6357         (LIT): Likewise.
6358         (TYPE_STR): Likewise.
6359         (FTOSTR): Likewise.
6361         * math/test-double.h (PREFIX): New macro.
6362         (LIT): Likewise.
6363         (TYPE_STR): Likewise.
6364         (FTOSTR): Likewise.
6366         * math/test-ldouble.h (PREFIX): New macro.
6367         (LIT): Likewise.
6368         (TYPE_STR): Likewise.
6369         (FTOSTR): Likewise.
6371 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #20156]
6374         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6375         to itself when zero or not finite.
6376         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6377         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6378         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6379         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6381 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6383         [BZ #20153]
6384         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6385         x * x + x for infinities and NaNs.
6387         [BZ #20151]
6388         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6389         argument to itself before returning result.
6390         (__ieee754_y0l): Likewise.
6391         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6392         (__ieee754_y1l).
6394         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6395         (atan_test_data): Likewise.
6396         (ceil_test_data): Likewise.
6397         (cos_test_data): Likewise.
6398         (cosh_test_data): Likewise.
6399         (erf_test_data): Likewise.
6400         (exp2_test_data): Likewise.
6401         (fabs_test_data): Likewise.
6402         (floor_test_data): Likewise.
6403         (ilogb_test_data): Likewise.
6404         (j0_test_data): Likewise.
6405         (j1_test_data): Likewise.
6406         (jn_test_data): Likewise.
6407         (lgamma_test_data): Likewise.
6408         (lrint_test_data): Likewise.
6409         (llrint_test_data): Likewise.
6410         (logb_test_data): Likewise.
6411         (lround_test_data): Likewise.
6412         (llround_test_data): Likewise.
6413         (nearbyint_test_data): Likewise.
6414         (rint_test_data): Likewise.
6415         (round_test_data): Likewise.
6416         (sin_test_data): Likewise.
6417         (sincos_test_data): Likewise.
6418         (sinh_test_data): Likewise.
6419         (sqrt_test_data): Likewise.
6420         (tan_test_data): Likewise.
6421         (tanh_test_data): Likewise.
6422         (tgamma_test_data): Likewise.
6423         (trunc_test_data): Likewise.
6424         (y0_test_data): Likewise.
6425         (y1_test_data): Likewise.
6426         (yn_test_data): Likewise.
6428         * math/libm-test.inc: Update comment about NaN testing.
6429         (TEST_SNAN): New macro.
6430         (snan_value): Likewise.
6431         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6432         (fpclassify_test_data): Add sNaN tests.
6433         (isfinite_test_data): Likewise.
6434         (isinf_test_data): Likewise.
6435         (isnan_test_data): Likewise.
6436         (isnormal_test_data): Likewise.
6437         (issignaling_test_data): Likewise.
6438         (signbit_test_data): Likewise.
6439         * math/gen-libm-test.pl (%beautify): Add snan_value.
6440         (show_exceptions): Add argument $test_snan.
6441         (parse_args): Handle snan_value as non-finite.  Update call to
6442         show_exceptions.
6443         * math/Makefile (libm-test-no-inline-cflags): Add
6444         -fsignaling-nans.
6446 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6448         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6449         (CFLAGS-oldsendmsg.c): Add rule.
6450         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6451         Correct recvmsg symbol name.
6452         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6453         Likewise.
6455 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6457         * sysdeps/unix/sysv/linux/Makefile
6458         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6459         oldsendmmsg.
6460         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6461         sendmmsg.
6462         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6463         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6465         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6470         Likewise.
6471         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6472         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6473         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6474         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6475         iovlen and controllen fields to adjust to POSIX specification.
6476         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6478         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6479         and change to correct expected type.
6480         (msghdr.msg_controllen): Likewise.
6481         (cmsghdr.cmsg_len): Likewise.
6482         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6483         expected POSIX assumption about the size.
6484         (msghdr.msg_controllen): Likewise.
6485         (msghdr.__glibc_reserved1): Likewise.
6486         (msghdr.__glibc_reserved2): Likewise.
6487         (cmsghdr.cmsg_len): Likewise.
6488         (cmsghdr.__glibc_reserved1): Likewise.
6489         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6490         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6491         (CFLAGS-sendmsg.c): Remove rule.
6492         (CFLAGS-recvmsg.c): Likewise.
6493         (CFLAGS-oldsendmsg.c): Add rule.
6494         (CFLAGS-oldrecvmsg.c): Likewise.
6495         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6496         recvmsg and sendmsg.
6497         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6498         Likewise.
6499         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6500         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6501         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6502         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6503         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6504         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6505         Likewise.
6506         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6507         Likewise.
6508         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6509         Likewise.
6510         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6513         Likewise.
6514         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6515         Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6517         (GLIBC_2.24): Likewise.
6518         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6521         Likewise.
6522         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6523         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6526         Likewise.
6527         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6530         (GLIBC_2.24): Likewise.
6531         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6534         Likewise.
6535         * sysdeps/unix/sysv/linux/Makefile
6536         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6537         (CFLAGS-sendmsg.c): Add rule.
6538         (CFLAGS-recvmsg.c): Likewise.
6539         (CFLAGS-oldsendmsg.c): Likewise.
6540         (CFLAGS-oldrecvmsg.c): Likewise.
6541         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6542         initialization.
6543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6544         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6545         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6546         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6547         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6548         iovlen and controllen fields to adjust to POSIX specification.
6549         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6550         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6551         added recvmsg and sendmsg.
6552         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6559         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6561         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6565         Likewise.
6566         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6568         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6569         Likewise.
6570         Likewise.
6571         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6572         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6574         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6582         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6585         from auto-generation.
6586         (sendmsg): Likewise.
6587         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6588         (sendmsg): Likewise.
6589         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6590         (sendmsg): Likewise.
6591         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6592         (sendmsg): Likewise.
6593         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6594         (sendmsg): Likewise.
6595         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6596         (sendmsg): Likewise.
6597         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6598         Likewise.
6599         (sendmsg): Likewise.
6600         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6601         (sendmsg): Likewise.
6602         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6604         Remove.
6605         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6606         Likewise.
6607         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6608         Undefine.
6609         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6610         Likewise.
6611         * sysdeps/unix/sysv/linux/kernel-features.h
6612         (__ASSUME_SENDMSG_SYSCALL): Define.
6613         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6614         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6616         Remove.
6617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6618         Likewise.
6619         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6620         Undefine.
6621         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6622         Likewise.
6623         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6625         Remove.
6626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6627         Likewise.
6628         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6629         Undefine.
6630         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6631         Likewise.
6632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6633         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6634         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6635         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6636         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6637         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6638         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6639         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6640         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6642 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6644         * stdlib/gen-tst-strtod-round.c: Add backslash to
6645         compile command in comment.
6646         (printfp): Remove the literal suffix, and define an infinite
6647         value as INF to avoid expansion clash with INFINITY.
6648         (round_str): Remove the literal suffix.
6649         (round_for_all): Likewise, remove the now duplicate ldbl-64
6650         entry, and remove some magic constants.
6652         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6653         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6654         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6655         (_CONCAT): New macro.
6656         (CONCAT): Likewise.
6657         (CHOOSE_ld): Likewise.
6658         (CHOOSE_f): Likewise.
6659         (CHOOSE_d): Likewise.
6660         (FTYPE_MEMBER): Likewise.
6661         (BOOL_MEMBER): Likewise.
6662         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6663         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6664         (_XNTRY): Likewise.
6665         (XNTRY): Likewise.
6666         (_ENTRY): Likewise.
6667         (ENTRY): Likewise.
6668         (test_exactness): Generate members via macro.
6669         (test_results): Likewise.
6670         (test): Update members.
6671         (TEST): Redefine using new macros.
6672         (INF): New macro.
6673         (fetestmodes): New structure.
6674         (do_test): Refactor to be type generic.
6675         (test_in_one_mode): Refactor duplicate code into
6676         (GEN_ONE_TEST): New macro.
6678         * stdlib/tst-strtod-round-data.h: Regenerate.
6680         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6681         Extend to pass additional arbitrary parameters to
6682         generators.
6684 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #15479]
6687         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6688         floating-point state after first floating-point operation on
6689         input.  Restore full floating-point state instead of just rounding
6690         mode.
6691         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6692         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6693         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6694         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6695         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6697         [BZ #15479]
6698         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6699         floating-point state after first floating-point operation on
6700         input.  Restore full floating-point state instead of just rounding
6701         mode.
6702         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6703         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6704         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6705         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6706         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6708 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6710         [BZ #19727]
6711         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6712         valid high surrogate.
6713         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6714         of an utf16 surrogate.
6715         * iconv/gconv_simple.c (BODY): Likewise.
6716         * iconvdata/bug-iconv12.c: New file.
6717         * iconvdata/Makefile (tests): Add bug-iconv12.
6719 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6721         [BZ #19726]
6722         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6723         outptrp in case of an illegal input.
6724         * iconv/tst-iconv6.c: New file.
6725         * iconv/Makefile (tests): Add tst-iconv6.
6727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6729         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6730         an error in case of a value in range of an utf16 low surrogate.
6732 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6734         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6735         an error in case of a value in range of an utf16 low surrogate.
6737 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6739         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6740         Move to ...
6741         * sysdeps/s390/Makefile: ... here.
6742         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6743         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6744         (BRANCH_ON_COUNT): New define.
6745         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6746         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6747         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6748         run on s390-32, too.
6749         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6750         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6751         run on s390-32, too.
6752         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6753         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6754         run on s390-32, too.
6756 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6758         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6759         etf3eh or new vector loop-variant.
6761 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6763         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6764         etf3eh or new vector loop-variant.
6766 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6768         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6769         or new vector loop-variant.
6771 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6773         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6774         Rename to TR_LOOP and usage of tr instead of troo instruction.
6776 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6778         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6779         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6781 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6783         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6784         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6785         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6786         New override define.
6787         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6789 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6791         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6792         * sysdeps/s390/configure.ac: Add test for S390 vector register
6793         support in gcc.
6794         * sysdeps/s390/configure: Regenerated.
6796 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6798         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6799         Install file from $(objpfx)gconv-modules.
6800         ($(objpfx)gconv-modules): Concatenate architecture specific file
6801         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6802         * sysdeps/s390/gconv-modules: New file.
6803         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6804         Deleted.
6805         ($(objpfx)gconv-modules-s390): Deleted.
6806         (sysdeps-gconv-modules): New variable.
6808 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6810         [BZ #15479]
6811         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6812         of immediate operand to rounding instruction.
6813         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6814         Likewise.
6815         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6816         Likewise.
6817         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6818         Likewise.
6820 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6822         * math/libm-test.inc (MIN_EXP): Directly define as
6823         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6825 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6827         * math/libm-test.inc (MANT_DIG): Directly define as
6828         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6830 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6832         * stdlib/gen-tst-strtod-round.c (main):
6833           Change usage to more closely match the generated
6834           output.  Add usage and compilation instructions.
6835           (string_to_fp): Add and use FILE* parameter as
6836           output target.
6837           (print_fp): Likewise.
6838           (round_str): Likewise.
6839           (round_for_all): Likewise.
6840         * stdlib/tst-strtod-round.c (tests): Move into
6841         * stdlib/tst-strtod-round-data.h: New file.
6843 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #15479]
6846         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6847         (__round): Do not force "inexact" exception.
6848         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6849         variable.
6850         (__round): Do not force "inexact" exception.
6851         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6852         (__roundf): Do not force "inexact" exception.
6853         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6854         (__roundl): Do not force "inexact" exception.
6855         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6856         (__roundl): Do not force "inexact" exception.
6857         * math/libm-test.inc (round_test_data): Do not allow spurious
6858         "inexact" exceptions.
6860         [BZ #15479]
6861         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6862         exception in comment.
6863         (huge): Remove variable.
6864         (__floor): Do not force "inexact" exception.
6865         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6866         "inexact" exception in comment.
6867         (huge): Remove variable.
6868         (__floor): Do not force "inexact" exception.
6869         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6870         exception in comment.
6871         (huge): Remove variable.
6872         (__floorf): Do not force "inexact" exception.
6873         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6874         exception in comment.
6875         (huge): Remove variable.
6876         (__floorl): Do not force "inexact" exception.
6878         [BZ #15479]
6879         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6880         exception in comment.
6881         (huge): Remove variable.
6882         (__ceil): Do not force "inexact" exception.
6883         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6884         "inexact" exception in comment.
6885         (huge): Remove variable.
6886         (__ceil): Do not force "inexact" exception.
6887         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6888         (__ceilf): Do not force "inexact" exception.
6889         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6890         exception in comment.
6891         (huge): Remove variable.
6892         (__ceill): Do not force "inexact" exception.
6894 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6896         * config.h.in (BIND_NOW): New.
6897         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6898         * configure: Regenerated.
6899         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6900         indirect branch via the GOT slot.
6902 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6904         [BZ #19765]
6905         * sysdeps/s390/mempcpy.S: New File.
6906         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6908         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6909         Add mempcpy variants.
6910         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6911         (memcpy): Adjust to be usable from mempcpy entry point.
6912         (__memcpy_mvcle): Likewise.
6913         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6914         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6915         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6916         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6917         (__memcpy_z10): Likewise.
6918         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6920 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6922         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6923         Remove __GI_ symbol.
6924         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6925         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6926         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6927         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6928         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6929         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6931 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6933         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6934         Use cghi instead of chi to compare 64bit value.
6936 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6938         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6939         Jump to 1MB check before executing mvc-loop.
6941 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6943         [BZ #6527]
6944         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6945         unconditionally.
6946         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6948 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6950         * stdlib/tst-strtod6.c (do_test): Use new type generic
6951         invocation of the test function.
6952         (test): Refactor into ...
6953         (TEST_STRTOD): New macro base function.
6955 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6957         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6958         (TEST_STRTOD): New macro.
6959         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6961 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6963         * stdlib/tst-strtod6.c (do_test): Use new type generic
6964         invocation of the test function.
6965         (test): Refactor into ...
6966         (TEST_STRTOD): New macro base function.
6968 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6970         CVE-2016-4429
6971         [BZ #20112]
6972         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6973         payload.
6975 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6977         [BZ #20111]
6978         * bits/sockaddr.h (_SS_SIZE): Define.
6979         * bits/socket.h (_SS_SIZE): Remove.
6980         (_SS_PADSIZE): Adjust to account for all padding.
6981         (struct sockaddr_storage): Update comment.  Avoid implicit
6982         padding.
6983         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6984         (_SS_PADSIZE): Adjust to account for all padding.
6985         (struct sockaddr_storage): Update comment.  Avoid implicit
6986         padding.
6987         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6988         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6989         (_SS_PADSIZE): Adjust to account for all padding.
6990         (struct sockaddr_storage): Update comment.  Avoid implicit
6991         padding.
6992         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6993         __SS_SIZE is 126 in this version.
6994         * inet/tst-sockaddr.c: New file.
6995         * inet/Makefile (tests): Add tst-sockaddr.c
6996         (tst-sockaddr.c): Compile with non-strict aliasing.
6998 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7000         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7001         [XPG3 || XPG4].
7002         (NL_ARGMAX): Also expect for [XPG3].
7003         (NL_LANGMAX): Likewise.
7004         (NL_MSGMAX): Likewise.
7005         (NL_NMAX): Likewise.
7006         (NL_SETMAX): Likewise.
7007         (NL_TEXTMAX): Likewise.
7008         (NZERO): Likewise.
7009         (TMP_MAX): Likewise.
7010         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7011         variable.
7013         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7014         (PF_MAX): Update value.
7015         (AF_KCM): New macro.
7016         (SOL_NETBEUI): Likewise.
7017         (SOL_LLC): Likewise.
7018         (SOL_DCCP): Likewise.
7019         (SOL_NETLINK): Likewise.
7020         (SOL_TIPC): Likewise.
7021         (SOL_RXRPC): Likewise.
7022         (SOL_PPPOL2TP): Likewise.
7023         (SOL_BLUETOOTH): Likewise.
7024         (SOL_PNPIPE): Likewise.
7025         (SOL_RDS): Likewise.
7026         (SOL_IUCV): Likewise.
7027         (SOL_CAIF): Likewise.
7028         (SOL_ALG): Likewise.
7029         (SOL_NFC): Likewise.
7030         (SOL_KCM): Likewise.
7031         (MSG_BATCH): New enum value and macro.
7033 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7035         [BZ #18185]
7036         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7037         sharing L2 cache to 2 for Knights Landing.
7039 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7041         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7042         (FTW_DP): Do not expect for [XPG3 || XPG4].
7043         (FTW_SL): Do not expect for [XPG3].
7044         (FTW_SLN): Likewise.
7045         (FTW_PHYS): Likewise.
7046         (FTW_MOUNT): Likewise.
7047         (FTW_DEPTH): Likewise.
7048         (FTW_CHDIR): Likewise.
7049         (nftw): Likewise.
7050         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7051         variable.
7053 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7055         * manual/errno.texi: Fix various typos & grammar errors.
7057 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7059         * manual/intro.texi: Fix duplicated typo.
7061 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7063         [BZ #13304]
7064         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7065         <float.h>, <math_private.h> and <stdlib.h>.
7066         (add_split): New function.
7067         (mul_split): Likewise.
7068         (ext_val): New typedef.
7069         (store_ext_val): New function.
7070         (mul_ext_val): New function.
7071         (compare): New function.
7072         (add_split_ext): New function.
7073         (__fmal): After checking for Inf, NaN and zero, compute result as
7074         an exact sum of scaled double values in round-to-nearest before
7075         adding those up and adjusting for other rounding modes.
7076         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7077         tests of fma.
7078         * math/auto-libm-test-out: Regenerated.
7080 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7082         [BZ #20119]
7083         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7084         processor level type mask for CPUID with EAX == 11.
7086 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7088         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7089         logical threads if the HTT bit is 0.
7090         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7091         (index_cpu_HTT): Likewise.
7092         (reg_HTT): Likewise.
7094 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7096         [BZ #20115]
7097         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7098         Remove alignments on jump targets.
7100 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7102         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7103         (getpwent): Likewise.
7104         (setpwent): Likewise.
7105         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7106         variable.
7108         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7109         (remque): Likewise.
7110         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7111         variable.
7113 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7115         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7116         not being tested.
7118 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7120         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7121         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7122         call.
7123         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7124         (__condvar_cleanup1): Likewise.
7126 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7128         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7129         New
7130         (__pthread_unwind): Renamed to ...
7131         (PTHREAD_UNWIND): This.
7132         (__pthread_enable_asynccancel): Replace
7133         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7135 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7137         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7138         (CLONE_NEWCGROUP): New macro.
7140         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7141         (Q_GETNEXTQUOTA): New macro.
7143 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7145         [BZ #19907]
7146         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7147         buffer updated by the previous run.
7148         * string/test-memcpy.c (do_one_test): Likewise.
7149         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7150         * string/test-memmove.c (do_one_test): Likewise.
7152 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7154         [BZ #20094]
7155         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7156         not [__USE_XOPEN].
7157         (unlockpt): Likewise.
7158         (ptsname): Likewise.
7159         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7160         variable.
7162         [BZ #20076]
7163         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7164         instead of [__USE_UNIX98].
7165         (S_ISSOCK): Likewise.
7166         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7167         variable.
7169         [BZ #20074]
7170         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7171         [__USE_POSIX].
7172         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7173         variable.
7175         [BZ #20051]
7176         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7177         (ttyslot): Do not declare.
7178         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7179         (ttyslot): New prototype.
7180         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7181         variable.
7182         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7184 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7186         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7188 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7190         Fix race condition in tst-mallocfork2, use fewer resources.
7191         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7192         to current process group.
7193         (signal_sender): Yield in the non-sleeping case.
7195 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7197         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7198         (ecvt): Likewise.
7199         (fcvt): Likewise.
7200         (gcvt): Likewise.
7201         (getsubopt): Likewise.
7202         (grantpt): Likewise.
7203         (initstate): Likewise.
7204         (l64a): Likewise.
7205         (mktemp): Likewise.
7206         (mkstemp): Likewise.
7207         (ptsname): Likewise.
7208         (random): Likewise.
7209         (realpath): Likewise.
7210         (setstate): Likewise.
7211         (srandom): Likewise.
7212         (ttyslot): Likewise.
7213         (unlockpt): Likewise.
7214         (valloc): Likewise.
7216         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7217         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7218         variable.
7220 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7222         [BZ #20072]
7223         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7224         init_cpu_features only if SHARED is defined.
7225         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7227 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7229         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7230         non-inclusive caches on Intel processors.
7232 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7234         * malloc/malloc.c (dumped_main_arena_start)
7235         (dumped_main_arena_end): New variables.
7236         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7237         (do_check_chunk): Skip dumped fake mmapped chunks.
7238         (munmap_chunk): Likewise.
7239         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7240         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7241         mmapped chunks.
7242         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7243         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7244         and dumped_main_arena_end to cover the dumped heap.
7246 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7248         * conform/data/time.h-data (getdate_err): Do not expect for
7249         [XPG3].
7250         (getdate): Likewise.
7251         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7252         variable.
7254         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7255         (F_ULOCK): Likewise.
7256         (F_TEST): Likewise.
7257         (F_TLOCK): Likewise.
7258         (useconds_t): Likewise.
7259         (intptr_t): Do not expect for [XPG3] or [XPG4].
7260         (brk): Do not expect for [XPG3]
7261         (fchown): Likewise.
7262         (fchdir): Likewise.
7263         (ftruncate): Likewise.
7264         (getdtablesize): Likewise.
7265         (gethostid): Likewise.
7266         (getpagesize): Likewise.
7267         (getpgid): Likewise.
7268         (getsid): Likewise.
7269         (getwd): Likewise.
7270         (lchown): Likewise.
7271         (lockf): Likewise.
7272         (readlink): Likewise.
7273         (sbrk): Likewise.
7274         (setpgrp): Likewise.
7275         (setregid): Likewise.
7276         (setreuid): Likewise.
7277         (symlink): Likewise.
7278         (sync): Likewise.
7279         (truncate): Likewise.
7280         (ualarm): Likewise.
7281         (usleep): Likewise.
7282         (vfork): Likewise.
7283         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7284         variable.
7286         [BZ #20054]
7287         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7288         not [__USE_UNIX98].
7289         * conform/data/unistd.h-data (gethostname): Do not expect for
7290         [XPG3].
7292         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7293         [!POSIX] (S_IFBLK): Likewise.
7294         [!POSIX] (S_IFCHR): Likewise.
7295         [!POSIX] (S_IFIFO): Likewise.
7296         [!POSIX] (S_IFREG): Likewise.
7297         [!POSIX] (S_IFDIR): Likewise.
7298         [!POSIX] (S_IFLNK): Likewise.
7299         [!POSIX] (S_IFSOCK): Likewise.
7300         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7301         variable.
7302         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7304 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7306         * sysdeps/aarch64/memset.S (__memset):
7307         Rewrite of optimized memset.
7309 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7311         [BZ #19703]
7312         Partially async-signal-safe fork for single-threaded processes.
7313         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7314         variable.  Do not acquire and reset/release malloc and libio locks
7315         in single-threaded processes.
7316         * malloc/tst-mallocfork2.c: New file.
7317         * malloc/Makefile (tests): Add it.
7319 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7321         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7322         argument.  Use scratch buffer instead of extend_alloca.
7323         (gethosts): Use scratch buffer instead of extend_alloca.
7324         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7325         extend_alloca.
7326         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7328 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7330         [BZ #20055]
7331         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7332         instead of [__USE_UNIX98].
7333         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7334         [__USE_UNIX98].
7335         * conform/data/termios.h-data (tcgetsid): Do not expect for
7336         [XPG3].
7337         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7338         variable.
7339         (test-xfail-XPG4/termios.h/conform): Likewise.
7341 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7343         Do not use mcheck in localedef.
7344         * locale/programs/localedef.c (turn_on_mcheck)
7345         (__malloc_initialize_hook): Remove.
7347 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7349         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7350         * sysdeps/s390/s390-64/Makefile: Likewise.
7352 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7354         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7355         Remove ifunc-defines.sym.
7356         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7357         Likewise.
7358         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7359         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7360         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7361         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7362         rtld-global-offsets.sym.
7363         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7364         * sysdeps/x86/cpu-features-offsets.sym: This.
7365         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7366         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7368 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7370         [BZ #20073]
7371         * io/sys/stat.h (fchmod): Declare for
7372         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7373         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7374         variable.
7376         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7377         [XPG3] (S_IFSOCK): Likewise.
7378         [XPG3] (S_ISVTX): Likewise.
7379         [XPG3] (S_ISLNK): Likewise.
7380         [XPG3] (S_ISSOCK): Likewise.
7381         [XPG3] (fchmod): Likewise.
7382         [XPG3] (lstat): Likewise.
7383         [XPG3] (mknod): Likewise.
7385         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7386         [XPG3].  Expect type long and XFAIL for [XPG4].
7387         (st_blocks): Likewise.
7389         [BZ #20044]
7390         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7391         (pthread_atfork): New prototype.
7392         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7393         variable.
7395         [BZ #20043]
7396         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7397         prototype.
7399 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7401         [BZ #20017]
7402         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7403         gmtime.
7405 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7407         [BZ #19994]
7408         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7409         flag in _res.options.
7411 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7413         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7414         [XPG3 || XPG4].
7415         (blksize_t): Likewise.
7416         (clockid_t): Likewise.
7417         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7418         variable.
7419         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7421 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7423         * sysdeps/unix/sysv/linux/s390/init-first.c:
7424         Add VDSO_SYMBOL(getcpu).
7425         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7426         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7427         Add VDSO_SYMBOL(getcpu).
7428         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7429         New define HAVE_GETCPU_VSYSCALL.
7430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7432 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7434         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7435         instead of <sysdeps/x86_64/cacheinfo.c>.
7436         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7437         * sysdeps/x86/cacheinfo.c: Here.
7439 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7441         * malloc/malloc-internal.h: Adjust header file guard.
7443 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7445         [BZ #19787]
7446         * inet/getnameinfo.c (check_sprintf_result): New function.
7447         (CHECKED_SNPRINTF): New macro.
7448         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7449         to the host buffer.
7450         (gni_host_local): Use checked_copy to copy the host name.
7451         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7452         (gni_serv_local): Use checked_copy to copy the service name.
7453         (getnameinfo): Remove unnecessary truncation of result buffers.
7455 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7457         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7458         in case of inet_ntop failure.
7460 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7462         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7463         avoid long lines.
7464         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7465         variables.
7466         (gni_host_inet, gni_host_local): Add comment.
7467         (gni_host): Add comment.  Use temporary to avoid long lines.
7469 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7471         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7472         registers specifiers where general purpose registers specifiers should
7473         have been used.
7475 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7477         [BZ #19779]
7478         CVE-2016-1234
7479         Avoid copying names of directory entries.
7480         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7481         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7482         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7483         (struct readdir_result): New type.
7484         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7485         (GL_READDIR): New macros.
7486         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7487         (convert_dirent, convert_dirent64): New functions.
7488         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7489         convert_dirent64.  Adjust references to the readdir result.
7490         * sysdeps/unix/sysv/linux/i386/glob64.c:
7491         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7492         * posix/bug-glob2.c (LONG_NAME): Define.
7493         (filesystem): Add LONG_NAME.
7494         (my_DIR): Increase the size of room_for_dirent.
7496 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #20041]
7499         * misc/sys/select.h (__need_timespec): Only define if
7500         [__USE_XOPEN2K].
7501         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7502         variable.
7503         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7504         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7505         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7507 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7508             Segher Boessenkool  <segher@gcc.gnu.org>
7510         [BZ #20004]
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7512         (__novec_swapcontext): Add missing load.
7514 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #20023]
7517         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7518         <time.h>.
7519         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7520         variable.
7521         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7523 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7526         flags CLONE_VM compare.
7528 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7530         [BZ #20031]
7531         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7532         completely empty.
7534 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7536         [BZ #19573]
7537         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7538         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7539         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7540         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7541         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7542         (hesiod_free_list): Mark as hidden.
7543         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7544         res_set, res_get.
7545         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7546         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7547         (hesiod_init): Remove obsolete res_ninit call.
7548         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7549         (hesiod_bind): Do not call init.
7550         (get_txt_records): Use res_mkquery, res_send instead of
7551         res_nmkquery, res_nsend.
7552         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7553         instead of _nss_hesiod_init.
7554         (_nss_hesiod_initgroups_dyn): Likewise.
7555         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7556         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7557         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7559 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7561         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7562         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7564 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7566         * hesiod/hesiod.h: Remove RCS keyword.
7567         * hesiod/hesiod_p.h: Likewise.
7569         * hesiod/hesiod.c: Likewise.
7571 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7573         [BZ #12450]
7574         * locale/iso-639.def: Add Samogitian/sgs.
7576 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7578         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7580         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7582 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7583             Carlos O'Donell  <carlos@redhat.com>
7585         [BZ #19072]
7586         * grp/Makefile (headers): Add grp-merge.h
7587         (routines): Add grp-merge.
7588         * grp/getgrgid_r.c: Include grp-merge.h.
7589         (DEEPCOPY_FN): Define.
7590         (MERGE_FN): Define.
7591         * grp/getgrname_r.c: Include grp-merge.h.
7592         (DEEPCOPY_FN): Define.
7593         (MERGE_FN): Define.
7594         * grp/grp-merge.c: New file.
7595         * grp/grp-merge.h: New file.
7596         * include/grp-merge.h: New file.
7597         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7598         __copy_grp@GLIBC_PRIVATE.
7599         * manual/nss.texi (Actions in the NSS configuration): Describe
7600         return, continue, and merge.
7601         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7602         (DEEPCOPY_FN): Define.
7603         (MERGE_FN): Define.
7604         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7605         (DEEPCOPY_FN): Define.
7606         (MERGE_FN): Define.
7607         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7608         [!MERGE_FN]: Define __merge_einval.
7609         (CHECK_MERGE): Define.
7610         (REENTRANT_NAME): Process merge if do_merge is true.
7611         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7612         (__nss_getent_r): Likewise.
7613         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7614         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7616 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7618         [BZ #20012]
7619         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7620         length to calculate the buffer to read.
7621         (fmemopen_write): Set the buffer position based on bytes written.
7622         (fmemopen_seek): Return EINVAL for invalid whence modes.
7624         [BZ #19957]
7625         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7626         tst-getpid2.
7627         (test): Add tst-clone2.
7628         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7629         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7630         pid/tid fields for CLONE_VM.
7631         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7632         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7633         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7634         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7635         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7636         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7637         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7638         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7640         Likewise.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7644         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7645         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7646         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7647         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7648         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7649         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7650         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7652 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7654         [BZ #19642]
7655         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7656         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7657         (gni_serv_local, gni_serv): New functions extracted from
7658         getnameinfo.
7659         (getnameinfo): Call gni_host and gni_serv to perform the
7660         processing.  Always free scratch buffer.
7662 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7664         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7665         remaining bytes in the dest string, with zeros.
7667 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7669         [BZ #20010]
7670         CVE-2016-3706
7671         * sysdeps/posix/getaddrinfo.c
7672         (convert_hostent_to_gaih_addrtuple): New function.
7673         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7674         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7675         AF_INET data.
7677 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7679         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7680         callback function gl_readdir.
7681         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7682         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7683         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7684         memcpy to copy the name.
7685         * manual/pattern.texi (Calling Glob): Document requirements for
7686         implementations of the gl_readdir callback function.
7687         * manual/examples/mkdirent.c: New example.
7688         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7689         per the manual guidance.
7690         * posix/tst-gnuglob.c (my_readdir): Likewise.
7692 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7694         [BZ #20014]
7695         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7696         not [__USE_POSIX].
7697         (getchar_unlocked): Likewise.
7698         (putc_unlocked): Likewise.
7699         (putchar_unlocked): Likewise.
7700         (flockfile): Likewise.
7701         (ftrylockfile): Likewise.
7702         (funlockfile): Likewise.
7703         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7704         variable.
7705         (test-xfail-XPG4/stdio.h/conform): Likewise.
7707         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7708         Expect constant.
7709         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7710         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7711         variable.
7712         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7713         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7715         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7716         [__USE_LARGEFILE64] (off64_t): Likewise.
7717         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7718         variable.
7720 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7722         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7726         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7727         * resolv/res_init.c: Likewise.
7728         * resolv/res_mkquery.c: Likewise.
7730 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7732         * resolv/res_init.c (isascii): Do not define.  Use definition in
7733         <ctype.h>.
7734         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7735         (LOG_AUTH): Remove.
7736         (SPRINTF): Remove, adjust caller.
7737         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7739 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7741         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7742         SUNSECURITY conditional.
7743         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7745 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7747         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7748         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7749         Remove BSD-related preprocessor conditionals.
7750         * conf/portability.h: Remove.
7752 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7754         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7755         * resolv/res_data.c: Likewise.
7757 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7759         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7760         * resolv/res_data.c: Remove code conditional on ultrix.
7762 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7764         * resolv/res_init.c (RFC1535): Do not define.  Remove
7765         RFC1535 preprocessor conditionals.
7766         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7767         because there configuration options which make the resolver
7768         behavior different.
7770 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7772         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7773         RESOLVSORT preprocessor conditionals.
7774         * resolv/nss_dns/dns-host.c: Likewise.
7775         * resolv/res_init.c: Likewise.
7777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7779         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7780         is never defined.
7782 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7784         * inet/inet_lnaof.c: Remove SCSS keyword.
7785         * inet/inet_mkadr.c: Likewise.
7786         * inet/inet_net.c: Likewise.
7787         * inet/inet_netof.c: Likewise.
7788         * inet/rcmd.c: Likewise.
7789         * inet/rexec.c: Likewise.
7790         * inet/ruserpass.c: Likewise.
7792 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7794         * resolv/inet_addr.c: Remove _LIBC conditionals.
7795         * resolv/res_data.c: Likewise.
7796         * resolv/res_init.c: Likewise.
7797         * resolv/res_mkquery.c: Likewise.
7798         * resolv/res_libc.c: Update comment.
7799         * resolv/README: Update.
7801 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7803         * resolv/gethnamaddr.c: Remove SCSS keyword.
7804         * resolv/herror.c: Likewise.
7805         * resolv/inet_addr.c: Likewise.
7806         * resolv/inet_net_ntop.c: Likewise.
7807         * resolv/inet_net_pton.c: Likewise.
7808         * resolv/inet_neta.c: Likewise.
7809         * resolv/inet_ntop.c: Likewise.
7810         * resolv/inet_pton.c: Likewise.
7811         * resolv/ns_date.c: Remove RCS keyword.
7812         * resolv/ns_name.c: Likewise.
7813         * resolv/ns_netint.c: Likewise.
7814         * resolv/ns_parse.c: Likewise.
7815         * resolv/ns_print.c: Likewise.
7816         * resolv/ns_samedomain.c: Likewise.
7817         * resolv/ns_ttl.c: Likewise.
7818         * resolv/nsap_addr.c: Likewise.
7819         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7820         * resolv/res_data.c: Remove RCS keyword.
7821         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7822         * resolv/res_init.c: Likewise.
7823         * resolv/res_mkquery.c: Likewise.
7824         * resolv/res_query.c: Likewise.
7825         * resolv/res_send.c: Likewise.
7827 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7829         * conform/data/stdio.h-data (fdopen): Expect also for
7830         [XPG3 || XPG4].
7832         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7833         (fseeko): Likewise.
7834         (ftello): Likewise.
7835         (ftrylockfile): Likewise.
7836         (funlockfile): Likewise.
7837         (getc_unlocked): Likewise.
7838         (getchar_unlocked): Likewise.
7839         (putc_unlocked): Likewise.
7840         (putchar_unlocked): Likewise.
7842 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7844         [BZ #19868]
7845         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7846         DNS packet syntax checks (which were not needed before).  Skip
7847         over non-PTR records.
7849 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7851         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7852         definition.  Include <stddef.h> instead.
7854 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7856         [BZ #19831]
7857         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7858         function.
7859         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7860         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7862 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7864         [BZ #19862]
7865         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7866         (getanswer_r): Do not call syslog.
7867         (gaih_getanswer_slice): Likewise.
7868         * resolv/gethnamaddr.c (AskedForGot): Remove.
7869         (getanswer): Do not call syslog.
7870         (gethostbyaddr): Likewise.
7872 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7874         * conform/data/signal.h-data (union sigval): Expect also if
7875         [XOPEN2K].
7876         (struct sigevent): Likewise.
7877         (SIGEV_NONE): Likewise.
7878         (SIGEV_SIGNAL): Likewise.
7879         (SIGEV_THREAD): Likewise.
7880         (SIGRTMIN): Likewise.
7881         (SIGRTMAX): Likewise.
7882         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7883         variable.
7884         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7886 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7888         [BZ #19830]
7889         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7890         (gaih_getanswer_slice): Likewise.
7891         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7892         Also check for availability of RR metadata.
7894 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7896         [BZ #19825]
7897         * resolv/res_send.c (send_vc): Remove early *resplen2
7898         initialization.  Set *resplen2 on socket error.  Call
7899         close_and_return_error for other errors.
7901 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7903         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7904         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7905         (SCM_IUCV_TRGCLS): New define.
7907 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7909         [BZ #20005]
7910         * libio/fmemopen.c (fmemopen_write): Update internal position after
7911         write.
7912         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7913         * stdio-common/tst-fmemopen4.c: New file..
7915 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7917         [BZ #19996]
7918         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7919         not [__USE_XOPEN2K].
7920         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7921         variable.
7923         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7924         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7925         variable.
7927         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7928         [__USE_XOPEN2K8].
7929         [__USE_LARGEFILE64] (off64_t): Likewise.
7930         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7931         variable.
7933 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7935         [BZ #19989]
7936         * libio/stdio.h (cuserid): Do not declare if
7937         [__USE_XOPEN2K && !__USE_GNU].
7938         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7939         variable.
7941 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7943         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7944         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7946         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7947         ifunc'ed strcspn.
7948         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7949         [EALIGN]: Removed.
7950         [END]: Likewise
7951         [STRSPN]: Define instead of the above to control symbol name.
7952         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7953         New file.
7954         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7955         Likewise.
7956         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7957         Likewise.
7958         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7959         Likewise.
7960         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7961         [INITIAL_MASK]: New macro.
7962         [STRCSPN]: Likewise.
7963         [UPDATE_MASK]: Likewise.
7964         [USE_AS_STRCSPN]: Lisewise.
7966 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7968         [BZ #19931]
7969         * stdio-common/tst-vfprintf-width-prec.c: New file.
7970         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7971         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7972         (generated): Add mtrace-related files.
7973         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7974         (tst-%-mem.out): New pattern rule, replaces
7975         tst-printf-bz18872-mem.out.
7976         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7977         specifier, deallocate any previously allocated work buffer.
7979 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7981         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7982         Add nop before __startcontext, add explaining comments.
7984 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7986         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7987         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7988         completely different API.
7990         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7991         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7992         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7993         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7994         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7995         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7996         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7997         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7998         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7999         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8001 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8003         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8005 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8007         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8008         when it is the default of 0.
8010 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8012         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8013         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8014         (sysdep_routines): Add new strcasestr targets.
8015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8016         (__libc_ifunc_impl_list): Likewise.
8017         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8018         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8019         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8020         * sysdeps/powerpc/powerpc64/power8/Makefile:
8021         New file to add strcasestr-ppc64 to sysdep_routines.
8022         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8023         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8025 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8027         * benchtests/Makefile (wcsmbs-benchset): Include only for
8028         native builds and runs.
8029         (LOCALES): Likewise.
8030         (bench-build): Build timing-type here instead of the bench
8031         target.  Generate locale only for native builds.
8032         * benchtests/README: Add note for cross-building.
8034         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8036         * benchtests/README: Update README to include instructions on
8037         using bench-build.
8039         * Makefile.in (bench-build): New target.
8040         * Rules (PHONY): Add bench-build target.
8041         * benchtests/Makefile (bench): Depend on bench-build.
8042         (bench-build): New target.
8044 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8046         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8047         profil_reply_port.
8048         (profile_waiter): Do not initialize profil_reply_port.
8049         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8050         frequency instead of tick length in us.
8052 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8054         [BZ #18712]
8055         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8056         (__old_mempcpy_small): Likewise.
8057         (__old_strcpy_small): Likewise.
8058         (__old_stpcpy_small): Likewise.
8059         (__old_strpbrk_c2): Fix compat symbol name.
8060         (__old_strpbrk_c3): Likewise.
8061         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8062         (__mempcpy_small): Remove.
8063         (__strcpy_small): Remove.
8064         (__stpcpy_small): Remove.
8066 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8068         [BZ #19400]
8069         * locale/iso-639.def: Add the Talossan/tzl language.
8071 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8073         [BZ #16983]
8074         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8075         comment.  Add "ln" to strchr check on postal_fmt.
8077 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8079         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8080         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8081         tel_dom_fmt.
8083 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8085         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8086         (sysdep_routines): Added __strlen_power8.
8087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8088         __strlen_power8 entry.
8089         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8090         Implementation for POWER8.
8091         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8092         for __strlen_power8.
8093         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8094         Implementation for POWER8.
8096 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8098         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8100 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8102         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8103         Goldmont and Airmont processors.
8105 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8107         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8108         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8109         (__STRING2_SMALL_GET32): Remove.
8110         (memset): Remove.
8111         (__memset_1): Remove.
8112         (__memset_gc): Remove.
8113         (__mempcpy): Remove.
8114         (mempcpy): Remove.
8115         (__mempcpy_args): Remove.
8116         (strchr): Remove.
8117         (strcpy): Remove.
8118         (strcpy_args): Remove.
8119         (__stpcpy_args): Remove.
8120         (__strcmp_cc): Remove.
8121         (__strcmp_gc): Remove.
8122         (strstr): Remove.
8124 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8126         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8127         * nis/nis_call.c (nis_server_cache_add): Likewise.
8129 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8131         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8133 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8135         * malloc/arena.c (__malloc_fork_lock_parent)
8136         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8137         internal_function attribute.
8139 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8141         * stdio-common/printf_fp.c (__printf_fp_l):
8142         Rename ___printf_fp_l to __printf_fp_l and
8143         remove strong alias. Use libc_hidden_def instead
8144         of ldbl_hidden_def macro.
8146 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8148         Remove malloc hooks from fork handler.  They are no longer needed
8149         because malloc runs right before fork, and no malloc calls from
8150         other fork handlers are not possible anymore.
8151         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8152         declarations.
8153         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8154         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8155         (atfork_recursive_cntr): Remove.
8156         (__malloc_fork_lock_parent): Do not override malloc hooks and
8157         thread_arena.
8158         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8159         thread_arena.
8160         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8161         thread_arena instead of save_arena.
8163 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8165         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8166         (thread_atfork, thread_atfork_static): Remove.
8167         * sysdeps/mach/hurd/malloc-machine.h:
8168         (thread_atfork, thread_atfork_static): Remove.
8170 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8172         [BZ #19431]
8173         Run the malloc fork handler as late as possible to avoid deadlocks.
8174         * malloc/malloc-internal.h: New file.
8175         * malloc/malloc.c: Include it.
8176         * malloc/arena.c (ATFORK_MEM): Remove.
8177         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8178         Update comment.
8179         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8180         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8181         Remove outdated comment.
8182         (ptmalloc_init): Do not call thread_atfork.  Remove
8183         thread_atfork_static.
8184         * malloc/tst-malloc-fork-deadlock.c: New file.
8185         * Makefile (tests): Add tst-malloc-fork-deadlock.
8186         (tst-malloc-fork-deadlock): Link against libpthread.
8187         * manual/memory.texi (Aligned Memory Blocks): Update safety
8188         annotation comments.
8189         * sysdeps/nptl/fork.c (__libc_fork): Call
8190         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8191         __malloc_fork_unlock_child.
8192         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8194 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8196         [BZ #19613]
8197         Remove union wait.
8198         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8199         (w_stopsig, w_stopval): Remove.
8200         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8201         stat_loc argument.
8202         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8203         (__WAIT_STATUS_DEFN): Remove.
8204         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8205         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8206         (wait, wait3, wait4): Use int * for the stat_loc argument.
8207         * posix/wait.c (__wait): Likewise.
8208         * posix/wait3.c (__wait3): Likewise.
8209         * posix/wait4.c (__wait4): Likewise.
8210         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8211         (__WAIT_STATUS_DEFN): Remove.
8212         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8213         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8214         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8215         argument.
8216         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8217         * sysdeps/posix/wait3.c (__wait3): Likewise.
8218         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8219         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8220         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8221         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8222         stat_loc argument.
8223         * manual/process.texi (BSD Wait Functions): Remove union wait.
8225 2016-04-13  Andreas Schwab  <schwab@suse.de>
8227         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8228         (test-extras): Add tst-tlsalign-vars.
8229         * math/Makefile: Wrap long lines.
8230         (libm-vec-test-wrappers): Define.
8231         (test-extras): Add $(libm-vec-test-wrappers).
8232         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8233         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8234         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8235         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8236         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8237         (extra-test-objs): Add corresponding objects.
8239 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8241         [BZ #19928]
8242         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8243         New.
8244         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8245         times of shared cache size.
8246         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8247         (VMOVNT): New.
8248         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8249         (VMOVNT): Likewise.
8250         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8251         (VMOVNT): Likewise.
8252         (VMOVU): Changed to movups for smaller code sizes.
8253         (VMOVA): Changed to movaps for smaller code sizes.
8254         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8255         comments.
8256         (PREFETCH): New.
8257         (PREFETCH_SIZE): Likewise.
8258         (PREFETCHED_LOAD_SIZE): Likewise.
8259         (PREFETCH_ONE_SET): Likewise.
8260         Rewrite to use forward and backward loops, which move 4 vector
8261         registers at a time, to support overlapping addresses and use
8262         non temporal store if size is above the threshold and there is
8263         no overlap between destination and source.
8265 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8267         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8268         Include dl-vdso.
8269         * sysdeps/unix/sysv/linux/mips/Versions: Add
8270         __vdso_clock_gettime.
8271         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8272         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8273         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8274         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8275         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8276         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8277         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8278         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8279         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8281 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8283         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8284         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8285         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8287         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8288         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8291         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8292         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8293         syscalls generation.
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8295         [__NR_pwrite64] (__NR_write): Remove define.
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8297         [__NR_pwrite64] (__NR_write): Remove define.
8298         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8299         Remove define.
8300         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8301         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8302         Remove define.
8303         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8304         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8305         Linux implementation as base.
8306         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8308         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8309         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8314         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8316         syscall generation.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8318         [__NR_pread64] (__NR_pread): Remove define.
8319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8320         [__NR_pread64] (__NR_pread): Likewise.
8321         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8322         define.
8323         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8324         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8325         Remove define.
8326         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8327         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8328         Linux implementation as base.
8329         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8330         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8331         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8333         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8334         definition.
8335         (__ALIGNMENT_COUNT): Likewise.
8336         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8337         (__ALIGNMENT_COUNT): Likewise.
8338         (SYSCALL_LL): New define.
8339         (SYSCALL_LL64): Likewise.
8340         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8341         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8342         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8343         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8345         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8346         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8347         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8348         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8350         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8352 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8354         [BZ #19865]
8355         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8356         original buffer before retry.
8358 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8360         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8361         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8362         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8363         GLRO(dl_auxv) list.
8364         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8365         including <ldsodefs.h>.
8366         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8368 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8370         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8371         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8372         $(CPPFLAGS).
8374 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8376         [BZ #17950]
8377         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8378         Add -mfpmath=387.
8380 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8382         * sysdeps/i386/configure.ac: Change == to = when calling test.
8383         * sysdeps/x86_64/configure.ac: Likewise.
8384         * sysdeps/i386/configure: Regenerated.
8385         * sysdeps/x86_64/configure: Likewise.
8387 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8389         [BZ #16137]
8390         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8391         * benchtests/bench-strcoll.c (input_files): Likewise.
8392         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8393         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8394         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8396 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8398         [BZ #19929]
8399         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8400         [__USE_XOPEN2K8 && !__USE_GNU].
8401         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8402         variable.
8404         [BZ #19925]
8405         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8406         define if [!__USE_MISC && __USE_XOPEN2K].
8407         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8408         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8409         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8410         Likewise.
8411         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8412         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8413         variable.
8414         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8416 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8418         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8419         (sysdep_routines): Add new strspn targets.
8420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8421         (__libc_ifunc_impl_list): Add strspn.
8422         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8423         New file.
8424         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8425         Likewise.
8426         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8427         Likewise.
8428         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8429         Likewise.
8431 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8433         * misc/hsearch_r.c: Include <limits.h>.
8435 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8437         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8439 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8441         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8442         (MEMCPY_SYMBOL): New.
8443         (MEMPCPY_SYMBOL): Likewise.
8444         (MEMMOVE_CHK_SYMBOL): Likewise.
8445         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8446         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8447         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8448         Provide alias for memcpy in libc.a and ld.so.
8450 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8452         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8453         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8454         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8455         Disabled fro now.
8456         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8457         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8459 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8461         * benchtests/Makefile (string-benchset): Add memcpy-large,
8462         memmove-large and memset-large.
8463         * benchtests/bench-memcpy-large.c: New file.
8464         * benchtests/bench-memmove-large.c: Likewise.
8465         * benchtests/bench-memmove-large.c: Likewise.
8466         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8468 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8470         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8471         32-bit displacement to avoid long nop between instructions.
8473 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8475         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8476         a comment on VMOVU and VMOVA.
8478 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8480         [BZ #19633]
8481         Use specified locale for number formatting in strfmon_l.
8482         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8483         (__nl_lookup_word): New inline functions.
8484         * include/printf.h (__print_fp_l): Declare.
8485         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8486         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8487         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8488         (___printf_fp): New function.
8489         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8490         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8491         * stdlib/tst-strfmon_l.c (do_test): New test.
8492         * stdlib/Makefile (tests): Add kt.
8493         (LOCALES): Build additional locales.
8494         (tst-strfmon_l.out): Require locales.
8496 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8498         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8499         if not in libc.
8500         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8501         Likewise.
8502         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8503         Likewise.
8504         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8505         Likewise.
8507 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8509         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8510         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8511         with unaligned_erms.
8512         (__memmove_erms): Skip if source == destination.
8513         (__memmove_unaligned_erms): Don't check source == destination
8514         first.
8516 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8518         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8519         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8521 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8523         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8524         * string/strspn.c (strspn): Likewise.
8526 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8528         * benchtests/bench-memset.c (do_test): Support 64-byte
8529         alignment.
8530         (test_main): Test 64-byte alignment.
8532 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8534         * benchtests/bench-memmove.c (test_main): Test 64-byte
8535         alignment.
8537 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8539         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8541 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8543         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8544         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8545         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8547         * string/strpbrk.c (strpbrk): Rewrite function.
8548         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8549         (__strpbrk_c2): Likewise.
8550         (__strpbrk_c3): Likewise.
8551         * string/string-inlines.c
8552         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8553         Likewise.
8554         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8555         Likewise.
8557         * string/strspn.c (strcspn): Rewrite function.
8558         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8559         (__strspn_c1): Remove inline function.
8560         (__strspn_c2): Likewise.
8561         (__strspn_c3): Likewise.
8562         * string/string-inlines.c
8563         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8564         compatibility symbol.
8565         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8566         Likewise.
8567         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8568         Likewise.
8569         * string/string-inlines.c: Include generic version.
8571 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8572             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8574         * string/Version (libc): Add GLIBC_2.24.
8575         * string/strcspn.c (strcspn): Rewrite function.
8576         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8577         (__strcspn_c1): Remove inline function.
8578         (__strcspn_c2): Likewise.
8579         (__strcspn_c3): Likewise.
8580         * string/string-inline.c
8581         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8582         compatibility symbol.
8583         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8584         Likewise.
8585         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8586         Likewise.
8587         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8589 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8591         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8592         Use ahi instead of aghi to adjust stack pointer.
8594 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8596         [BZ #19853]
8597         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8598         TEST to take significant digits as second parameter.
8599         [TEST]: Redefine in terms of TEST_N taking 30
8600         significant digits.
8601         (do_test): Add test case to demonstrate precision
8602         failure in the ldbl-128ibm printf.
8603         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8604         (__mpn_extract_long_double): Carry 7 extra intermediate
8605         bits of precision to aide computing difference when
8606         signs differ.
8608 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8610         [BZ #19881]
8611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8612         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8613         memset-avx512-unaligned-erms.
8614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8615         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8616         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8617         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8618         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8619         __memset_sse2_unaligned_erms, __memset_erms,
8620         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8621         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8622         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8623         file.
8624         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8625         Likewise.
8626         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8627         Likewise.
8628         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8629         Likewise.
8631 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8633         [BZ #19776]
8634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8635         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8636         memmove-avx512-unaligned-erms.
8637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8638         (__libc_ifunc_impl_list): Test
8639         __memmove_chk_avx512_unaligned_2,
8640         __memmove_chk_avx512_unaligned_erms,
8641         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8642         __memmove_chk_sse2_unaligned_2,
8643         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8644         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8645         __memmove_avx512_unaligned_erms, __memmove_erms,
8646         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8647         __memcpy_chk_avx512_unaligned_2,
8648         __memcpy_chk_avx512_unaligned_erms,
8649         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8650         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8651         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8652         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8653         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8654         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8655         __mempcpy_chk_avx512_unaligned_erms,
8656         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8657         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8658         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8659         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8660         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8661         __mempcpy_erms.
8662         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8663         file.
8664         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8665         Likwise.
8666         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8667         Likwise.
8668         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8669         Likwise.
8671 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8673         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8674         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8675         (La_s390_64_regs): Likewise.
8676         (La_s390_32_retval): Append vector register lrv_v24.
8677         (La_s390_64_retval): Likeweise.
8678         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8679         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8680         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8681         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8683 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8685         [BZ #19916]
8686         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8687         to create a non-vector/vector version for _dl_runtime_resolve and
8688         _dl_runtime_profile. Move implementation to ...
8689         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8690         (_dl_runtime_resolve) Save and restore fpr/vrs.
8691         (_dl_runtime_profile) Save and restore vrs and fix some issues
8692         if _dl_call_pltexit is called.
8693         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8694         Choose the correct resolver function if running on a machine with vx.
8695         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8696         to create a non-vector/vector version for _dl_runtime_resolve and
8697         _dl_runtime_profile. Move implementation to ...
8698         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8699         (_dl_runtime_resolve) Save and restore fpr/vrs.
8700         (_dl_runtime_profile) Save and restore vrs and fix some issues
8701         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8702         Choose the correct resolver function if running on a machine with vx.
8704 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8706         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8708 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8710         [BZ #19509]
8711         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8712         skip_map != NULL.
8713         * elf/tst-dlsym-error.c: New file.
8714         * elf/Makefile (tests): Add tst-dlsym-error.
8715         (tst-dlsym-error): Link against libdl.
8717 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8720         (__ASSUME_FUTIMESAT): Remove macro.
8721         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8723 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8725         [BZ #19879]
8726         CVE-2016-3075
8727         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8728         copy name.
8730 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8732         [BZ #19837]
8733         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8734         error if parse_line fails.
8736 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8738         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8739         (index_cpu_ERMS): Likewise.
8740         (reg_ERMS): Likewise.
8742 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8744         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8745         PER_LINUX_FDPIC): Add.
8747 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8750         memcpy-avx512-no-vzeroupper.
8751         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8752         to ...
8753         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8754         (MEMCPY): Don't define.
8755         (MEMCPY_CHK): Likewise.
8756         (MEMPCPY): Likewise.
8757         (MEMPCPY_CHK): Likewise.
8758         (MEMPCPY_CHK): Renamed to ...
8759         (__mempcpy_chk_avx512_no_vzeroupper): This.
8760         (MEMPCPY_CHK): Renamed to ...
8761         (__mempcpy_chk_avx512_no_vzeroupper): This.
8762         (MEMCPY_CHK): Renamed to ...
8763         (__memmove_chk_avx512_no_vzeroupper): This.
8764         (MEMCPY): Renamed to ...
8765         (__memmove_avx512_no_vzeroupper): This.
8766         (__memcpy_avx512_no_vzeroupper): New alias.
8767         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8769 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8771         [BZ #18858]
8772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8773         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8774         and mempcpy-avx512-no-vzeroupper.
8775         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8776         New.
8777         (MEMPCPY): Likewise.
8778         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8779         (MEMPCPY_CHK): New.
8780         (MEMPCPY): Likewise.
8781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8782         (MEMPCPY): Likewise.
8783         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8784         (MEMPCPY): Likewise.
8785         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8786         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8787         Likewise.
8788         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8789         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8791 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8792              Amit Pawar  <Amit.Pawar@amd.com>
8794         [BZ #19583]
8795         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8796         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8797         processors.  Set Fast_Copy_Backward for AMD Excavator
8798         processors.
8799         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8800         New.
8801         (index_arch_Fast_Unaligned_Copy): Likewise.
8802         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8803         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8805 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8807         [BZ #19791]
8808         * resolv/res_send.c (close_and_return_error): New function.
8809         (send_dg): Initialize *resplen2 after reopen failure.  Call
8810         close_and_return_error for error returns.  On error paths without
8811         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8812         successful return.
8814 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8816         [BZ# 19860]
8817         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8818         zero if the compiler does not provide the AVX512F bit.
8820 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8822         [BZ #19848]
8823         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8824         from 8 to 4.
8825         (__ieee754_powl): Compare integer exponent against 4 not 8.
8826         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8827         from 8 to 4.
8828         (__ieee754_powl): Compare integer exponent against 4 not 8.
8829         * math/auto-libm-test-in: Add more tests of pow.
8830         * math/auto-libm-test-out: Regenerated.
8831         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8836         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8837         Make code unconditional.
8838         [!__NR_utimensat]: Remove conditional code.
8839         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8840         Make code unconditional.
8841         [!__NR_utimensat]: Remove conditional code.
8842         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8843         Make code unconditional.
8844         [!__NR_utimensat]: Remove conditional code.
8846 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8848         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8849         Make code unconditional.
8851 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8853         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8854         call-clobbered %eax on retry path.
8855         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8857 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8859         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8860         Don't set %rcx twice before "rep movsb".
8862 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8864         [BZ #19583]
8865         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8866         inline.  Check family before setting family, model and
8867         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8868         bits here.
8869         (init_cpu_features): Replace HAS_CPU_FEATURE and
8870         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8871         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8872         for Intel processors with usable AVX2.  Call get_common_indeces
8873         for other processors with family == NULL.
8874         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8875         (CPU_FEATURES_ARCH_P): Likewise.
8876         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8877         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8879 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8881         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8882         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8883         $(shared-thread-library) instead of hardcoding the path to libpthread.
8885 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8887         * sysdeps/unix/sysv/linux/kernel-features.h
8888         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8889         * sysdeps/unix/sysv/linux/getdents.c
8890         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8891         [!have_no_getdents64_defined]: Likewise.
8892         (__GETDENTS): Remove __have_no_getdents64 conditional.
8894 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8897         Remove macro.
8898         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8899         <kernel-features.h>.
8900         (signalfd) [__NR_signalfd4]: Make code unconditional.
8901         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8903 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8905         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8906         style.
8908 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8910         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8911         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8912         __pthread_unwind.
8913         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8914         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8916         (__condvar_cleanup1): Likewise.
8918 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8920         [BZ #19822]
8921         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8922         move it to the final $@ location.
8924 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8926         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8927         access where posix_spawn success and pid argument is null.
8928         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8929         success case.
8931 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8933         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8935         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8937         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8938         and __fcntl.
8939         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8940         __fcntl only.
8941         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8942         adding attribute_hidden to __open and __fcntl.
8944         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8945         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8946         depend on libc-modules.h,
8947         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8949 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8952         Remove macro.
8953         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8954         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8955         entry.
8957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8958         Remove macro.
8959         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8960         include <kernel-features.h>.
8961         [!__ASSUME_FALLOCATE]: Remove conditional code.
8962         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8964 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8966         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8967         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8968         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8969         (_ZGVdN4v_cos_avx2): Likewise.
8970         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8971         (_ZGVdN4v_cos): Likewise.
8972         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8973         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8974         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8975         (_ZGVdN4v_exp_avx2): Likewise.
8976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8977         (_ZGVdN4v_exp): Likewise.
8978         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8979         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8980         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8981         (_ZGVdN4v_log_avx2): Likewise.
8982         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8983         (_ZGVdN4v_log): Likewise.
8984         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8985         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8986         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8987         (_ZGVdN4vv_pow_avx2): Likewise.
8988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8989         (_ZGVdN4vv_pow): Likewise.
8990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8991         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8993         (_ZGVdN4v_sin_avx2): Likewise.
8994         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8995         (_ZGVdN4v_sin): Likewise.
8996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8997         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8998         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8999         (_ZGVdN4vvv_sincos_avx2): Likewise.
9000         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9001         (_ZGVdN4vvv_sincos): Likewise.
9002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9003         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9004         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9005         (_ZGVbN4v_cosf_sse4): Likewise.
9006         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9007         (_ZGVdN8v_cosf_avx2): Likewise.
9008         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9009         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9011         (_ZGVbN4v_expf_sse4): Likewise.
9012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9013         (_ZGVdN8v_expf_avx2): Likewise.
9014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9015         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9017         (_ZGVbN4v_logf_sse4): Likewise.
9018         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9019         (_ZGVdN8v_logf_avx2): Likewise.
9020         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9021         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9022         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9023         (_ZGVbN4vv_powf_sse4): Likewise.
9024         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9025         (_ZGVdN8vv_powf_avx2): Likewise.
9026         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9027         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9028         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9029         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9031         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9033         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9035         (_ZGVbN4v_sinf_sse4): Likewise.
9036         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9037         (_ZGVdN8v_sinf_avx2): Likewise.
9038         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9039         Use JUMPTARGET to call callee.
9040         (WRAPPER_IMPL_SSE2_ff): Likewise.
9041         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9042         (WRAPPER_IMPL_AVX): Likewise.
9043         (WRAPPER_IMPL_AVX_ff): Likewise.
9044         (WRAPPER_IMPL_AVX_fFF): Likewise.
9045         (WRAPPER_IMPL_AVX512): Likewise.
9046         (WRAPPER_IMPL_AVX512_ff): Likewise.
9047         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9048         Likewise.
9049         (WRAPPER_IMPL_SSE2_ff): Likewise.
9050         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9051         (WRAPPER_IMPL_AVX): Likewise.
9052         (WRAPPER_IMPL_AVX_ff): Likewise.
9053         (WRAPPER_IMPL_AVX_fFF): Likewise.
9054         (WRAPPER_IMPL_AVX512): Likewise.
9055         (WRAPPER_IMPL_AVX512_ff): Likewise.
9056         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9058 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9060         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9061         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9062         qualifier.
9063         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9064         internal_function qualifiers.
9066 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9068         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9069         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9070         * math/atest-exp.c (exp_mpn): Mark chk unused.
9071         * math/atest-exp2.c (exp_mpn): Likwise.
9072         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9073         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9075 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9078         Remove macro.
9079         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9080         <kernel-features.h>.
9081         [__NR_ppoll]: Make code unconditional.
9082         [!__ASSUME_PPOLL]: Remove conditional code.
9084         * sysdeps/unix/sysv/linux/kernel-features.h
9085         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9086         (__ASSUME_ACCEPT4): Likewise.
9087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9088         Define.
9089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9090         Likewise.
9091         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9092         Likewise.
9093         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9094         Likewise.
9095         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9096         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9097         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9098         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9099         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9102         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9103         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9104         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9105         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9106         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9108         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9109         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9110         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9111         Likewise.
9112         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9113         Likewise.
9114         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9115         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9116         0x040300].
9117         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9118         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9120         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9121         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9122         0x030300].
9123         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9124         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9125         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9126         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9127         0x040300].
9128         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9129         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9131         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9133         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9134         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9135         0x030300].
9136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9137         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9139         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9140         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9141         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9142         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9143         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9144         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9145         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9146         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9147         0x040300].
9148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9149         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9150         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9151         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9152         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9153         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9154         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9155         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9156         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9158         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9159         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9160         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9162         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9163         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9164         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9165         Likewise.
9166         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9167         Likewise.
9169 2016-03-15  Andreas Schwab  <schwab@suse.de>
9171         [BZ #19257]
9172         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9173         statp->_u._ext.nscount as loop count.
9175 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9177         * math/test-signgam-finite-c99.c: Also #undef
9178         __LIBC_INTERNAL_MATH_INLINES.
9179         * math/test-signgam-main.c: Likewise.
9181 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9183         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9184         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9185         (MADV_FREE): Likewise.
9186         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9187         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9188         EPOLLEXCLUSIVE.
9190 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9192         * timezone/README: Remove mention of checktab.awk. Mention wiki
9193         SharedSourceFiles.
9195 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9197         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9198         WUNTRACED.
9200 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9202         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9203         order to match the type of p when calling atomic_exchange_acq().
9205 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9207         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9208         cfi_offset calls.
9209         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9210         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9211         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9212         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9213         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9215 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9217         * timezone/checktab.awk: Removed.
9219 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9221         * manual/math.texi (Errors in Math Functions): Document relaxed
9222         accuracy goals for IBM long double.
9223         * math/libm-test.inc (test_exceptions): Always allow spurious
9224         "underflow" and "inexact" exceptions for IBM long double.
9226 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9228         [BZ #19762]
9229         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9230         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9231         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9232         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9233         (bit_arch_*): This for feature array.
9234         (bit_*): Renamed to ...
9235         (bit_cpu_*): This for cpu array.
9236         (index_*): Renamed to ...
9237         (index_arch_*): This for feature array.
9238         (index_*): Renamed to ...
9239         (index_cpu_*): This for cpu array.
9240         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9241         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9242         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9243         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9244         bit_##name with index_cpu_##name and bit_cpu_##name.
9245         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9246         bit_##name with index_arch_##name and bit_arch_##name.
9248 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9250         [BZ #19792]
9251         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9252         Terminate FDE before return label.
9254 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #19790]
9257         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9258         (rintl): Define as macro.
9259         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9260         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9261         of fesetround.  Ensure results are evaluated before end of scope.
9262         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9263         USE_AS_NEARBYINTL and include s_rintl.c.
9264         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9265         Disable exception traps in new environment.
9266         (libc_feholdsetround_ppc_ctx): Likewise.
9268 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9270         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9271         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9272         (tst_audit10_aux) [__AVX512F__]: ... here.
9274 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9276         * include/sys/auxv.h: New file.
9278 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9280         [BZ #19759]
9281         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9283 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9285         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9286         operand modifier.
9287         (feclearexcept): Likewise.
9289 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9291         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9292         to reflect the entire 32-bit HWCAP.
9293         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9294         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9296 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9298         [BZ #19783]
9299         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9300         $(test-via-rtld-prefix).
9301         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9303 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9305         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9306         union wait.  Report any non-zero exit status as error.
9308 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9310         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9311         configured with --enable-hardcoded-path-in-tests.
9313 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9315         [BZ #19677]
9316         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9317         (__ieee754_remainderl): Put zero low parts in canonical form.
9318         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9319         file.  Based on
9320         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9321         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9322         with wrapper round test-fmodrem-ldbl-128ibm.c.
9323         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9324         file.
9325         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9326         Likewise.
9327         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9328         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9330 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9332         [BZ #19610]
9333         * elf/ldconfig.c (opt_link): Update comment.
9334         (options): Update help string for option -X.
9335         (search_dir): Unlink stale symbolic link only if updating symbolic
9336         links.
9337         * elf/tst-ldconfig-X.sh: New file.
9338         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9339         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9341 2016-03-07  Andreas Schwab  <schwab@suse.de>
9343         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9344         needed arguments.
9346 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9348         [BZ #15333]
9349         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9350         to lstat64.
9352 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9354         * libio/filedoalloc.c (isatty): Remove.
9355         (local_isatty): Add comment.  Call __isatty directly.
9356         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9357         * libio/wfiledoalloc.c (isatty): Remove.
9358         (_IO_wfile_doallocate): Update comment.
9360 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9362         [BZ #19269]
9363         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9364         tst-audit4-aux.o.
9365         (tst-audit10): Depend on tst-audit10-aux.o.
9366         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9367         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9368         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9369         instead of inline AVX code.
9370         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9371         instead of inline AVX512 code.
9372         * sysdeps/x86_64/tst-audit4-aux.c: New file
9373         * sysdeps/x86_64/tst-audit10-aux.c: New file
9375         [BZ #19648]
9376         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9378 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9380         [BZ #14750]
9381         [BZ #10354]
9382         [BZ #18433]
9383         * include/sched.h (__clone): Add hidden prototype.
9384         (__clone2): Likewise.
9385         * include/unistd.h (__dup): Likewise.
9386         * posix/Makefile (tests): Add tst-spawn2.
9387         * posix/tst-spawn2.c: New file.
9388         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9389         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9390         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9391         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9392         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9393         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9394         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9395         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9396         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9397         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9398         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9404         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9405         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9406         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9407         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9408         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9409         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9410         * sysdeps/unix/sysv/linux/nptl-signals.h
9411         (____nptl_is_internal_signal): New function.
9412         * sysdeps/unix/sysv/linux/spawni.c: New file.
9414         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9415         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9416         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9417         * posix/tst-execvp2.c (do_test): Likewise.
9418         * posix/tst-execvp3.c (do_test): Likewise.
9419         * posix/tst-execvp4.c (do_test): Likewise.
9420         * posix/tst-execvpe1.c: New file.
9421         * posix/tst-execvpe2.c: Likewise.
9422         * posix/tst-execvpe3.c: Likewise.
9423         * posix/tst-execvpe4.c: Likewise.
9424         * posix/tst-execvpe5.c: Likewise.
9425         * posix/tst-execvpe6.c: Likewise.
9427         [BZ #19534]
9428         * posix/execl.c (execl): Remove dynamic memory allocation.
9429         * posix/execle.c (execle): Likewise.
9430         * posix/execlp.c (execlp): Likewise.
9432 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9434         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9435         Replace .text with .text.avx512.
9436         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9437         Likewise.
9439 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9441         * sysdeps/generic/libnsl.abilist: New file.
9442         * sysdeps/generic/libutil.abilist: New file.
9444 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9446         [BZ #19762]
9447         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9448         HAS_ARCH_FEATURE with Fast_Rep_String.
9449         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9450         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9451         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9452         Likewise.
9453         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9454         Likewise.
9455         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9456         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9457         Likewise.
9458         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9459         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9460         Likewise.
9462 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9464         [BZ #19745]
9465         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9466         with *%rax in call.
9468 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9470         [BZ #19745]
9471         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9472         with *__libc_start_main@GOTPCREL(%rip) in call.
9474 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9476         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9477         inside conditional for nonempty $(CXX).
9479         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9480         nonempty.
9482         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9483         to test for empty $(CXX) rather than $(CXX) of "no".
9485 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9487         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9489 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9490             H.J. Lu  <hongjiu.lu@intel.com>
9492         [BZ #18880]
9493         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9494         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9495         enable __memcpy_ssse3_back.
9497 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9499         [BZ #19758]
9500         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9501         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9503 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9505         [BZ #19490]
9506         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9507         (__fentry__): Likewise.
9509 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9511         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9512         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9514 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9516         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9517         __mcount_internal directly.
9518         (C_LABEL(__fentry__)): Likewise.
9519         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9520         directly.
9522 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9524         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9525         (__start_context): Call __setcontext directly.
9527 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9529         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9530         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9531         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9532         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9534         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9535         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9536         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9537         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9538         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9539         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9540         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9541         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9542         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9543         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9545         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9546         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9547         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9548         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9549         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9551         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9552         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9553         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9554         Remove conditional code.
9555         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9556         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9557         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9558         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9559         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9560         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9561         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9562         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9563         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9564         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9565         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9566         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9568 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9570         * NEWS (2.23): Fix typo in bug 19048 text.
9572 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9574         [BZ #14259]
9575         * Makeconfig: Rename msgcatdir to localedir.
9576         Rename inst_msgcatdir to inst_localedir.
9577         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9578         * config.make.in: Add localedir.
9579         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9580         (ldd-rewrite): Likewise.
9581         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9582         (install-others): Use inst_localedir.
9583         (CPPFLAGS): Use localedir.
9584         * locale/Makefile (locale-CPPFLAGS): Likewise.
9585         * po/Makefile (mo-installed): Use inst_localedir.
9587         [BZ #19575]
9588         * localedata/charmaps/GB18030: Update comments regarding PAU to
9589         non-PUA mappings.
9591 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9593         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9594         test for header.
9595         * sysdeps/unix/sysv/linux/configure: Regenerated.
9596         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9597         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9598         Remove conditional code.
9599         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9601         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9602         Define to 3.2.0.
9603         (arch_minimum_kernel): Likewise.
9604         * sysdeps/unix/sysv/linux/configure: Regenerated.
9605         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9606         Define to 2.6.32.
9607         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9608         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9609         (arch_minimum_kernel): Define to 2.6.32.
9610         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9611         * README: Document Linux 3.2 requirement.
9612         * manual/install.texi (Linux): Document Linux 3.2 headers
9613         requirement.
9614         * INSTALL: Regenerated.
9616 2016-02-24  Andreas Schwab  <schwab@suse.de>
9618         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9619         if !NO_LONG_DOUBLE.
9621 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9623         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9624         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9626 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9628         [BZ #19512]
9629         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9631 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9633         * posix/tst-dir.c: Include libc-internal.h.
9635 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9637         [BZ #19056]
9638         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9639         * manual/filesys.texi (Reading/Closing Directory): Mention
9640         deprecaion.
9641         * posix/tst-dir.c (main): Disable deprecation warning in test.
9643 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9645         [BZ #19679]
9646         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9647         Renamed to ...
9648         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9649         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9650         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9651         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9652         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9653         * sysdeps/x86_64/dl-trampoline.h
9654         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9655         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9657 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9659         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9661 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9663         * elf/elf.h (R_386_GOT32X): New.
9664         (R_386_NUM): Update.
9665         (R_X86_64_GOTPCRELX: New.
9666         (R_X86_64_REX_GOTPCRELX): New.
9667         (R_X86_64_NUM): Update.
9669 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9671         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9673 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9675         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9676         assign attr->stackaddr to it, and adjust it down when
9677         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9678         [_STACK_GROWS_UP]: Delete assert.
9679         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9680         Implement stack grows up logic.
9681         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9682         stack grows up logic.
9684 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9686         * NEWS: Update with 2.24 template.
9688 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #19678]
9691         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9692         Ensure +0.0 is returned when taking the next value below the least
9693         positive value.
9695 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9697         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9698         available.  Do not define NO_THREADS.
9699         * malloc/malloc.c: Do not check NO_THREADS.
9700         * malloc/arena.c: Likewise.
9702 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9704         * malloc/malloc.c (__libc_mallinfo): Update comment.
9705         (struct malloc_par): Remove max_total_mem member, it was always 0.
9706         (int_mallinfo): Store 0 into usmblks (no functional change).
9707         * malloc/hooks.c (struct malloc_state): Document that
9708         max_total_mem is always 0.
9709         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9710         always 0.
9711         * manual/memory.texi (Statistics of Malloc): Likewise.
9713 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9715         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9716         * malloc/arena.c (arena_max): Remove.
9717         (heap_trim, _int_new_arena): Do not update arena_max.
9719 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9721         * resolv/res_init.c (res_ninit): Update comment.
9723 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9725         [BZ #19505]
9726         * posix/spawn_int.h: Add headers and include guard.
9727         (__spawn_valid_fd): New function.
9728         * posix/spawn_faction_addopen.c
9729         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9730         * posix/spawn_faction_addclose.c
9731         (posix_spawn_file_actions_addclose): Likewise.
9732         * posix/spawn_faction_adddup2.c
9733         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9734         second file descriptor.
9735         * posix/spawn_valid_fd.c: New file.
9736         * posix/tst-posix_spawn-fd.c: New file.
9737         * posix/Makefile (routines): Add spawn_valid_fd.
9738         (tests): Add tst-posix_spawn-fd.
9740 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9742         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9743         (do_test): Limit the number of arenas, so that we can use fewer
9744         outer threads.  Limit timeout to 3 seconds, in preparation for a
9745         larger TIMEOUT value.
9747 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9749         [BZ #19674]
9750         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9751         sign in overflowing and underflowing results when overflow or
9752         underflow is detected early.  Include sign in result before rather
9753         than after scaling.
9755         [BZ #19603]
9756         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9757         (__ieee754_remainderl): Adjust sign of integer version of low part
9758         when taking absolute value of high part.
9759         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9760         * math/libm-test.inc (remainder_test_data): Add another test.
9761         (remquo_test_data): Likewise.
9763 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9765         [BZ #19602]
9766         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9767         equal high parts and both low parts zero specially.
9768         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9769         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9770         Add test-fmodl-ldbl-128ibm.
9772         [BZ #19595]
9773         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9774         common logic for all cases of shifting subnormal results.  Do not
9775         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9776         exponent to ldbl_insert_mantissa in subnormal case.
9778         [BZ #19594]
9779         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9780         on high and low parts then adjust result and use
9781         ldbl_canonicalize_int if needed.
9783         [BZ #19593]
9784         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9785         on high part and __floor or __ceil on low part then use
9786         ldbl_canonicalize_int if needed.
9788         [BZ #19592]
9789         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9790         high and low parts then use ldbl_canonicalize_int if needed.
9792         [BZ #17899]
9793         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9794         New function.
9795         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9796         on high and low parts then use ldbl_canonicalize_int if needed.
9798 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9800         * configure: Regenerated.
9802         * po/libc.pot: Regenerated.
9804         * po/be.po: Updated translation.
9805         * po/bg.po: Likewise.
9806         * po/ca.po: Likewise.
9807         * po/cs.po: Likewise.
9808         * po/da.po: Likewise.
9809         * po/el.po: Likewise.
9810         * po/eo.po: Likewise.
9811         * po/es.po: Likewise.
9812         * po/fi.po: Likewise.
9813         * po/fr.po: Likewise.
9814         * po/gl.po: Likewise.
9815         * po/hr.po: Likewise.
9816         * po/hu.po: Likewise.
9817         * po/ia.po: Likewise.
9818         * po/id.po: Likewise.
9819         * po/it.po: Likewise.
9820         * po/ja.po: Likewise.
9821         * po/lt.po: Likewise.
9822         * po/nb.po: Likewise.
9823         * po/nl.po: Likewise.
9824         * po/pt_BR.po: Likewise.
9825         * po/rw.po: Likewise.
9826         * po/sk.po: Likewise.
9827         * po/sl.po: Likewise.
9828         * po/sv.po: Likewise.
9829         * po/tr.po: Likewise.
9830         * po/zh_CN.po: Likewise.
9831         * po/zh_TW.po: Likewise.
9833         * version.h (RELEAES): Set to "development".
9834         (VERSION): Set to 2.23.90.
9836         * version.h (RELEASE): Set to "stable".
9837         (VERSION): Set to 2.23.
9838         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9840         * NEWS: Updated fixed bugs.
9842 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9843             Wilco Dijkstra  <wdijkstr@arm.com>
9845         [BZ #19462]
9846         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9847         (_STRING_INLINE_unaligned): This.
9848         * include/string.h: Include <string_private.h>.
9849         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9850         _STRING_INLINE_unaligned.
9851         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9852         (_STRING_INLINE_unaligned): New.
9853         * sysdeps/aarch64/string_private.h: New file.
9854         * sysdeps/generic/string_private.h: Likewise.
9855         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9856         * sysdeps/s390/string_private.h: Likewise.
9857         * sysdeps/x86/string_private.h: Likewise.
9858         * sysdeps/m68k/m680x0/m68020/bits/string.h
9859         (_STRING_ARCH_unaligned): Renamed to ...
9860         (_STRING_INLINE_unaligned): This.
9861         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9862         to ...
9863         (_STRING_INLINE_unaligned): This.
9864         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9865         to ...
9866         (_STRING_INLINE_unaligned): This.
9867         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9868         to ...
9869         (_STRING_INLINE_unaligned): This.
9871 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9872             H.J. Lu  <hongjiu.lu@intel.com>
9874         [BZ #19590]
9875         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9876         relocation.
9878 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9880         [BZ #18665]
9881         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9882         *herrno_p.
9883         (gaih_getanswer): Document functional behviour. Return tryagain
9884         if any result is tryagain.
9885         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9886         when freed.
9887         * resolv/res_send.c: Add copyright text.
9888         (__libc_res_nsend): Document that MAXPACKET is expected.
9889         (send_vc): Document. Remove buffer reuse.
9890         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9891         size of the buffer. Add Dprint for truncated UDP buffer.
9893 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9895         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9896         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9897         * INSTALL: Regenerate.
9899 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9900             Jonathan Wakely  <jwakely@redhat.com>
9901             Carlos O'Donell  <carlos@redhat.com>
9903         [BZ 19439]
9904         * math/Makefile (tests): Add test-math-isinff.
9905         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9906         * math/bits/mathcalls.h [__USE_MISC]: Use
9907         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9908         functions not in C++11 and which don't conflict e.g. isinff,
9909         isinfl etc.
9910         * math/test-math-isinff.cc: New file.
9912 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9914         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9916 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9918         [BZ #19529]
9919         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9921 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9923         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9925 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9927         [BZ #19550]
9928         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9929         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9930         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9931         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9932         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9933         New syscall entry.
9934         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9935         New syscall entry.
9936         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9937         syscall entry.
9939 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9941         [BZ #18240]
9942         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9943         unsigned int wraparound.
9945 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9947         [BZ #18240]
9948         * misc/bug18240.c: New test.
9949         * misc/Makefile (tests): Add it.
9951 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9952             Joseph Myers  <joseph@codesourcery.com>
9954         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9955         load in branch delay slot when less than a word of input left.
9957 2016-01-27  Andreas Schwab  <schwab@suse.de>
9959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9960         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9961         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9962         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9964 2016-01-26  David S. Miller  <davem@davemloft.net>
9966         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9968 2016-01-25  David S. Miller  <davem@davemloft.net>
9970         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9971         __sqrtl_finite.
9972         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9973         instead using versioned_symbol.
9974         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9975         of entries.
9977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9978         __sqrtl_finite to GLIBC_2.23
9980 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9982         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9984 2016-01-25  Andreas Schwab  <schwab@suse.de>
9986         [BZ #17514]
9987         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9988         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9989         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9990         * nptl/tst-mutex-errorcheck.c: New file.
9992 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9994         [BZ #18560]
9995         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9996         (IPCOP_semop): Likewise.
9997         (IPCOP_semget): Likewise.
9998         (IPCOP_semctl): Likewise.
9999         (IPCOP_msgsnd): Likewise.
10000         (IPCOP_msgrcv): Likewise.
10001         (IPCOP_msgget): Likewise.
10002         (IPCOP_msgctl): Likewise.
10003         (IPCOP_shmat): Likewise.
10004         (IPCOP_shmdt): Likewise.
10005         (IPCOP_shmget): Likewise.
10006         (IPCOP_shmctl): Likewise.
10008 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10010         * string/tst-endian.c: Include <libc-internal.h>.
10011         (do_test): Ignore tautological-compare warnings around
10012         "htobeXX (beXXtoh (i)) != i" and
10013         "htoleXX (leXXtoh (i)) != i" if-statements.
10015 2016-01-24  David S. Miller  <davem@davemloft.net>
10017         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10018         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10019         alias.
10020         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10021         __sqrtl_finite.
10023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10025 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10027         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10028         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10029         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10031 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10033         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10034         (thread_func): Use new function to simplify barrier check.
10035         (do_test): Use new function to simplify checking barrier exit
10036         code, and actually join the child thread.
10038 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10040         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10041         semicolon.
10042         (__libc_tend): Likewise.
10043         (__libc_tabort): Likewise.
10045 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10047         * sysdeps/nios2/libm-test-ulps: Update.
10048         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10049         (__gtsf2): Likewise.
10050         (__unorddf2): Likewise.
10051         (__unordsf2): Likewise.
10052         (__ledf2): Likewise.
10054 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10056         * nis/nis_table.c (__follow_path): Disable diagnostic for
10057         uninitialized variable that is a false positive for gcc 4.7.
10058         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10060 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10062         * sysdeps/nacl/lowlevellock-futex.h
10063         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10064         Always evaluate PRIVATE argument.
10066 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10068         [BZ #19490]
10069         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10070         (pthread_cond_broadcast): Use ENTRY/END
10071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10072         (pthread_cond_signal): Likewise.
10073         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10074         Likewise.
10075         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10076         Likewise.
10077         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10078         Likewise.
10080 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10082         * sysdeps/ieee754/dbl-64/s_finite.c
10083         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10084         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10085         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10086         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10087         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10090         (__gtsf2): Add as optional for libc.so.
10091         (__unordsf2): Likewise.
10092         (__signbit): Remove for libc.so.
10093         (__signbitl): Likewise.
10095 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10097         * iconvdata/bug-iconv11.c (test_ibm93x):
10098         Use %zu printf format specifier for size_t argument.
10100 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10102         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10103         already-recorded ulps.
10104         * sysdeps/arm/libm-test-ulps: Regenerated.
10105         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10106         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10107         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10109 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10110             Paul Pluzhnikov  <ppluzhnikov@google.com>
10112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10113         assembler not supporting AVX-512.
10115 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10117         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10119 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10121         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10122         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10126         * sysdeps/arm/libm-test-ulps: Regenerated.
10128 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10130         [BZ #19451]
10131         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10133 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10135         [BZ #19486]
10136         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10137         * sysdeps/generic/fix-fp-int-convert-overflow.h
10138         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10139         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10140         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10141         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10142         Likewise.
10143         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10144         Avoid conversions to long int where inexact exceptions
10145         could be raised.
10146         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10147         Likewise.
10148         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10149         Avoid conversions to long long int where inexact exceptions
10150         could be raised.
10151         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10152         Likewise.
10154 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10156         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10157         * configure: Regenerated.
10159 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10161         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10163 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10165         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10166         outside of comment.
10168 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10170         * nptl/tst-barrier1.c: Add description on first line.
10171         * nptl/tst-barrier2.c: Likewise.
10172         * nptl/tst-barrier3.c: Likewise.
10173         * nptl/tst-barrier4.c: Likewise.
10174         * nptl/tst-barrier5.c: Likewise.
10176 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10178         [BZ #18868]
10179         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10181 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10185         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10186         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10187         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10188         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10189         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10190         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10191         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10192         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10195 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10197         [BZ #13065]
10198         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10199         new implementation.
10200         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10201         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10202         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10203         (BARRIER_IN_THRESHOLD): New macro.
10204         * nptl/pthread_barrierattr_setpshared.c
10205         (pthread_barrierattr_setpshared): Clean up.
10206         * nptl/tst-barrier4.c: Correct comment.
10207         * nptl/tst-barrier5.c: New file.
10208         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10209         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10210         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10211         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10212         * nptl/lowlevelbarrier.sym: Remove.
10213         * nptl/DESIGN-barrier.txt: Remove.
10214         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10215         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10216         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10217         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10218         error.
10219         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10220         implementation.
10222 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10224         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10225         (do_child): Mask SIGRTMIN while thr is running.
10227 2016-01-15  Martin Sebor  <msebor@redhat.com>
10229         [BZ #19432]
10230         * iconvdata/Makefile: Add bug-iconv11.
10231         * iconvdata/bug-iconv11.c: New test.
10232         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10233         * iconvdata/ibm933.c: Same.
10234         * iconvdata/ibm935.c: Same.
10235         * iconvdata/ibm937.c: Same.
10236         * iconvdata/ibm939.c: Same.
10238 2016-01-15  Martin Sebor  <msebor@redhat.com>
10240         [BZ #19443]
10241         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10242         [DEBUG] (_ufc_set_bits): Declare used.
10243         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10244         [DEBUG] (print_all): Declare used.
10245         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10246         operands of the ternary ?: expression to target type.
10247         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10248         calling the undeclared abort.
10249         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10251 2016-01-15  Martin Sebor  <msebor@redhat.com>
10253         [BZ #18755]
10254         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10255         warnings.
10256         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10257         (__gai_create_helper_thread): Same.
10258         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10259         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10260         to suppress -Wmaybe-uninitialized warnings.
10262 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10264         [BZ #19465]
10265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10266         inside if.
10267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10268         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10271 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10273         [BZ #19466]
10274         * time/tst-mktime2.c (time_t_max): Removed.
10275         (time_t_min): Likewise.
10276         (TYPE_SIGNED): New.
10277         (TYPE_MINIMUM): Likewise.
10278         (TYPE_MAXIMUM): Likewise.
10279         (TIME_T_MIN): Likewise.
10280         (TIME_T_MAX): Likewise.
10281         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10282         and TIME_T_MIN.
10283         (do_test): Likewise.
10285 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10287         [BZ #19467]
10288         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10289         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10291 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10293         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10295 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10297         * benchtests/Makefile (PYTHON): Define.
10298         (bench-func): Use $(PYTHON) to run python scripts.
10299         ($(objpfx)bench-%.c): Likewise.
10301 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10303         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10304         leading slash when `file_name' is "/".
10306 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10308         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10309         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10310         Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10312         Likewise.
10313         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10314         Likewise.
10315         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10316         enum constant and macro.
10317         (PTRACE_SETSIGMASK): Likewise.
10318         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10319         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10320         (PTRACE_GETSIGMASK): Likewise.
10321         (PTRACE_SETSIGMASK): Likewise.
10322         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10323         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10324         Likewise.
10325         (PTRACE_SETSIGMASK): Likewise.
10326         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10328         (PTRACE_GETSIGMASK): Likewise.
10329         (PTRACE_SETSIGMASK): Likewise.
10330         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10332         Likewise.
10333         (PTRACE_SETSIGMASK): Likewise.
10334         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10335         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10336         Likewise.
10337         (PTRACE_SETSIGMASK): Likewise.
10338         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10339         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10340         Likewise.
10341         (PTRACE_SETSIGMASK): Likewise.
10342         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10344 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10345             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10347         [BZ #19439]
10348         * math/bits/mathcalls.h
10349         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10350         prototype.
10351         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10353 2016-01-11  Andreas Schwab  <schwab@suse.de>
10355         [BZ #19253]
10356         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10357         cache when TZDEFRULES was used.
10358         * time/tst-tzname.c: New file.
10359         * time/Makefile (test): Add tst-tzname.
10360         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10361         * timezone/Makefile (test-zones): Add $(posixrules-file).
10362         ($(testdata)/$(posixrules-file)): New rule.
10364 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10366         Fix doc quoting problems with Texinfo 5
10367         Without this change, in the info file output, Texinfo 5 quotes code
10368         in text with undirected single quotes 'like this' and generates
10369         code examples that with many PDF readers cannot be cut out of PDFs
10370         and pasted into code.
10371         * manual/libc.texinfo: Configure the libc manual like the GNU
10372         Emacs manual, by using @documentencoding and setting
10373         txicodequoteundirected and txicodequotebacktick.  This way,
10374         Texinfo 5 quotes code in text with directed single quotes ‘like
10375         this’ and produces examples that can be cut out of PDFs.  This
10376         change causes Texinfo 5 to generate info files that contain UTF-8
10377         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10378         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10380 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10382         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10383         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10384         barriers to their respective compiler built-ins.
10385         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10386         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10387         * sysdeps/powerpc/sysdep.h: Likewise.
10388         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10389         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10390         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10392 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10394         * scripts/config.guess: Revert previous shebang change.
10395         * scripts/config.sub: Likewise.
10396         * scripts/mkinstalldirs: Likewise.
10398 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10400         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10401         PPC_FEATURE2_HAS_IEEE128.
10402         * sysdeps/powerpc/dl-procinfo.c:
10403         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10405 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10407         [BZ #19415]
10408         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10409         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10410         (_dl_lookup_address): Rewrite using function resolver trampoline.
10411         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10412         two bits in address.
10414 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10416         * longlong.h: Change !__SHMEDIA__ to
10417         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10418         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10420 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10421             Joseph Myers  <joseph@codesourcery.com>
10422             Mark Shinwell  <shinwell@codesourcery.com>
10423             Andrew Stubbs  <ams@codesourcery.com>
10424             Rich Felker <dalias@libc.org>
10426         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10428 2016-01-07  Richard Henderson  <rth@redhat.com>
10430         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10432 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10434         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10435         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10436         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10437         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10438         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10440 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10441             Joseph Myers  <joseph@codesourcery.com>
10443         * timezone/private.h: Update from tzcode 2015g.
10444         * timezone/tzfile.h: Likewise.
10445         * timezone/tzselect.ksh: Likewise.
10446         * timezone/zdump.c: Likewise.
10447         * timezone/zic.c: Likewise.
10448         * timezone/ialloc.c: Remove file.
10449         * timezone/scheck.c: Likewise.
10450         * timezone/Makefile (extra-objs): Remove variable.
10451         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10452         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10453         -Wno-maybe-uninitialized.
10454         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10455         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10456         (CFLAGS-ialloc.c): Remove variable.
10457         (CFLAGS-scheck.c): Likewise.
10458         * timezone/README: Update list of files from tzcode.
10460 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10462         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10463         instead of __fxprintf when _LIBC is undefined.
10465 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10467         * catgets/test-gencat.sh: Remove space after shebang.
10468         * conform/GlibcConform.pm: Likewise.
10469         * conform/check-header-lists.sh: Likewise.
10470         * conform/conformtest.pl: Likewise.
10471         * conform/linknamespace.pl: Likewise.
10472         * conform/list-header-symbols.pl: Likewise.
10473         * debug/catchsegv.sh: Likewise.
10474         * elf/genrtldtbl.awk: Likewise.
10475         * elf/tst-pathopt.sh: Likewise.
10476         * elf/tst-rtld-load-self.sh: Likewise.
10477         * grp/tst_fgetgrent.sh: Likewise.
10478         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10479         * iconvdata/gen-8bit-gap.sh: Likewise.
10480         * iconvdata/gen-8bit.sh: Likewise.
10481         * iconvdata/run-iconv-test.sh: Likewise.
10482         * intl/tst-gettext.sh: Likewise.
10483         * intl/tst-gettext2.sh: Likewise.
10484         * intl/tst-gettext4.sh: Likewise.
10485         * intl/tst-gettext6.sh: Likewise.
10486         * intl/tst-translit.sh: Likewise.
10487         * io/ftwtest-sh: Likewise.
10488         * libio/test-freopen.sh: Likewise.
10489         * locale/gen-translit.pl: Likewise.
10490         * malloc/tst-mtrace.sh: Likewise.
10491         * manual/check-safety.sh: Likewise.
10492         * manual/libc-texinfo.sh: Likewise.
10493         * manual/tsort.awk: Likewise.
10494         * manual/xtract-typefun.awk: Likewise.
10495         * nptl/tst-cancel-wrappers.sh: Likewise.
10496         * nptl/tst-tls6.sh: Likewise.
10497         * posix/globtest.sh: Likewise.
10498         * posix/tst-getconf.sh: Likewise.
10499         * posix/wordexp-tst.sh: Likewise.
10500         * scripts/check-c++-types.sh: Likewise.
10501         * scripts/check-local-headers.sh: Likewise.
10502         * scripts/config.guess: Likewise.
10503         * scripts/config.sub: Likewise.
10504         * scripts/cpp: Likewise.
10505         * scripts/cross-test-ssh.sh: Likewise.
10506         * scripts/documented.sh: Likewise.
10507         * scripts/evaluate-test.sh: Likewise.
10508         * scripts/gen-libc-abis: Likewise.
10509         * scripts/gen-sorted.awk: Likewise.
10510         * scripts/list-fixed-bugs.py: Likewise.
10511         * scripts/merge-test-results.sh: Likewise.
10512         * scripts/mkinstalldirs: Likewise.
10513         * scripts/rellns-sh: Likewise.
10514         * scripts/test-installation.pl: Likewise.
10515         * scripts/update-copyrights: Likewise.
10516         * stdio-common/tst-printf.sh: Likewise.
10517         * stdio-common/tst-unbputc.sh: Likewise.
10518         * stdlib/tst-fmtmsg.sh: Likewise.
10519         * stdlib/tst-setcontext3.sh: Likewise.
10520         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10521         * sysdeps/unix/make-syscalls.sh: Likewise.
10523 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10525         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10526         asm stw with atomic_exchange_rel.  Add explanatory comment.
10527         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10528         Likewise.
10530 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10532         [BZ #19122]
10533         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10534         * sysdeps/generic/dl-unistd.h: New file.
10535         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10537 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10539          [BZ #19122]
10540          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10541          * sysdeps/generic/dl-mman.h: New file.
10542          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10544 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10546         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10547         trailing whitespace removed.
10548         * scripts/config.guess: Update to version 2016-01-01.
10549         * scripts/config.sub: Update to version 2016-01-01.
10550         * scripts/move-if-change: Update from gnulib.
10552 2016-01-04  Anton Blanchard  <anton@samba.org>
10554         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10555         for array indices.
10556         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10558 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10560         * NEWS: Update copyright dates.
10561         * catgets/gencat.c (print_version): Likewise.
10562         * csu/version.c (banner): Likewise.
10563         * debug/catchsegv.sh: Likewise.
10564         * debug/pcprofiledump.c (print_version): Likewise.
10565         * debug/xtrace.sh (do_version): Likewise.
10566         * elf/ldconfig.c (print_version): Likewise.
10567         * elf/ldd.bash.in: Likewise.
10568         * elf/pldd.c (print_version): Likewise.
10569         * elf/sotruss.sh: Likewise.
10570         * elf/sprof.c (print_version): Likewise.
10571         * iconv/iconv_prog.c (print_version): Likewise.
10572         * iconv/iconvconfig.c (print_version): Likewise.
10573         * locale/programs/locale.c (print_version): Likewise.
10574         * locale/programs/localedef.c (print_version): Likewise.
10575         * login/programs/pt_chown.c (print_version): Likewise.
10576         * malloc/memusage.sh (do_version): Likewise.
10577         * malloc/memusagestat.c (print_version): Likewise.
10578         * malloc/mtrace.pl: Likewise.
10579         * manual/libc.texinfo: Likewise.
10580         * nptl/version.c (banner): Likewise.
10581         * nscd/nscd.c (print_version): Likewise.
10582         * nss/getent.c (print_version): Likewise.
10583         * nss/makedb.c (print_version): Likewise.
10584         * posix/getconf.c (main): Likewise.
10585         * scripts/test-installation.pl: Likewise.
10586         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10588         * All files with FSF copyright notices: Update copyright dates
10589         using scripts/update-copyrights.
10590         * intl/plural.c: Regenerated.
10591         * locale/programs/charmap-kw.h: Likewise.
10592         * locale/programs/locfile-kw.h: Likewise.
10594 2016-01-02  Helge Deller  <deller@gmx.de>
10596         [BZ #19285]
10597         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10598         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10599         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10600         (MADV_xxK_PAGES): Remove.
10602 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10604         [BZ #15421]
10605         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10606         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10607         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10608         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10610 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10612         [BZ #19408]
10613         * sysdeps/unix/sysv/linux/personality.c: New file.
10614         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10615         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10616         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10617         (sysdep_routines): Add personality.
10618         (tests): Add tst-personality.
10619         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10620         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10621         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10622         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10623         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10624         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10625         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10628         Likewise.
10629         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10632         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10633         Likewise.
10635 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10637         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10638         (PATH_ARM_SYSTYPE): Remove.
10639         (PATH_CPUINFO): Likewise.
10640         (IO_BASE_FOOTBRIDGE): Likewise.
10641         (IO_SHIFT_FOOTBRIDGE): Likewise.
10642         (struct platform): Likewise.
10643         (init_iosys): Remove compatibility code for 2.4 kernels.
10644         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10646 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10648         * malloc/tst-malloc-thread-fail.c: New file.
10649         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10650         (tst-malloc-thread-fail): Link against libpthread.
10652 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10654         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10655         (get_parser): New function.
10656         (main): New function.
10658 2015-12-29  Rob Wu  <rob@robwu.nl>
10660         [BZ #19369]
10661         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10663 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10665         [BZ #19270]
10666         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10668 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10670         [BZ #15421]
10671         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10673 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10675         [BZ #13690]
10676         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10677         after releasing it.
10678         (__lll_robust_unlock): Likewise.
10679         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10680         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10681         (lll_robust_unlock): Likewise.
10682         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10683         Prevent warnings in callers.
10685 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10687         * malloc/arena.c (list_lock): Update comment.
10689 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10691         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10692         __parse_hwcap_and_convert_at_platform to libc.a.
10694 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10696         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10697         platform and feature support for POWER9.
10698         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10699         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10700         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10701         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10702         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10703         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10704         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10705         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10707 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10709         Harmonize generic stdio-lock support with nptl
10711         This fixes build when _IO_funlockfile is a macro, fixes build where
10712         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10713         stack unwind.
10715         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10716         _IO_release_lock ): Use cleanup attribute on new
10717         _IO_acquire_lock_file variable instead of assuming that
10718         _IO_release_lock will be called.
10719         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10720         _IO_acquire_lock_needs_exceptions_enabled.
10721         (_IO_acquire_lock_clear_flags2): New macro.
10723 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10725         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10727 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10729         [BZ #19182]
10730         * malloc/arena.c (list_lock): Document lock ordering requirements.
10731         (free_list_lock): New lock.
10732         (ptmalloc_lock_all): Comment on free_list_lock.
10733         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10734         (detach_arena): Update comment.  free_list_lock is now needed.
10735         (_int_new_arena): Use free_list_lock around detach_arena call.
10736         Acquire arena lock after list_lock.  Add comment, including FIXME
10737         about incorrect synchronization.
10738         (get_free_list): Switch to free_list_lock.
10739         (reused_arena): Acquire free_list_lock around detach_arena call
10740         and attached threads counter update.  Add two FIXMEs about
10741         incorrect synchronization.
10742         (arena_thread_freeres): Switch to free_list_lock.
10743         * malloc/malloc.c (struct malloc_state): Update comments to
10744         mention free_list_lock.
10746 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10748         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10749         Remove functions.
10750         (sloww, sloww1): Accept argument to offset quadrant.
10751         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10752         quadrant.
10753         (__sin, __cos): Consolidate common code into new functions.
10754         (reduce_sincos_1, do_sincos_1): New functions.
10755         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10758         code to new functions.
10759         (reduce_sincos_2, do_sincos_2): New functions.
10760         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10763         common code for sincos.
10764         (__cos) [!IN_SINCOS]: Likewise.
10765         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10766         New function.
10767         (__sincos): Use it.
10769 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10771         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10772         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10773         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10775 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10777         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10780         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10781         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10782         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10783         index_Prefer_No_VZEROUPPER): New feature.
10784         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10785         Prefer_No_VZEROUPPER for Knights Landing.
10787 015-12-18  Torvald Riegel  <triegel@redhat.com>
10789         * math/atest-exp2.c (mp_exp_m1): Remove.
10791 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10793         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10794         syscalls.
10795         (__SYSCALL0): New macro.
10796         (__SYSCALL1): Likewise.
10797         (__SYSCALL2): Likewise.
10798         (__SYSCALL3): Likewise.
10799         (__SYSCALL4): Likewise.
10800         (__SYSCALL5): Likewise.
10801         (__SYSCALL6): Likewise.
10802         (__SYSCALL_CONCAT_X): Likewise.
10803         (__SYSCALL_CONCAT): Likewise.
10804         (__SYSCALL_DIST): Likewise.
10805         (__SYSCALL_CALL): Likewise.
10807 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10809         [BZ #19363]
10810         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10812 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10814         [BZ #19375]
10815         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10816         negative subnormals.
10818 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10821         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10822         (INTERNAL_SYSCALL_NCS): Use it.
10823         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10825 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10827         [BZ #19243]
10828         * malloc/arena.c (get_free_list): Remove assert and adjust
10829         reference count handling.  Add comment about reused_arena
10830         interaction.
10831         (reused_arena): Add comments abount get_free_list interaction.
10832         * malloc/tst-malloc-thread-exit.c: New file.
10833         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10834         (tst-malloc-thread-exit): Link against libpthread.
10836 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10838         [BZ #19367]
10839         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10840         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10841         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10842         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10843         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10845 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10847         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10848         Silvermont optimizations for Knights Landing.
10850 2015-12-15  Andreas Schwab  <schwab@suse.de>
10852         [BZ #17197]
10853         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10854         immediately after emitting SI.
10855         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10856         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10857         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10858         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10859         * iconvdata/bug-iconv10.c: New file.
10860         * iconvdata/Makefile (tests): Add bug-iconv10.
10861         ($(objpfx)bug-iconv10.out): New rule.
10863 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10865         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10866         aliasing violation.
10868 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10870         [BZ #18472]
10871         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10872         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10873         conditionals for them.
10874         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10875         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10877         sys/kdaemon.h.
10878         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10879         compat-only syscall, obsoleted in glibc 2.23.
10880         (create_module): Likewise.
10881         (get_kernel_syms): Likewise.
10882         (query_module): Likewise.
10883         (uselib): Likewise.
10884         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10886 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10888         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10889         <linux/version.h>.
10890         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10891         conditional code.
10892         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10893         and ioshift_name initialization.
10895 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10897         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10898         Fix indentation.
10900 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10902         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10904 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10906         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10908 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10909             Jakub Wilk  <jwilk@debian.org>
10911         [BZ #19347]
10912         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10913         to change the group of the device to the tty group.
10915 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10917         Split large string section; add truncation advice
10918         * manual/examples/strncat.c: Remove.
10919         This example was misleading, as the code would have undefined
10920         behavior if "hello" was longer than SIZE.  Anyway, the manual
10921         shouldn't encourage strncpy+strncat for this sort of thing.
10922         * manual/string.texi (Copying Strings and Arrays): Split into
10923         three sections Copying Strings and Arrays, Concatenating Strings,
10924         and Truncating Strings, as this section was way too long.  All
10925         cross-referenced changed.  Add advice about string-truncation
10926         functions.  Remove misleading strncat example.
10928 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10930         * manual/nss.texi (NSS Modules Interface): Document
10931         NSS_STATUS_NOTFOUND and SUCCESS.
10933 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10935         [BZ 18568]
10936         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10937         201505L, for Unicode 8.
10939 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10941         * locale/C-translit.h: Regenerate.
10943 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10945         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10946         and U+0153.
10948 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10950         [BZ #19351]
10951         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10952         expanding log(1+z), compare z rather than its square with epsilon
10953         to determine when to avoid evaluating the expansion.
10955         [BZ #19350]
10956         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10957         Increase overflow threshold.
10959         [BZ #19349]
10960         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10961         when small.
10963         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10965         New macro.
10966         [__LINUX_KERNEL_VERSION >= 0x040300]
10967         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10969         Likewise.
10970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10971         Likewise.
10972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10973         Likewise.
10974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10975         Likewise.
10976         [__LINUX_KERNEL_VERSION >= 0x040300]
10977         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10978         [__LINUX_KERNEL_VERSION >= 0x040300]
10979         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10980         [__LINUX_KERNEL_VERSION >= 0x040300]
10981         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10982         [__LINUX_KERNEL_VERSION >= 0x040300]
10983         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10984         [__LINUX_KERNEL_VERSION >= 0x040300]
10985         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10987         Likewise.
10988         [__LINUX_KERNEL_VERSION >= 0x040300]
10989         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10990         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10991         Likewise.
10992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10993         Likewise.
10994         [__LINUX_KERNEL_VERSION >= 0x040300]
10995         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10997         Likewise.
10998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10999         Likewise.
11000         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11002         Likewise.
11003         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11004         Likewise.
11005         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11006         Likewise.
11007         [__LINUX_KERNEL_VERSION >= 0x040300]
11008         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11010         Likewise.
11011         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11012         Likewise.
11013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11014         Likewise.
11015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11016         Likewise.
11017         [__LINUX_KERNEL_VERSION >= 0x040300]
11018         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11019         [__LINUX_KERNEL_VERSION >= 0x040300]
11020         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11021         [__LINUX_KERNEL_VERSION >= 0x040300]
11022         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11023         [__LINUX_KERNEL_VERSION >= 0x040300]
11024         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11025         [__LINUX_KERNEL_VERSION >= 0x040300]
11026         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11028         Likewise.
11029         [__LINUX_KERNEL_VERSION >= 0x040300]
11030         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11031         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11032         Likewise.
11033         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11034         Likewise.
11035         [__LINUX_KERNEL_VERSION >= 0x040300]
11036         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11037         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11038         Likewise.
11039         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11040         Likewise.
11041         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11042         (__ASSUME_SOCKET_SYSCALL): Likewise.
11043         (__ASSUME_BIND_SYSCALL): Likewise.
11044         (__ASSUME_CONNECT_SYSCALL): Likewise.
11045         (__ASSUME_LISTEN_SYSCALL): Likewise.
11046         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11047         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11048         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11049         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11050         (__ASSUME_SEND_SYSCALL): Likewise.
11051         (__ASSUME_SENDTO_SYSCALL): Likewise.
11052         (__ASSUME_RECV_SYSCALL): Likewise.
11053         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11054         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11055         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11056         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11057         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11058         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11059         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11060         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11061         Likewise.
11062         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11063         Likewise.
11064         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11065         Likewise.
11066         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11067         Likewise.
11068         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11069         Likewise.
11070         [__LINUX_KERNEL_VERSION >= 0x020625]
11071         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11072         [__LINUX_KERNEL_VERSION >= 0x020625]
11073         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11074         [__LINUX_KERNEL_VERSION >= 0x020625]
11075         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11076         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11077         Likewise.
11078         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11079         Likewise.
11080         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11081         Likewise.
11082         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11083         Likewise.
11084         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11085         Likewise.
11086         [__LINUX_KERNEL_VERSION >= 0x020625]
11087         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11088         [__LINUX_KERNEL_VERSION >= 0x020625]
11089         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11090         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11091         Likewise.
11092         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11093         Likewise.
11095 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11097         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11098         record the current if the current ABI and CPU support the FP64
11099         extension.
11100         (has-modd-spreg): Define to record the current if the current ABI and
11101         CPU support 32-bit floating point values in odd FPU registers.
11102         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11103         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11104         $(has-modd-spreg) equals yes.
11105         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11106         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11107         $(has-modd-spreg) equal yes.
11109 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11111         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11112         basename.
11114 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11116         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11117         (bench-string): ... here.
11118         (bench): Add bench-string.
11119         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11120         to *-benchset to reflect what they are.
11121         (benchset): Adjust.
11123         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11124         cos-inputs.
11126 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11128         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11129         __attribute__ ((__simd__)) for vector math function declarations.
11131 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11133         Fix typo in strncat, wcsncat manual entries
11134         * manual/string.texi (Copying and Concatenation): Fix typos in
11135         sample implementations of strncat and wcsncat, by having them use
11136         the old value of the destination length, not the new one.
11138 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11140         [BZ #16961]
11141         [BZ #16962]
11142         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11143         string on the stack for strtod.
11144         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11145         a string on the stack for strtof.
11146         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11147         constructing a string on the stack for strtold.
11148         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11149         __strtold_nan to GLIBC_PRIVATE.
11150         * math/test-nan-overflow.c: New file.
11151         * math/test-nan-payload.c: Likewise.
11152         * math/Makefile (tests): Add test-nan-overflow and
11153         test-nan-payload.
11155 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11157         Consistency about byte vs character in string.texi
11158         * manual/string.texi (String and Array Utilities):
11159         Distinguish more carefully among bytes, multibyte characters,
11160         and wide characters.  Use "byte" when talking about C 'char',
11161         to distinguish it more clearly from multibyte characters.
11162         Say "wide character" or "multibyte character" instead of
11163         "character", when a wide or multibyte character is intended.
11164         Similarly for "multibyte string" versus "string".
11165         Define these terms more carefully.
11167 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11169         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11170         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11171         Likewise.
11172         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11173         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11174         * sysdeps/sh/math_private.h: New file.
11175         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11176         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11177         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11178         long double function name.
11179         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11180         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11181         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11185         Remove __finitel, __isinfl, and __isnanl.
11186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11187         Likewise.
11188         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11190         Remove __finitel.
11191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11192         Likewise.
11193         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11195 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11197         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11198         installed libmvec_nonshared.a.
11200 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11202         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11203         (sysdep_routines): Likewise.
11204         (sysdep-rtld-routines): Likewise.
11205         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11206         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11207         * sysdeps/powerpc/Versions: Added new
11208         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11209         * sysdeps/powerpc/hwcapinfo.c: New file.
11210         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11211         and parse hwcap, hwcap2 and platform number information.
11212         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11213         to store HWCAP+HWCAP2 and platform number.
11214         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11215         for HWCAP+HWCAP2 and platform number in the TCB.
11216         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11217         the HWCAP, HWCAP2 and platform number in the TCB.
11218         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11219         (TLS_INIT_TP): Included calls to add the hwcap and
11220         at_platform values in the TCB in TP initialization.
11221         (TLS_DEFINE_INIT_TP): Likewise.
11222         (THREAD_GET_HWCAP): New macro.
11223         (THREAD_SET_HWCAP): Likewise.
11224         (THREAD_GET_AT_PLATFORM): Likewise.
11225         (THREAD_SET_AT_PLATFORM): Likewise.
11226         * sysdeps/powerpc/powerpc32/dl-machine.h:
11227         (dl_platform_init): New function that calls
11228         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11229         powerpc32.
11230         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11231         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11232         this functionality, static linking case.
11233         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11234         linking case.
11235         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11236         __parse_hwcap_and_convert_at_platform for the static linking case.
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11238         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11239         ABI list for GLIBC 2.23.
11240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11241         Likewise.
11242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11243         Likewise.
11245 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11247         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11248         * configure: Regenerate.
11249         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11250         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11252 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11254         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11255         * iconvdata/ibm933.c: Likewise.
11256         * iconvdata/ibm935.c: Likewise.
11257         * iconvdata/ibm937.c: Likewise.
11258         * iconvdata/ibm939.c: Likewise.
11260 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11262         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11263         pthread_join.
11264         * nptl/tst-cancel21.c (tf): Likewise.
11266 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11268         [BZ #19313]
11269         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11270         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11271         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11272         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11279         Likewise.
11280         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11281         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11282         unsigned long int with __CPU_MASK_TYPE.
11284 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11286         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11288 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11290         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11291         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11292         t512.x.
11293         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11295 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11297         [BZ #19214]
11298         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11299         argument to return extended model.  Update family and model
11300         with extended family and model when family == 0x0f.
11301         (init_cpu_features): Updated.
11303 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11305         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11306         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11308         * sysdeps/mach/hurd/mmap64.c: New file.
11310 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11312         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11313         rights for its main user thread in NEWTASK.
11315 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11317         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11318         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11320 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11322         [BZ #14259]
11323         * Makeconfig: Rename localedir to complocaledir.
11324         Rename inst_localedir to inst_complocaledir.
11325         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11326         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11327         * configure.ac: Use libc_cv_complocaledir.
11328         * configure: Regenerate.
11329         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11330         -DCOMPLOCALEDIR.
11331         * locale/findlocale.c: Use COMPLOCALEDIR.
11332         * locale/loadarchive.c: Likewise.
11333         * locale/programs/locale.c: Likewise.
11334         * locale/programs/localedef.c: Likewise.
11335         * locale/programs/locarchive.c: Likewise.
11336         * localedata/Makefile: Use inst_complocaledir.
11337         * sysdeps/gnu/configure: Regenerate.
11338         * sysdeps/hppa/configure: Regenerate.
11339         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11340         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11342         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11343         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11344         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11345         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11347 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11349         [BZ #19058]
11350         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11351         AS_NEEDED.
11352         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11353         workaround.
11354         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11355         libmvec-static-only-routines): Added new file.
11356         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11358 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11360         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11361         of interrupted RPC instead of restoring it.
11363         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11364         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11365         libc_hidden_def.
11366         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11367         into initialized data instead of common. Define rtld_hidden_data_def.
11368         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11369         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11370         libc_hidden_def.
11371         (if_freenameindex): Add libc_hidden_weak.
11372         (if_nameindex): Add libc_hidden_weak.
11373         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11374         __open64.
11375         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11376         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11377         * sysdeps/mach/nanosleep.c: Include <time.h>
11378         (__nanosleep): Rename to __libc_nanosleep.
11379         (__nanosleep): Add weak_alias.
11380         (nanosleep): Update alias.
11382 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11384         * stdlib/strtod_nan.c: New file.
11385         * stdlib/strtod_nan_double.h: Likewise.
11386         * stdlib/strtod_nan_float.h: Likewise.
11387         * stdlib/strtod_nan_main.c: Likewise.
11388         * stdlib/strtod_nan_narrow.h: Likewise.
11389         * stdlib/strtod_nan_wide.h: Likewise.
11390         * stdlib/strtof_nan.c: Likewise.
11391         * stdlib/strtold_nan.c: Likewise.
11392         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11393         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11394         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11395         * wcsmbs/wcstod_nan.c: Likewise.
11396         * wcsmbs/wcstof_nan.c: Likewise.
11397         * wcsmbs/wcstold_nan.c: Likewise.
11398         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11399         strtold_nan.
11400         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11401         wcstof_nan.
11402         * include/stdlib.h (__strtof_nan): Declare and use
11403         libc_hidden_proto.
11404         (__strtod_nan): Likewise.
11405         (__strtold_nan): Likewise.
11406         (__wcstof_nan): Likewise.
11407         (__wcstod_nan): Likewise.
11408         (__wcstold_nan): Likewise.
11409         * include/wchar.h (____wcstoull_l_internal): Declare.
11410         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11411         (____strtoull_l_internal): Remove declaration.
11412         (STRTOF_NAN): Define macro.
11413         (SET_MANTISSA): Remove macro.
11414         (STRTOULL): Likewise.
11415         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11416         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11417         (STRTOF_NAN): Define macro.
11418         (SET_MANTISSA): Remove macro.
11419         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11420         (SET_MANTISSA): Remove macro.
11421         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11422         macro.
11423         (SET_MANTISSA): Remove macro.
11424         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11425         macro.
11426         (SET_MANTISSA): Remove macro.
11427         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11428         (SET_MANTISSA): Remove macro.
11429         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11430         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11431         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11433         [BZ #19266]
11434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11435         upper case and lower case letters inside NAN(), not using TOLOWER.
11436         * stdlib/tst-strtod-nan-locale-main.c: New file.
11437         * stdlib/tst-strtod-nan-locale.c: Likewise.
11438         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11439         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11440         Depend on $(gen-locales).
11441         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11442         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11443         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11444         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11445         Depend on $(gen-locales).
11446         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11448 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11450         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11452         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11454         __finitel, __isinfl, and __isnanl.
11455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11456         Likewise.
11457         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11459         __finitel.
11460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11461         Likewise.
11462         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11464 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11466         * malloc/memusage.c (me): Remove redundant getenv call.
11468 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11470         [BZ #19143]
11471         [BZ #19164]
11472         * nptl/check-cpuset.h: Remove.
11473         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11474         Remove CPU set size check.
11475         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11478         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11479         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11480         (__pthread_setaffinity_new): Remove CPU set size check.
11481         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11482         (__kernel_cpumask_size): Remove.
11483         (__sched_setaffinity_new): Remove CPU set size check.
11484         * manual/threads.texi (Default Thread Attributes): Remove stale
11485         reference to check_cpuset_attr, determine_cpumask_size in comment.
11486         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11487         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11488         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11489         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11490         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11491         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11492         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11493         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11494         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11495         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11496         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11497         skeleton test file.
11498         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11499         tst-affinity-pid.
11501 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11503         * scripts/update-abilist.sh: New file.
11504         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11505         * Makerules (update-all-abi-%, update-all-abi)
11506         (subdir_update-all-abi): New targets.
11507         * elf/Makefile (update-all-abi): New target.
11509 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11511         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11512         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11513         (__libc_lock_define_initialized): Use it.
11514         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11515         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11516         * malloc/malloc.c (main_arena): Likewise.
11517         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11518         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11520 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11522         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11523         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11524         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11525         (PTRACE_O_MASK): Update value.
11526         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11527         New value in enum __ptrace_setoptions.
11528         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11529         (PTRACE_O_MASK): Update value.
11530         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11531         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11532         (PTRACE_O_MASK): Update value.
11533         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11534         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11535         (PTRACE_O_MASK): Update value.
11536         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11537         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11538         (PTRACE_O_MASK): Update value.
11539         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11540         New value in enum __ptrace_setoptions.
11541         (PTRACE_O_MASK): Update value.
11542         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11543         New value in enum __ptrace_setoptions.
11544         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11545         (PTRACE_O_MASK): Update value.
11547         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11548         New macro.
11549         (PACKET_AUXDATA): Likewise.
11550         (PACKET_ORIGDEV): Likewise.
11551         (PACKET_VERSION): Likewise.
11552         (PACKET_HDRLEN): Likewise.
11553         (PACKET_RESERVE): Likewise.
11554         (PACKET_TX_RING): Likewise.
11555         (PACKET_LOSS): Likewise.
11556         (PACKET_VNET_HDR): Likewise.
11557         (PACKET_TX_TIMESTAMP): Likewise.
11558         (PACKET_TIMESTAMP): Likewise.
11559         (PACKET_FANOUT): Likewise.
11560         (PACKET_TX_HAS_OFF): Likewise.
11561         (PACKET_QDISC_BYPASS): Likewise.
11562         (PACKET_ROLLOVER_STATS): Likewise.
11563         (PACKET_FANOUT_DATA): Likewise.
11564         (PACKET_MR_UNICAST): Likewise.
11566         [BZ #19242]
11567         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11568         (TOUPPER): Likewise.
11569         * stdlib/tst-strtol-locale-main.c: New file.
11570         * stdlib/tst-strtol-locale.c: Likewise.
11571         * stdlib/Makefile (tests): Add tst-strtol-locale.
11572         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11573         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11574         Depend on $(gen-locales).
11575         * wcsmbs/tst-wcstol-locale.c: New file.
11576         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11577         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11578         tr_TR.ISO-8859-9.
11579         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11580         Depend on $(gen-locales).
11582 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11584         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11585         __glibc_likely instead of __builtin_expect.  After falling back to
11586         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11587         system interface to register the code pages as occupied.
11589 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11591         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11592         [!ARM_MATH_PRIVATE_H].
11593         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11594         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11595         [!HPPA_MATH_PRIVATE_H].
11596         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11597         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11598         to [!I386_MATH_PRIVATE_H].
11599         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11600         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11601         Change guard to [!M68K_MATH_PRIVATE_H].
11602         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11603         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11604         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11605         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11606         macro.
11607         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11608         [!MIPS_MATH_PRIVATE_H].
11609         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11610         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11611         [!NIO2_MATH_PRIVATE_H].
11612         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11613         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11614         [!TILE_MATH_PRIVATE_H].
11615         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11617         [BZ #15421]
11618         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11619         initialize with 0 and define as weak alias of __signgam.
11620         * include/math.h [!_ISOMAC] (__signgam): Declare.
11621         * math/Makefile (libm-calls): Add w_lgamma_compat.
11622         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11623         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11624         test-signgam-ullong-init.
11625         (tests-static): Add test-signgam-uchar-static,
11626         test-signgam-uchar-init-static, test-signgam-uint-static,
11627         test-signgam-uint-init-static, test-signgam-ullong-static and
11628         test-signgam-ullong-init-static.
11629         (CFLAGS-test-signgam-uchar.c): New variable.
11630         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11631         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11632         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11633         (CFLAGS-test-signgam-uint.c): Likewise.
11634         (CFLAGS-test-signgam-uint-init.c): Likewise.
11635         (CFLAGS-test-signgam-uint-static.c): Likewise.
11636         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11637         (CFLAGS-test-signgam-ullong.c): Likewise.
11638         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11639         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11640         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11641         * math/Versions (libm): Add GLIBC_2.23.
11642         * math/lgamma-compat.h: New file.
11643         * math/test-signgam-main.c: Likewise.
11644         * math/test-signgam-uchar-init-static.c: Likewise.
11645         * math/test-signgam-uchar-init.c: Likewise.
11646         * math/test-signgam-uchar-static.c: Likewise.
11647         * math/test-signgam-uchar.c: Likewise.
11648         * math/test-signgam-uint-init-static.c: Likewise.
11649         * math/test-signgam-uint-init.c: Likewise.
11650         * math/test-signgam-uint-static.c: Likewise.
11651         * math/test-signgam-uint.c: Likewise.
11652         * math/test-signgam-ullong-init-static.c: Likewise.
11653         * math/test-signgam-ullong-init.c: Likewise.
11654         * math/test-signgam-ullong-static.c: Likewise.
11655         * math/test-signgam-ullong.c: Likewise.
11656         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11657         wrapper of w_lgamma_main.c.
11658         * math/w_lgamma_compat.c: New file.
11659         * math/w_lgamma_compatf.c: Likewise.
11660         * math/w_lgamma_compatl.c: Likewise.
11661         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11662         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11663         defining compatibility symbols.
11664         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11665         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11666         wrapper of w_lgammaf_main.c.
11667         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11668         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11669         defining compatibility symbols.
11670         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11671         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11672         wrapper of w_lgammal_main.c.
11673         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11674         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11675         defining compatibility symbols.
11676         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11677         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11678         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11679         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11680         <lgamma-compat.h>.
11681         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11682         (__ieee754_gamma): Define as alias.
11683         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11684         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11685         <lgamma-compat.h>.
11686         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11687         (__ieee754_gammaf): Define as alias.
11688         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11689         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11690         <lgamma-compat.h>.
11691         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11692         (__ieee754_gammal): Define as alias.
11693         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11694         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11695         <math/w_lgamma_compat.c>.
11696         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11697         Define as alias of __lgamma_compat and use in defining lgammal.
11698         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11699         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11700         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11701         (USE_AS_COMPAT): New macro.
11702         (LGAMMA_OLD_VER): Undefine and redefine.
11703         (lgammal): Do not define here.
11704         (gammal): Only define here if [GAMMA_ALIAS].
11705         * conform/linknamespace.pl (@whitelist): Remove signgam.
11706         * sysdeps/nacl/libm.abilist: Update.
11707         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11711         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11712         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11713         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11714         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11720         Likewise.
11721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11722         Likewise.
11723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11724         Likewise.
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11726         Likewise.
11727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11728         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11729         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11730         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11733         Likewise.
11734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11735         Likewise.
11736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11740 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11742         [BZ #16364]
11743         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11744         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11746 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11748         * sysdeps/s390/fpu/bits/mathinline.h:
11749         Use __asm__ [__volatile__] instead of asm [volatile].
11750         * sysdeps/s390/abort-instr.h: Likewise.
11751         * sysdeps/s390/atomic-machine.h: Likewise.
11752         * sysdeps/s390/bits/string.h: Likewise.
11753         * sysdeps/s390/dl-tls.h: Likewise.
11754         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11755         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11756         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11757         * sysdeps/s390/fpu/fesetround.c: Likewise.
11758         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11759         * sysdeps/s390/fpu/s_fma.c: Likewise.
11760         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11761         * sysdeps/s390/memusage.h: Likewise.
11762         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11763         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11764         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11765         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11766         * sysdeps/s390/nptl/tls.h: Likewise.
11767         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11768         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11769         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11770         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11771         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11772         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11773         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11774         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11775         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11776         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11777         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11778         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11779         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11780         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11781         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11782         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11783         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11784         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11785         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11786         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11787         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11789         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11791 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11792             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11794         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11795         Add lwarx hint, and use macro for acquire instruction.
11796         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11797         Likewise.
11798         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11799         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11800         update to use new atomic macros.
11802 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11804         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11805         (__lll_trylock_elision): Fix setting of adapt_count.
11806         * sysdeps/unix/sysv/linux/powerpc/htm.h
11807         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11808         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11809         (_ABORT_SYSCALL): Renumber, and clarify definition.
11810         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11812 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11814         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11815         after system headers to prevent MIN/MAX redefinition.  Define
11816         HAVE_ALLOCA to preserve builtin alloca usage.
11818 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11821         static and don't set or restore rounding.
11822         (__cos)[IN_SINCOS]: Likewise.
11823         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11824         (__sincos): Set and restore rounding mode.  Remove check for infinite
11825         or NaN input.
11827         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11829         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11830         as used.
11832 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11834         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11836 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11838         * config.make.in (have-glob-dat-reloc): New.
11839         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11840         target supports GLOB_DAT relocaton. AC_SUBST.
11841         * configure: Regenerated.
11842         * elf/Makefile (tests): Add tst-prelink.
11843         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11844         (tst-prelink-ENV): New.
11845         ($(objpfx)tst-prelink-conflict.out): Likewise.
11846         ($(objpfx)tst-prelink-cmp.out): Likewise.
11847         * sysdeps/x86/tst-prelink.c: Moved to ...
11848         * elf/tst-prelink.c: Here.
11849         * sysdeps/x86/tst-prelink.exp: Moved to ...
11850         * elf/tst-prelink.exp: Here.
11851         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11852         (tst-prelink-ENV): Removed.
11853         ($(objpfx)tst-prelink-conflict.out): Likewise.
11854         ($(objpfx)tst-prelink-cmp.out): Likewise.
11855         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11857 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11859         [BZ #14551]
11860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11861         (__mpn_construct_long_double): If high part overflows to infinity,
11862         set errno and recompute overflowed result of the correct sign.
11863         * sysdeps/ieee754/ldbl-128ibm/Makefile
11864         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11865         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11866         $(libm).
11867         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11869 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11871         [BZ #15479]
11872         [BZ #19238]
11873         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11874         floating-point state after first operation on input.  Restore full
11875         state rather than just rounding mode.
11876         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11877         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11878         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11880         [BZ #19235]
11881         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11882         add 0.5 to integer arguments.
11883         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11884         Likewise.
11885         (.LC2): New object.
11887 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11889         * scripts/pylintrc (reports): Set to no.
11891 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11893         * elf/dl-load.c (open_verify): Take new argument FD.
11894         Skip __open call if passed FD is not -1.
11895         (_dl_map_object, open_path): Update callers.
11896         * elf/dl-sysdep-open.h: New file.
11897         * elf/dl-load.c: Include it.
11898         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11899         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11900         * sysdeps/nacl/dl-sysdep-open.h: New file.
11901         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11902         from libc to rtld.
11904 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11906         [BZ #19228]
11907         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11908         and restore full floating-point state.
11909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11910         Likewise.
11911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11912         Likewise.
11913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11914         Likewise.
11915         * math/test-nearbyint-except-2.c: New file.
11916         * math/Makefile (tests): Add test-nearbyint-except-2.
11918 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11920         [BZ #19178]
11921         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11922         (tst-prelink-ENV): New.
11923         ($(objpfx)tst-prelink-conflict.out): Likewise.
11924         ($(objpfx)tst-prelink-cmp.out): Likewise.
11925         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11926         * sysdeps/x86/tst-prelink.c: New file.
11927         * sysdeps/x86/tst-prelink.exp: Likewise.
11929 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11931         * math/auto-libm-test-in: Add another test of pow.
11932         * math/auto-libm-test-out: Regenerated.
11933         * math/libm-test.inc (pow_test_data): Add another test.
11935 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11937         [BZ #19219]
11938         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11939         weak_alias to nearbyintl.
11941 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11943         * sysdeps/aarch64/bits/string.h: New file.
11944         (_STRING_ARCH_unaligned): Define.
11946 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11948         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11949         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11950         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11951         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11954 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11956         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11957         for original name of the DSO.  Add it to the name list of the DSO
11958         if it is actually given.
11959         (_dl_map_object): Keep track of whether an audit module rewrote
11960         the file name.  If yes, pass the original name to
11961         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11962         debugging is enabled, log the change of the file name.
11963         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11964         _dl_map_object_from_fd.
11965         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11966         * elf/tst-audit11.c: New file
11967         * elf/tst-auditmod11.c: New file.
11968         * elf/tst-audit11mod1.c: New file.
11969         * elf/tst-audit11mod2.c: New file.
11970         * elf/tst-audit11mod2.map: New file.
11971         * elf/tst-audit12.c: New file
11972         * elf/tst-auditmod12.c: New file.
11973         * elf/tst-audit12mod1.c: New file.
11974         * elf/tst-audit12mod2.c: New file.
11975         * elf/tst-audit12mod2.map: New file.
11976         * elf/tst-audit12mod3.c: New file.
11978 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11980         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11981         Don't create weak aliases,
11982         because versioned symbols are created later.
11983         * sysdeps/s390/s390-32/setjmp.S
11984         (setjmp, _setjmp): Remove weak and rename to an unique name
11985         in SHARED case due to existing versioned symbols.
11986         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11987         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11988         (getcontext): Create weak alias only in non SHARED case.
11989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11991 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11993         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11994         (__ASSUME_*_SYSCALL) Define new macros.
11995         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11996         Remove socketcall syscalls.
11997         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11998         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11999         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12000         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12001         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12002         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12004 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12006         [BZ #12926]
12007         Terminate process on invalid netlink response.
12008         * sysdeps/unix/sysv/linux/netlinkaccess.h
12009         (__netlink_assert_response): Declare.
12010         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12011         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12012         (sysdep_routines): Add netlink_assert_response.
12013         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12014         __netlink_assert_response.
12015         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12016         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12017         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12018         __netlink_assert_response.
12020 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12022         [BZ #19178]
12023         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12024         (RTYPE_CLASS_PLT): Likewise.
12025         (RTYPE_CLASS_COPY): Likewise.
12026         (RTYPE_CLASS_TLS): Likewise.
12027         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12028         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12029         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12030         DL_DEBUG_PRELINK.
12032 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12034         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12035         calls with argument -0.5.
12036         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12038         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12039         (libc_cv_z_nodlopen): Likewise.
12040         (libc_cv_z_initfirst): Likewise.
12041         * configure: Regenerated.
12043 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12045         Simplify abilist format to be line-based.
12046         * scripts/abilist.awk: Collect descriptors in the descs variable.
12047         (emit): Write descs variable and sort it
12048         externally, with sort.
12049         * sysdeps/**/*.abilist: Convert to new format.
12051 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12053         [BZ #11460]
12054         * io/Makefile (routines): Add fts64.
12055         (tests): Add tst-fts and tst-fts-lfs.
12056         (CFLAGS-fts64.c): New.
12057         * io/Versions (GLIBC_2.23): New.
12058         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12059         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12060         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12061         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12062         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12063         (FTSENT64): Likewise.
12064         (fts64_children): Likewise.
12065         (fts64_close): Likewise.
12066         (fts64_open): Likewise.
12067         (fts64_read): Likewise.
12068         (fts64_set): Likewise.
12069         * io/fts64.c: New file.
12070         * io/tst-fts.c: New test.
12071         * io/tst-fts-lfs.c: Likewise.
12072         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12073         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12074         fts64_set.
12075         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12077         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12078         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12079         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12080         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12083         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12084         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12085         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12089         Likewise.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12091         Likewise.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12104         * sysdeps/wordsize-64/fts.c: New file.
12105         * sysdeps/wordsize-64/fts64.c: Likewise.
12106         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12107         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12108         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12109         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12111 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12113         * math/libm-test.inc (NON_FINITE): New macro.
12114         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12115         * math/gen-libm-test.pl (show_exceptions): Add argument
12116         $non_finite.
12117         (parse_args): Update call to show_exceptions.
12118         * math/test-math-finite.h: New file.
12119         * math/test-math-no-finite.h: Likewise.
12120         * math/test-double-finite.c: Likewise.
12121         * math/test-float-finite.c: Likewise.
12122         * math/test-ldouble-finite.c: Likewise.
12123         * math/test-double.c: Include "test-math-no-finite.h".
12124         * math/test-float.c: Include "test-math-no-finite.h".
12125         * math/test-ldouble.c: Include "test-math-no-finite.h".
12126         * math/test-math-inline.h (TEST_FINITE): New macro.
12127         * math/test-math-vector.h (TEST_FINITE): Likewise.
12128         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12129         (libm-tests): Add test-float-finite and test-double-finite.
12130         ($(objpfx)test-float-finite.o): New dependency on
12131         $(objpfx)libm-test.stmp.
12132         ($(objpfx)test-double-finite.o): Likewise.
12133         ($(objpfx)test-ldouble-finite.o): Likewise.
12134         (libm-test-no-inline-cflags): New variable.
12135         (libm-test-finite-cflags): Likewise.
12136         (CFLAGS-test-float-finite.c): Likewise.
12137         (CFLAGS-test-double-finite.c): Likewise.
12138         (CFLAGS-test-ldouble-finite.c): Likewise.
12139         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12140         (CFLAGS-test-double.c): Likewise.
12141         (CFLAGS-test-ldouble.c): Likewise.
12143 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12145         * io/fcntl.c (__fcntl): Add ... to prototype.
12146         * misc/ioctl.c (__ioctl): Likewise.
12147         * misc/syscall.c (syscall): Likewise.
12149 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12151         * scripts/list-fixed-bugs.py: New file.
12153         [BZ #19213]
12154         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12155         returned for argument 1.
12156         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12157         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12158         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12159         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12160         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12161         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12163         [BZ #19211]
12164         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12165         __USE_XOPEN], not if [!__USE_ISOC99].
12166         (lgammaf): Likewise.
12167         (lgammal): Likewise.
12168         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12169         (gammaf): Likewise.
12170         (gammal): Likewise.
12171         * math/test-signgam-finite-c11.c: New file.
12172         * math/test-signgam-finite-c99.c: Likewise.
12173         * math/test-signgam-finite.c: Likewise.
12174         * math/Makefile (tests): Add test-signgam-finite,
12175         test-signgam-finite-c99 and test-signgam-finite-c11.
12176         (CFLAGS-test-signgam-finite.c): New variable.
12177         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12178         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12180         [BZ #19212]
12181         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12182         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12183         500].
12184         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12185         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12186         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12187         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12188         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12189         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12190         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12191         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12192         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12193         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12195         [BZ #19209]
12196         * math/bits/math-finite.h (ldexp): Remove declaration.
12197         (ldexpf): Likewise.
12198         (ldexpl): Likewise.
12200         [BZ #19205]
12201         * math/bits/math-finite.h (acosf): Condition declaration on
12202         [__USE_ISOC99].
12203         (acosl): Likewise.
12204         (acoshf): Likewise.
12205         (acoshl): Likewise.
12206         (asinf): Likewise.
12207         (asinl): Likewise.
12208         (atan2f): Likewise.
12209         (atan2l): Likewise.
12210         (atanhf): Likewise.
12211         (atanhl): Likewise.
12212         (coshf): Likewise.
12213         (coshl): Likewise.
12214         (expf): Likewise.
12215         (expl): Likewise.
12216         (fmodf): Likewise.
12217         (fmodl): Likewise.
12218         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12219         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12220         (j0l): Likewise.
12221         (y0f): Likewise.
12222         (y0l): Likewise.
12223         (j1f): Likewise.
12224         (j1l): Likewise.
12225         (y1f): Likewise.
12226         (y1l): Likewise.
12227         (jnf): Likewise.
12228         (jnl): Likewise.
12229         (ynf): Likewise.
12230         (ynl): Likewise.
12231         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12232         (lgammal_r): Likewise.
12233         (__lgamma_r_finite): New declaration.
12234         (__lgammaf_r_finite): Likewise.
12235         (__lgammal_r_finite): Likewise.
12236         (lgamma): Use __lgamma_r_finite.
12237         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12238         __lgammaf_r_finite.
12239         (lgammal): Condition definition on [__USE_ISOC99].  Use
12240         __lgammal_r_finite.
12241         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12242         __lgamma_r_finite.
12243         (gammaf): Condition definition on [__USE_ISOC99].  Use
12244         __lgammaf_r_finite.
12245         (gammal): Condition definition on [__USE_ISOC99].  Use
12246         __lgammal_r_finite.
12247         (logf): Condition declaration on [__USE_ISOC99].
12248         (logl): Likewise.
12249         (log10f): Likewise.
12250         (log10l): Likewise.
12251         (ldexpf): Likewise.
12252         (ldexpl): Likewise.
12253         (powf): Likewise.
12254         (powl): Likewise.
12255         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12256         __USE_ISOC99].
12257         (remainderf): Condition declaration on [__USE_ISOC99].
12258         (remainderl): Likewise.
12259         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12260         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12261         (scalbl): Likewise.
12262         (sinhf): Condition declaration on [__USE_ISOC99].
12263         (sinhl): Likewise.
12264         (sqrtf): Likewise.
12265         (sqrtl): Likewise.
12267 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12269         * sysdeps/arm/atomic-machine.h
12270         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12271         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12272         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12273         Remove conditional code.
12274         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12275         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12276         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12277         Change conditional to [__ASSEMBLER__].
12278         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12279         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12280         [!__ASSEMBLER__].
12281         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12282         code.
12283         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12284         conditional macro definitions.
12285         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12286         (__arch_compare_and_exchange_val_16_acq): Likewise.
12287         (__arch_compare_and_exchange_val_32_acq): Likewise.
12288         (atomic_exchange_and_add): Likewise.
12289         (atomic_add): Likewise.
12290         (atomic_add_negative): Likewise.
12291         (atomic_add_zero): Likewise.
12292         (atomic_bit_set): Likewise.
12293         (atomic_bit_test_set): Likewise.
12294         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12295         code unconditional.
12296         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12298         * math/test-math-errno.h: New file.
12299         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12300         empty.
12301         (TEST_ERRNO): New macro.
12302         (TEST_EXCEPTIONS): Likewise.
12303         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12304         (TEST_EXCEPTIONS): Likewise.
12305         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12306         * math/test-double.c: Include "test-math-errno.h".
12307         * math/test-float.c: Likewise.
12308         * math/test-ldouble.c: Likewise.
12309         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12310         code unconditional.
12311         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12312         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12313         unconditional.
12314         (test_errno): Only run code if TEST_ERRNO.
12315         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12317 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12319         * nptl/tst-once5.cc: Remove attribution.
12321 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12323         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12324         sqrt, tan, tanh, y0, y1 and yn.
12325         * math/auto-libm-test-out: Regenerated.
12326         * math/libm-test.inc (scalb_test_data): Add more tests.
12327         (scalbn_test_data): Likewise.
12328         (scalbln_test_data): Likewise.
12329         (signbit_test_data): Likewise.
12330         (sin_test_data): Likewise.
12331         (sincos_test_data): Likewise.
12332         (sinh_test_data): Likewise.
12333         (sqrt_test_data): Likewise.
12334         (tan_test_data): Likewise.
12335         (tanh_test_data): Likewise.
12336         (tgamma_test_data): Likewise.
12337         (y0_test_data): Likewise.
12338         (y1_test_data): Likewise.
12339         (yn_test_data): Likewise.
12340         (significand_test_data): Likewise.
12341         * sysdeps/i386/fpu/libm-test-ulps: Update.
12343 2015-11-03  David Kastrup  <dak@gnu.org>
12345         [BZ #18604]
12346         * assert/assert.h (assert): Don't macro-expand failed assertion
12347         expression in error message.
12348         * malloc/malloc.c (assert): Likewise.
12350 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12352         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12353         test.
12354         * configure: Regenerated.
12356 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12358         * math/libm-test.inc (modf_test_data): Add more tests.
12359         (nearbyint_test_data): Likewise.
12360         (nextafter_test_data): Likewise.
12361         (nexttoward_test_data): Likewise.
12362         (pow_test_data): Likewise.
12363         (remainder_test_data): Likewise.
12364         (remquo_test_data): Likewise.
12365         (rint_test_data): Likewise.
12367         [BZ #19201]
12368         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12369         Check for zero remainder in case of large exponents and ensure
12370         correct sign of result in that case.
12371         * math/libm-test.inc (remainder_test_data): Add more tests.
12373         [BZ #6799]
12374         * math/s_nextafter.c: Include <errno.h>.
12375         (__nextafter): Set errno on overflow and underflow.
12376         * math/s_nexttowardf.c: Include <errno.h>.
12377         (__nexttowardf): Set errno on overflow and underflow.
12378         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12379         (__nextafterl): Set errno on overflow and underflow.
12380         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12381         (__nexttoward): Set errno on overflow and underflow.
12382         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12383         (__nexttowardf): Set errno on overflow and underflow.
12384         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12385         (__nextafterf): Set errno on overflow and underflow.
12386         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12387         (__nextafterl): Set errno on overflow and underflow.
12388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12389         (__nexttoward): Set errno on overflow and underflow.
12390         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12391         (__nexttowardf): Set errno on overflow and underflow.
12392         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12393         (__nextafterl): Set errno on overflow and underflow.
12394         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12395         (__nexttoward): Set errno on overflow and underflow.
12396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12397         (__nexttowardf): Set errno on overflow and underflow.
12398         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12399         (__nexttoward): Set errno on overflow and underflow.
12400         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12401         (__nexttowardf): Set errno on overflow and underflow.
12402         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12403         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12404         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12405         (__nextafterl): Set errno on overflow and underflow.
12406         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12407         setting to be missing on overflow.  Add more tests.
12408         (nexttoward_test_data): Likewise.
12410         * configure.ac (libc_cv_initfini_array): Remove configure test.
12411         * configure: Regenerated.
12413 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12415         [BZ #19189]
12416         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12417         non-finite argument handle arguments with negative sign.
12419         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12420         result from infinite argument.
12421         (j1_test_data): Likewise.
12422         (jn_test_data): Likewise.
12423         (y0_test_data): Likewise.
12424         (y1_test_data): Likewise.
12425         (yn_test_data): Likewise.
12427         [BZ #16171]
12428         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12429         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12430         * math/w_remainderf.c (dremf): Define as weak alias of
12431         __remainderf.
12432         * math/w_remainderl.c (dreml): Define as weak alias of
12433         __remainderl.
12434         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12435         __remainder.
12436         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12437         __remainderf.
12438         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12439         __remainderl.
12440         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12441         weak alias of remainderl.
12442         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12443         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12444         alias of __remainder.
12445         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12446         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12447         strong alias of __remainderl.
12448         (dreml): Use long_double_symbol.
12449         * math/Makefile (libm-calls): Remove w_drem.
12450         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12451         (CFLAGS-nldbl-drem.c): Remove variable.
12452         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12453         * math/w_drem.c: Remove file.
12454         * math/w_dremf.c: Likewise.
12455         * math/w_dreml.c: Likewise.
12456         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12457         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12458         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12460         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12461         * sysdeps/i386/configure: Regenerated.
12462         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12463         * sysdeps/x86_64/configure: Regenerated.
12465         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12466         test.
12467         (libc_cv_visibility_attribute): Likewise.
12468         (libc_cv_protected_data): Test unconditionally.
12469         (libc_cv_broken_visibility_attribute): Remove configure test.
12470         (libc_cv_have_sdata_section): Test unconditionally.
12471         * configure: Regenerated.
12473         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12474         * include/scratch_buffer.h: Include <stddef.h> instead of
12475         <libc-internal.h>.
12476         (struct scratch_buffer): Use max_align_t instead of
12477         libc_max_align_t.
12479 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12481         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12482         instead of extend_alloca.  Change control flow to avoid a goto.
12483         Remove assert which is trivially always true.
12485 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12487         [BZ #16068]
12488         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12489         (FE_ALL_EXCEPT_X86): New macro.
12490         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12491         FE_ALL_EXCEPT.  Ensure precision control is included in
12492         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12493         handle "denormal operand exception" and clear FZ and DAZ bits.
12494         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12495         (FE_ALL_EXCEPT_X86): New macro.
12496         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12497         FE_ALL_EXCEPT.  Ensure precision control is included in
12498         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12499         handle "denormal operand exception" and clear FZ and DAZ bits.
12500         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12501         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12502         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12503         test-fenv-x87 and test-fenv-sse-2.
12504         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12506         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12507         * math/test-double.h (BUILD_COMPLEX): New macro.
12508         * math/test-float.h (BUILD_COMPLEX): Likewise.
12509         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12511         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12512         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12513         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12515         instead of DBL_DENORM_MIN in comment.
12516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12517         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12518         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12519         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12521         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12523 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12525         [BZ# 19048]
12526         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12527         attached_threads member.
12528         (main_arena): Initialize attached_threads.
12529         * malloc/arena.c (list_lock): Update comment.
12530         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12531         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12532         (deattach_arena): New function.
12533         (_int_new_arena): Initialize arena reference count and deattach
12534         replaced arena.
12535         (get_free_list, reused_arena): Update reference count and deattach
12536         replaced arena.
12537         (arena_thread_freeres): Update arena reference count and only put
12538         unreferenced arenas on the free list.
12540 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12542         [BZ #19181]
12543         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12544         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12545         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12546         * math/test-fenv-clear-main.c: New file.
12547         * math/test-fenv-clear.c: Likewise.
12548         * math/Makefile (tests): Add test-fenv-clear.
12549         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12550         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12551         test-fenv-clear-sse.
12552         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12554         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12555         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12556         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12558 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12560         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12561         static libc.
12563 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12565         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12566         test.
12567         * sysdeps/i386/configure: Regenerated.
12568         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12569         test.
12570         * sysdeps/x86_64/configure: Regenerated.
12571         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12573         memset-avx2 unconditionally instead of conditionally on
12574         [$(config-cflags-avx2) = yes].
12575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12576         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12577         unconditional.
12578         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12579         * sysdeps/x86_64/multiarch/memset_chk.S
12580         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12581         to [IS_IN (libc) && SHARED].
12583 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12585         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12586         configure test.
12587         * sysdeps/arm/configure: Regenerated.
12588         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12589         Define variable if not already defined.
12591         [BZ #17404]
12592         * sysdeps/mips/atomic-machine.h
12593         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12594         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12595         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12597         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12598         unconditional.
12599         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12600         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12601         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12602         unconditional.
12603         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12604         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12605         unconditional.
12606         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12607         * stdlib/setenv.c
12608         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12609         code unconditional.
12610         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12611         Remove conditional code.
12612         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12613         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12614         unconditional.
12615         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12616         code.
12617         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12618         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12619         unconditional.
12620         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12621         code.
12622         * sysdeps/ieee754/ldbl-128/k_tanl.c
12623         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12624         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12625         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12626         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12627         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12629         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12630         unconditional.
12631         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12632         code.
12633         * sysdeps/ieee754/ldbl-96/k_tanl.c
12634         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12635         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12637         * nptl/tst-initializers1-c11.c: New file.
12638         * nptl/tst-initializers1-gnu11.c: Likewise.
12639         * nptl/Makefile (tests): Add these new tests.
12640         (CFLAGS-tst-initializers1-c11.c): New variable.
12641         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12643         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12644         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12645         instead of -std=gnu99.
12646         * configure.ac (systemtap): Test with -std=gnu11 instead of
12647         -std=gnu99.
12648         * configure: Regenerated.
12649         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12650         in compilation command in comment.
12652         * sysdeps/nptl/configure.ac: Remove file.
12653         * sysdeps/nptl/configure: Remove generated file.
12654         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12655         * configure: Regenerated.
12656         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12657         * config.make.in (have-forced-unwind): Remove variable.
12658         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12659         unconditional.
12660         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12661         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12662         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12663         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12664         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12665         unconditional.
12667 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12669         [BZ #19174]
12670         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12671         .skip_lock_out_of_tbegin_retries.
12672         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12673         (__lll_lock_elision): Likewise, and respect a value of
12674         try_tbegin <= 0.
12676 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12678         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12679         statement.
12681 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12683         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12684         variable.
12685         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12686         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12688         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12689         of -std=c1x -D_ISOC11_SOURCE.
12691         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12692         * configure: Regenerated.
12693         * manual/install.texi (Tools for Compilation): Document
12694         requirement for GCC 4.7 or later.
12695         * INSTALL: Regenerated.
12697 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12699         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12700         on CNT to a conditional jump to 'puntdata'.
12702 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12704         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12705         (libc_cv_gcc_tls_model_attr): Likewise.
12706         * configure: Regenerated.
12708         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12709         * configure: Regenerated.
12710         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12712 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12714         * configure.ac (old_glibc_headers): Remove configure test.
12715         * configure: Regenerated.
12716         * config.make.in (old-glibc-headers): Remove variable.
12717         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12718         (install): Remove dependency on remove-old-headers.
12719         (headers2_0): Remove variable.
12720         (remove-old-headers): Remove rule.
12722         * configure.ac (libc_cv_dot_text): Remove configure test.
12723         (libc_cv_asm_set_directive): Use .text instead of
12724         ${libc_cv_dot_text} in configure test.
12725         * configure: Regenerated.
12727 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12729         [BZ #19168]
12730         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12732 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12734         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12735         not support static linking.
12736         * configure: Regenerate.
12738 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12740         * math/libm-test.inc (check_float_internal): Do not special-case
12741         errors up to 0.5 ulp.
12743         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12744         log2.
12745         * math/auto-libm-test-out: Regenerated.
12746         * math/libm-test.inc (MAX_EXP): New macro.
12747         (ilogb_test_data): Add more tests.
12748         (isfinite_test_data): Likewise.
12749         (isgreater_test_data): Likewise.
12750         (isgreaterequal_test_data): Likewise.
12751         (isinf_test_data): Likewise.
12752         (isless_test_data): Likewise.
12753         (islessequal_test_data): Likewise.
12754         (islessgreater_test_data): Likewise.
12755         (isnan_test_data): Likewise.
12756         (isnormal_test_data): Likewise.
12757         (issignaling_test_data): Likewise.
12758         (isunordered_test_data): Likewise.
12759         (j0_test_data): Likewise.
12760         (j1_test_data): Likewise.
12761         (jn_test_data): Likewise.
12762         (lgamma_test_data): Likewise.
12763         (log_test_data): Likewise.
12764         (log10_test_data): Likewise.
12765         (log1p_test_data): Likewise.
12766         (log2_test_data): Likewise.
12767         (logb_test_data): Likewise.
12768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12770         [BZ #18611]
12771         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12772         avoid excess range and precision on underflow.
12773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12774         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12775         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12777         underflow.
12778         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12780         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12782         * math/auto-libm-test-in: Do not allow missing errno setting for
12783         tests of j1 and jn.
12784         * math/auto-libm-test-out: Regenerated.
12786 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12788         [BZ #15491]
12789         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12790         floating-point environment instead of clearing all exceptions.
12791         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12792         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12793         merging in "invalid" exceptions from frndint.
12794         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12795         * math/test-nearbyint-except.c: New file.
12796         * math/Makefile (tests): Add test-nearbyint-except.
12798 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12800         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12802         * sysdeps/tile/libm-test-ulps: Regenerated.
12804 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12807         (__NR_sync_file_range2): Assume it is always defined.
12808         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12809         (__NR_sync_file_range): Assume it is always defined.
12811 2015-10-22  Andreas Schwab  <schwab@suse.de>
12813         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12814         INTERNAL_SYSCALL_ERRNO.
12815         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12816         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12817         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12818         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12819         Likewise.
12820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12822 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12824         * io/tst-fcntl.c (fd): New static variable.
12825         (do_prepare): Open temporary file here....
12826         (do_test): ...not here.
12828         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12830 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12832         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12833         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12834         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12835         Moved before "#ifdef __ASSEMBLER__".
12837 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12839         [BZ #19156]
12840         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12841         arguments very close to 0.
12843 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12845         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12846         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12848 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12850         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12851         New.  Defined for GCC 5 and above when not compiling for
12852         profiling.
12853         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12855         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12856         Renamed to ...
12857         (CFLAGS-epoll_pwait.o): This.
12858         (CFLAGS-mmap.c): Renamed to ...
12859         (CFLAGS-mmap.o): This.
12860         (CFLAGS-mmap64.c): Renamed to ...
12861         (CFLAGS-mmap64.o): This.
12862         (CFLAGS-epoll_pwait.os): New.
12863         (CFLAGS-mmap.os): Likewise.
12864         (CFLAGS-mmap64.os): Likewise.
12865         (CFLAGS-semtimedop.os): Likewise.
12866         (CFLAGS-semtimedop.c): Renamed to ...
12867         (CFLAGS-semtimedop.o): This.
12869 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12871         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12872         warning message.
12874 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12876         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12877         * Makefile ($(objpfx)c++-types-check.out): Filter out
12878         $(+gccwarn-c) instead of -Wstrict-prototypes.
12880         * io/fts.c (fts_open): Convert to prototype-style function
12881         definition.
12882         * malloc/mcheck.c (mcheck): Likewise.
12883         (mcheck_pedantic): Likewise.
12884         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12885         internal_function.
12886         (re_search_internal): Likewise.
12887         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12888         prototype-style function definition.
12889         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12890         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12891         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12892         (xdr_utmpptr): Likewise.
12893         (xdr_utmparr): Likewise.
12894         (xdr_utmpidle): Likewise.
12895         (xdr_utmpidleptr): Likewise.
12896         (xdr_utmpidlearr): Likewise.
12898         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12899         log, log10 and log2.
12900         * math/auto-libm-test-out: Regenerated.
12901         * math/libm-test.inc (fmod_test_data): Add more tests.
12902         (fpclassify_test_data): Likewise.
12903         (frexp_test_data): Likewise.
12904         (hypot_test_data): Likewise.
12905         (ilogb_test_data): Likewise.
12907 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12909         * debug/fortify_fail.c (__fortify_fail): Convert to
12910         prototype-style function definition.  Use internal_function.
12911         * libio/genops.c (save_for_backup): Convert to prototype-style
12912         function definition.
12913         * libio/wgenops.c (save_for_wbackup): Likewise.
12914         * login/grantpt.c (grantpt): Likewise.
12915         * login/ptsname.c (ptsname): Likewise.
12916         (__ptsname_r): Likewise.
12917         * login/unlockpt.c (unlockpt): Likewise.
12918         * mach/msgserver.c (__mach_msg_server): Likewise.
12919         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12920         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12921         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12922         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12923         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12924         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12925         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12926         Likewise.
12927         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12928         internal_function.
12929         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12930         prototype-style function definition.
12931         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12932         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12933         (__pthread_create_2_0): Likewise.
12934         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12935         * nptl/register-atfork.c (__register_atfork): Likewise.
12936         * posix/glob.c (glob): Likewise.
12937         * posix/regcomp.c (re_comp): Likewise.
12938         * posix/regexec.c (re_exec): Likewise.
12939         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12940         [!__STDC__]: Remove conditional code.
12941         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12942         [!__STDC__]: Remove conditional code.
12943         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12944         [!__STDC__]: Remove conditional code.
12945         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12946         [!__STDC__]: Remove conditional code.
12947         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12948         [!__STDC__]: Remove conditional code.
12949         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12950         [!__STDC__]: Remove conditional code.
12951         * stdlib/mul.c [__STDC__]: Make code unconditional.
12952         [!__STDC__]: Remove conditional code.
12953         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12954         [!__STDC__]: Remove conditional code.
12955         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12956         [!__STDC__]: Remove conditional code.
12957         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12958         function definition.
12959         (STRTOF): Likewise.
12960         * stdlib/strtod_l.c (__STRTOF): Likewise.
12961         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12962         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12963         (__strtol_l): Likewise.
12964         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12965         [!__STDC__]: Remove conditional code.
12966         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12967         definition.
12968         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12969         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12970         type.
12971         (__strcasecmp): Convert to prototype-style function definition.
12972         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12973         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12974         type.
12975         (__strncasecmp): Convert to prototype-style function definition.
12976         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12977         * sunrpc/xdr.c (xdr_union): Likewise.
12978         * sunrpc/xdr_array.c (xdr_array): Likewise.
12979         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12980         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12981         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12982         Likewise.
12983         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12984         Likewise.
12985         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12986         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12987         Likewise.
12988         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12989         (LOCALE_PARAM_PROTO): Likewise.
12990         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12991         argument type.
12992         (ut_argument_spec): Remove macro.
12993         (ut_argument_spec_iso): Rename to ut_argument_spec.
12994         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12995         prototype-style function definition.
12996         (memcpy_uppcase): Likewise.
12997         (__strftime_internal): Likewise.
12998         (my_strftime): Likewise.
12999         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13000         (LOCALE_PARAM_DECL): Likewise.
13001         [_LIBC] (LOCALE_PARAM): Include argument type.
13002         (__strptime_internal): Convert to prototype-style function
13003         definition.
13004         (strptime): Likewise.
13005         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13006         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13007         type.
13008         (__wcscasecmp): Convert to prototype-style function definition.
13009         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13010         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13011         type.
13012         (__wcsncasecmp): Convert to prototype-style function definition.
13014         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13015         function definition.
13016         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13017         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13018         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13019         * elf/dl-minimal.c (_itoa): Likewise.
13020         * hurd/hurdmalloc.c (malloc): Likewise.
13021         (free): Likewise.
13022         (realloc): Likewise.
13023         * inet/inet6_option.c (inet6_option_space): Likewise.
13024         (inet6_option_init): Likewise.
13025         (inet6_option_append): Likewise.
13026         (inet6_option_alloc): Likewise.
13027         (inet6_option_next): Likewise.
13028         (inet6_option_find): Likewise.
13029         * io/ftw.c (FTW_NAME): Likewise.
13030         (NFTW_NAME): Likewise.
13031         (NFTW_NEW_NAME): Likewise.
13032         (NFTW_OLD_NAME): Likewise.
13033         * libio/iofwide.c (_IO_fwide): Likewise.
13034         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13035         (_IO_str_init_static): Likewise.
13036         (_IO_str_init_readonly): Likewise.
13037         (_IO_str_overflow): Likewise.
13038         (_IO_str_underflow): Likewise.
13039         (_IO_str_count): Likewise.
13040         (_IO_str_seekoff): Likewise.
13041         (_IO_str_pbackfail): Likewise.
13042         (_IO_str_finish): Likewise.
13043         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13044         (_IO_wstr_overflow): Likewise.
13045         (_IO_wstr_underflow): Likewise.
13046         (_IO_wstr_count): Likewise.
13047         (_IO_wstr_seekoff): Likewise.
13048         (_IO_wstr_pbackfail): Likewise.
13049         (_IO_wstr_finish): Likewise.
13050         * locale/programs/localedef.c (normalize_codeset): Likewise.
13051         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13052         (add_locales_to_archive): Likewise.
13053         (delete_locales_from_archive): Likewise.
13054         * malloc/malloc.c (__libc_mallinfo): Likewise.
13055         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13056         * misc/tsearch.c (__tfind): Likewise.
13057         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13058         * nptl/pthread_attr_getdetachstate.c
13059         (__pthread_attr_getdetachstate): Likewise.
13060         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13061         Likewise.
13062         * nptl/pthread_attr_getinheritsched.c
13063         (__pthread_attr_getinheritsched): Likewise.
13064         * nptl/pthread_attr_getschedparam.c
13065         (__pthread_attr_getschedparam): Likewise.
13066         * nptl/pthread_attr_getschedpolicy.c
13067         (__pthread_attr_getschedpolicy): Likewise.
13068         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13069         Likewise.
13070         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13071         Likewise.
13072         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13073         Likewise.
13074         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13075         Likewise.
13076         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13077         (__pthread_attr_init_2_0): Likewise.
13078         * nptl/pthread_attr_setdetachstate.c
13079         (__pthread_attr_setdetachstate): Likewise.
13080         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13081         Likewise.
13082         * nptl/pthread_attr_setinheritsched.c
13083         (__pthread_attr_setinheritsched): Likewise.
13084         * nptl/pthread_attr_setschedparam.c
13085         (__pthread_attr_setschedparam): Likewise.
13086         * nptl/pthread_attr_setschedpolicy.c
13087         (__pthread_attr_setschedpolicy): Likewise.
13088         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13089         Likewise.
13090         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13091         Likewise.
13092         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13093         Likewise.
13094         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13095         Likewise.
13096         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13097         Likewise.
13098         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13099         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13100         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13101         use internal_function.
13102         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13103         prototype-style function definition.
13104         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13105         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13106         internal_function.
13107         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13108         Convert to prototype-style function definition.
13109         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13110         Likewise.
13111         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13112         Likewise.
13113         (__pthread_mutex_unlock): Likewise.
13114         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13115         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13116         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13117         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13118         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13119         * nss/makedb.c (process_input): Likewise.
13120         * posix/fnmatch.c (__strchrnul): Likewise.
13121         (__wcschrnul): Likewise.
13122         (fnmatch): Likewise.
13123         * posix/fnmatch_loop.c (FCT): Likewise.
13124         * posix/glob.c (globfree): Likewise.
13125         (__glob_pattern_type): Likewise.
13126         (__glob_pattern_p): Likewise.
13127         * posix/regcomp.c (re_compile_pattern): Likewise.
13128         (re_set_syntax): Likewise.
13129         (re_compile_fastmap): Likewise.
13130         (regcomp): Likewise.
13131         (regerror): Likewise.
13132         (regfree): Likewise.
13133         * posix/regexec.c (regexec): Likewise.
13134         (re_match): Likewise.
13135         (re_search): Likewise.
13136         (re_match_2): Likewise.
13137         (re_search_2): Likewise.
13138         (re_search_stub): Likewise.  Use internal_function
13139         (re_copy_regs): Likewise.
13140         (re_set_registers): Convert to prototype-style function
13141         definition.
13142         (prune_impossible_nodes): Likewise.  Use internal_function.
13143         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13144         prototype-style function definition.
13145         (inet_net_pton_ipv4): Likewise.
13146         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13147         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13148         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13149         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13150         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13151         Make variadic.
13152         * time/strptime_l.c (localtime_r): Convert to prototype-style
13153         function definition.
13154         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13155         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13156         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13157         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13159         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13160         definition.
13161         (_ufc_doit_r): Likewise.
13162         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13163         (_ufc_output_conversion_r): Likewise.
13164         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13165         * inet/rcmd.c (rcmd_af): Likewise.
13166         (rcmd): Likewise.
13167         (ruserok_af): Likewise.
13168         (ruserok): Likewise.
13169         (ruserok2_sa): Likewise.
13170         (ruserok_sa): Likewise.
13171         (iruserok_af): Likewise.
13172         (iruserok): Likewise.
13173         (__ivaliduser): Likewise.
13174         (__validuser2_sa): Likewise.
13175         * inet/rexec.c (rexec_af): Likewise.
13176         (rexec): Likewise.
13177         * inet/ruserpass.c (ruserpass): Likewise.
13178         * locale/programs/xmalloc.c (xcalloc): Likewise.
13179         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13180         * math/w_drem.c (__drem): Likewise.
13181         * math/w_dremf.c (__dremf): Likewise.
13182         * math/w_dreml.c (__dreml): Likewise.
13183         * misc/daemon.c (daemon): Likewise.
13184         * resolv/res_debug.c (p_fqnname): Likewise.
13185         * stdlib/div.c (div): Likewise.
13186         * string/memcmp.c (memcmp_bytes): Likewise.
13187         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13188         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13190         * crypt/cert.c (main): Convert to prototype-style function
13191         definition.
13192         * io/pipe.c (__pipe): Likewise.
13193         * io/pipe2.c (__pipe2): Likewise.
13194         * misc/futimesat.c (futimesat): Likewise.
13195         * misc/utimes.c (__utimes): Likewise.
13196         * posix/execve.c (__execve): Likewise.
13197         * posix/execvp.c (execvp): Likewise.
13198         * posix/execvpe.c (__execvpe): Likewise.
13199         * posix/fexecve.c (fexecve): Likewise.
13200         * socket/socketpair.c (socketpair): Likewise.
13201         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13202         * stdlib/erand48.c (erand48): Likewise.
13203         * stdlib/erand48_r.c (__erand48_r): Likewise.
13204         * stdlib/jrand48.c (jrand48): Likewise.
13205         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13206         * stdlib/lcong48.c (lcong48): Likewise.
13207         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13208         * stdlib/nrand48.c (nrand48): Likewise.
13209         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13210         * stdlib/seed48.c (seed48): Likewise.
13211         * stdlib/seed48_r.c (__seed48_r): Likewise.
13212         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13213         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13214         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13216 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13218         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13219         * configure: Regenerated.
13220         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13221         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13222         unconditional.
13223         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13224         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13225         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13226         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13227         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13228         unconditional.
13229         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13231         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13232         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13234         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13235         function definition.
13236         * crypt/crypt_util.c (__encrypt_r): Likewise.
13237         * libio/genops.c (_IO_no_init): Likewise.
13238         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13239         (_IO_old_fopencookie): Likewise.
13240         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13241         * libio/iogetline.c (_IO_getline): Likewise.
13242         (_IO_getline_info): Likewise.
13243         * libio/iogetwline.c (_IO_getwline): Likewise.
13244         (_IO_getwline_info): Likewise.
13245         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13246         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13247         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13248         (find_entry): Likewise.
13249         (iterate_table): Likewise.
13250         (lookup): Likewise.
13251         * login/forkpty.c (forkpty): Likewise.
13252         * misc/hsearch_r.c (__hsearch_r): Likewise.
13253         * misc/select.c (__select): Likewise.
13254         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13255         Likewise.
13256         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13257         Likewise.
13258         * nptl/old_pthread_cond_timedwait.c
13259         (__pthread_cond_timedwait_2_0): Likewise.
13260         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13261         * nptl/pthread_barrierattr_getpshared.c
13262         (pthread_barrierattr_getpshared): Likewise.
13263         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13264         Likewise.
13265         * nptl/pthread_mutex_setprioceiling.c
13266         (pthread_mutex_setprioceiling): Likewise.
13267         * nptl/pthread_mutexattr_getprioceiling.c
13268         (pthread_mutexattr_getprioceiling): Likewise.
13269         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13270         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13271         Likewise.
13272         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13273         Likewise.
13274         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13275         Likewise.
13276         * socket/recvfrom.c (__recvfrom): Likewise.
13277         * socket/sendto.c (__sendto): Likewise.
13278         * socket/setsockopt.c (__setsockopt): Likewise.
13279         * stdio-common/_itoa.c (_itoa): Likewise.
13280         * stdio-common/_itowa.c (_itowa): Likewise.
13281         * stdio-common/reg-printf.c (__register_printf_specifier):
13282         Likewise.
13283         (__register_printf_function): Likewise.
13284         * stdio-common/tempname.c (__path_search): Likewise.
13285         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13286         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13287         * stdlib/random_r.c (__initstate_r): Likewise.
13288         * stdlib/setenv.c (__add_to_environ): Likewise.
13289         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13290         * streams/getpmsg.c (getpmsg): Likewise.
13291         * streams/putmsg.c (putmsg): Likewise.
13292         * streams/putpmsg.c (putpmsg): Likewise.
13293         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13294         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13295         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13296         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13297         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13298         * sunrpc/svc_udp.c (cache_get): Likewise.
13299         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13300         * sysdeps/mach/hurd/getcwd.c
13301         (__canonicalize_directory_name_internal): Likewise.
13302         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13303         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13304         * sysdeps/mach/hurd/select.c (__select): Likewise.
13305         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13306         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13307         * sysdeps/sparc/nptl/pthread_barrier_init.c
13308         (__pthread_barrier_init): Likewise.
13309         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13310         (__pthread_cond_timedwait): Likewise.
13311         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13312         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13313         Likewise.
13314         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13315         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13316         Likewise.
13317         * sysvipc/semtimedop.c (semtimedop): Likewise.
13318         * time/setitimer.c (__setitimer): Likewise.
13319         * time/strftime_l.c (emacs_strftime): Likewise.
13321 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13323         * config.make.in (have-ssp): Delete.
13324         (stack-protector): New variable.
13325         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13326         cache test for -fstack-protector-strong.  Export stack_protector to
13327         the best ssp flag.
13328         * configure: Regenerated.
13329         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13330         * nscd/Makefile (CFLAGS-nscd): Likewise.
13331         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13333 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13335         [BZ #19122]
13336         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13337         attribute_hidden.
13339 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13341         [BZ #18743]
13342         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13343         code to...
13344         (ELIDE_LOCK): ...here.
13345         (__get_new_count): New function with part of the code from
13346         __elide_lock that updates the value of adapt_count after a
13347         transaction abort.
13348         (__elided_trylock): Moved this code to...
13349         (ELIDE_TRYLOCK): ...here.
13351 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13353         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13354         * configure: Regenerate.
13355         * INSTALL: Regenerate.
13356         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13357         and tweak grammar.
13359 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13361         * login/programs/pt_chown.c: Include signal.h
13362         (main): Clear any signal mask from the parent process.
13364 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13366         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13367         * configure: Regenerated.
13368         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13369         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13370         $(gnu89-inline-CFLAGS).
13372         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13373         test.
13374         (libc_cv_asm_weakext_directive): Likewise.
13375         * configure: Regenerated.
13376         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13377         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13378         * include/libc-symbols.h
13379         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13380         #error.
13381         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13382         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13384         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13385         prototype-style function definition.
13386         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13387         * sysdeps/i386/ffs.c (__ffs): Likewise.
13388         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13389         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13390         Likewise.
13391         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13392         Likewise.
13393         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13395         Likewise.
13396         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13397         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13398         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13399         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13400         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13401         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13402         * sysdeps/mach/hurd/access.c (__access): Likewise.
13403         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13404         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13405         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13406         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13407         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13408         (cthread_getspecific): Likewise.
13409         (cthread_setspecific): Likewise.
13410         (__libc_getspecific): Likewise.
13411         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13412         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13413         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13414         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13415         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13416         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13417         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13418         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13419         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13420         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13421         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13422         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13423         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13424         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13425         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13426         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13427         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13428         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13429         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13430         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13431         * sysdeps/mach/hurd/link.c (__link): Likewise.
13432         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13433         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13434         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13435         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13436         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13437         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13438         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13439         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13440         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13441         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13442         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13443         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13444         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13445         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13446         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13447         * sysdeps/mach/hurd/send.c (__send): Likewise.
13448         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13449         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13450         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13451         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13452         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13453         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13454         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13455         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13456         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13457         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13458         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13459         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13460         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13461         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13462         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13463         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13464         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13465         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13466         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13467         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13468         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13469         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13470         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13471         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13472         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13473         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13474         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13475         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13476         * sysdeps/posix/alarm.c (alarm): Likewise.
13477         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13478         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13479         * sysdeps/posix/dup.c (__dup): Likewise.
13480         * sysdeps/posix/dup2.c (__dup2): Likewise.
13481         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13482         (main): Likewise.
13483         * sysdeps/posix/flock.c (__flock): Likewise.
13484         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13485         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13486         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13487         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13488         * sysdeps/posix/isatty.c (__isatty): Likewise.
13489         * sysdeps/posix/killpg.c (killpg): Likewise.
13490         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13491         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13492         * sysdeps/posix/raise.c (raise): Likewise.
13493         * sysdeps/posix/remove.c (remove): Likewise.
13494         * sysdeps/posix/rename.c (rename): Likewise.
13495         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13496         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13497         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13498         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13499         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13500         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13501         * sysdeps/posix/sigset.c (sigset): Likewise.
13502         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13503         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13504         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13505         * sysdeps/posix/time.c (time): Likewise.
13506         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13507         (ttyname): Likewise.
13508         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13509         * sysdeps/posix/utime.c (utime): Likewise.
13510         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13511         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13512         Likewise.
13513         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13514         (pthread_spin_trylock): Likewise.
13515         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13516         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13517         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13518         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13519         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13520         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13521         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13522         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13523         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13524         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13525         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13526         * sysdeps/s390/ffs.c (__ffs): Likewise.
13527         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13528         Likewise.
13529         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13530         Likewise.
13531         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13532         Likewise.
13533         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13534         (pthread_barrier_destroy): Likewise.
13535         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13536         (__pthread_barrier_wait): Likewise.
13537         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13538         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13539         (__pthread_barrier_wait): Likewise.
13540         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13541         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13542         (memcmp_not_common_alignment): Likewise.
13543         (MEMCMP): Likewise.
13544         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13545         (_wordcopy_fwd_dest_aligned): Likewise.
13546         (_wordcopy_bwd_aligned): Likewise.
13547         (_wordcopy_bwd_dest_aligned): Likewise.
13548         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13549         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13550         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13551         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13552         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13553         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13554         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13555         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13556         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13557         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13558         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13559         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13560         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13561         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13562         * sysdeps/unix/stime.c (stime): Likewise.
13563         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13564         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13565         Likewise.  Use internal_function.
13566         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13567         Convert to prototype-style function definition.
13568         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13569         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13571         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13572         Likewise.  Use internal_function.
13573         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13574         prototype-style function definition
13575         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13576         Likewise.
13577         (__getlogin_r): Likewise.
13578         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13580         (__pthread_cond_broadcast): Likewise.
13581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13582         (__pthread_cond_destroy): Likewise.
13583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13584         (__pthread_cond_init): Likewise.
13585         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13586         (__pthread_cond_signal): Likewise.
13587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13588         (__pthread_cond_wait): Likewise.
13589         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13590         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13591         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13598         Likewise.
13599         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13601         (__ftruncate64): Likewise.
13602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13603         (truncate64): Likewise.
13604         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13605         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13606         (pthread_getcpuclockid): Likewise.
13607         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13608         Likewise.
13609         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13610         Likewise.
13611         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13612         Likewise.
13613         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13614         Likewise.
13615         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13616         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13617         (__libc_sigaction): Likewise.
13618         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13619         Likewise.
13620         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13621         (__sigprocmask): Likewise.
13622         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13623         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13624         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13625         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13626         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13627         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13628         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13629         Likewise.
13630         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13631         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13632         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13633         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13634         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13637         (__sigprocmask): Likewise.
13638         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13639         (cfgetispeed): Likewise.
13640         (cfsetospeed): Likewise.
13641         (cfsetispeed): Likewise.
13642         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13643         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13644         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13645         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13646         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13647         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13648         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13649         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13650         Likewise.
13651         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13652         Likewise.
13653         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13654         Likewise.
13655         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13656         Likewise.
13657         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13659 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13661         sunrpc: Rewrite with explicit TLS access using __thread.
13662         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13663         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13664         directly.
13665         (__rpc_thread_variables): Access thread_rpc_vars directly.
13666         Eliminate redundant assignment of the tvp variable.
13668 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13670         malloc: Rewrite with explicit TLS access using __thread.
13671         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13672         (tsd_setspecific, tsd_getspecific): Remove.
13673         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13674         (tsd_setspecific, tsd_getspecific): Likewise.
13675         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13676         (tsd_setspecific, tsd_getspecific): Likewise.
13677         * malloc/arena.c (thread_arena): New TLS variable.
13678         (arena_key): Remove variable.
13679         (arena_get): Use thread_arena.
13680         (arena_lookup): Remove macro.
13681         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13682         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13683         (_int_new_arena, get_free_list, reused_arena)
13684         (arena_thread_freeres): Use thread_arena.
13685         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13686         tsd_getspecific, tsd_setspecific from safety annotations.
13687         (Allocating Cleared Space): Remove arena_lookup from safety
13688         annotations.
13690 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13692         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13693         struct scratch_buffer instead of extend_alloca.
13695 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13697         * sysdeps/unix/sysv/linux/kernel-features.h
13698         (__ASSUME_SOCK_CLOEXEC): Remove.
13699         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13700         (__have_paccept): Remove unused macro.
13701         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13702         * misc/syslog.c (openlog_internal): Remove fallback code for
13703         !__ASSUME_SOCK_CLOEXEC.
13704         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13705         missing SOCK_CLOEXEC.
13706         * nscd/connections.c (have_sock_cloexec): Remove definition.
13707         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13708         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13709         !__ASSUME_SOCK_CLOEXEC.
13710         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13711         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13712         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13713         definition.
13714         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13715         code for !__ASSUME_SOCK_CLOEXEC.
13717 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13719         [BZ #18982]
13720         * manual/stdio.texi (Variable Arguments Output): Add portability
13721         note, explaining that vfprintf clobbers the va_list pointer.
13723 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13725         * math/libm-test.inc (fabs_test_data): Add more tests.
13726         (fdim_test_data): Likewise.
13727         (fma_test_data): Likewise.
13728         (fmax_test_data): Likewise.
13729         (fmin_test_data): Likewise.
13730         (fmod_test_data): Likewise.
13732 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13734         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13735         data.
13737 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13739         * math/libm-test.inc (ceil_test_data): Add more tests and more
13740         expectations for "inexact".
13741         (floor_test_data): Add more tests.
13742         (round_test_data): Likewise.
13743         (trunc_test_data): Likewise.
13745         * crypt/cert.c (good_bye): Convert to prototype-style function
13746         definition.
13747         (get8): Likewise.
13748         (put8): Likewise.
13749         * crypt/crypt-entry.c (crypt): Likewise.
13750         (__fcrypt): Likewise.
13751         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13752         (_ufc_set_bits): Likewise.
13753         (_ufc_clearmem): Likewise.
13754         (__init_des_r): Likewise.
13755         (shuffle_sb): Likewise.
13756         (shuffle_sb): Likewise.
13757         (_ufc_setup_salt_r): Likewise.
13758         (_ufc_mk_keytab_r): Likewise.
13759         (_ufc_dofinalperm_r): Likewise.
13760         (encrypt): Likewise.
13761         (__setkey_r): Likewise.
13762         (setkey): Likewise.
13763         * crypt/md5.c (md5_init_ctx): Likewise.
13764         (md5_read_ctx): Likewise.
13765         (md5_finish_ctx): Likewise.
13766         (md5_stream): Likewise.
13767         (md5_buffer): Likewise.
13768         (md5_process_bytes): Likewise.
13769         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13770         (__sha256_finish_ctx): Likewise.
13771         (__sha256_process_bytes): Likewise.
13772         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13773         (__sha512_finish_ctx): Likewise.
13774         (__sha512_process_bytes): Likewise.
13775         * ctype/isctype.c (__isctype): Likewise.
13776         * debug/backtrace.c (__backtrace): Likewise.
13777         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13778         * debug/fgets_chk.c (__fgets_chk): Likewise.
13779         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13780         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13781         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13782         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13783         * debug/memset_chk.c (__memset_chk): Likewise.
13784         * debug/strcat_chk.c (__strcat_chk): Likewise.
13785         * debug/strncat_chk.c (__strncat_chk): Likewise.
13786         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13787         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13788         * dirent/dirfd.c (dirfd): Likewise.
13789         * dirent/getdents.c (__getdirentries): Likewise.
13790         * dirent/getdents64.c (getdirentries64): Likewise.
13791         * dirent/rewinddir.c (__rewinddir): Likewise.
13792         * dirent/seekdir.c (seekdir): Likewise.
13793         * dirent/telldir.c (telldir): Likewise.
13794         * elf/sln.c (makesymlinks): Likewise.
13795         (makesymlink): Likewise.
13796         * gmon/gmon.c (__moncontrol): Likewise.
13797         (__monstartup): Likewise.
13798         (write_hist): Likewise.
13799         (write_call_graph): Likewise.
13800         (write_bb_counts): Likewise.
13801         * grp/setgroups.c (setgroups): Likewise.
13802         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13803         * inet/inet_net.c (inet_network): Likewise.
13804         * inet/inet_netof.c (inet_netof): Likewise.
13805         * inet/rcmd.c (rresvport_af): Likewise.
13806         (rresvport): Likewise.
13807         * io/access.c (__access): Likewise.
13808         * io/chdir.c (__chdir): Likewise.
13809         * io/chmod.c (__chmod): Likewise.
13810         * io/chown.c (__chown): Likewise.
13811         * io/close.c (__close): Likewise.
13812         * io/creat.c (creat): Likewise.
13813         * io/creat64.c (creat64): Likewise.
13814         * io/dup.c (__dup): Likewise.
13815         * io/dup2.c (__dup2): Likewise.
13816         * io/dup3.c (__dup3): Likewise.
13817         * io/euidaccess.c (__euidaccess): Likewise.
13818         * io/faccessat.c (faccessat): Likewise.
13819         * io/fchmod.c (__fchmod): Likewise.
13820         * io/fchmodat.c (fchmodat): Likewise.
13821         * io/fchown.c (__fchown): Likewise.
13822         * io/fchownat.c (fchownat): Likewise.
13823         * io/fcntl.c (__fcntl): Likewise.
13824         * io/flock.c (__flock): Likewise.
13825         * io/fts.c (fts_load): Likewise.
13826         (fts_close): Likewise.
13827         (fts_read): Likewise.
13828         (fts_set): Likewise.
13829         (fts_children): Likewise.
13830         (fts_build): Likewise.
13831         (fts_stat): Likewise.
13832         (fts_sort): Likewise.
13833         (fts_alloc): Likewise.
13834         (fts_lfree): Likewise.
13835         (fts_palloc): Likewise.
13836         (fts_padjust): Likewise.
13837         (fts_maxarglen): Likewise.
13838         (fts_safe_changedir): Likewise.
13839         * io/getwd.c (getwd): Likewise.
13840         * io/isatty.c (__isatty): Likewise.
13841         * io/lchown.c (__lchown): Likewise.
13842         * io/link.c (__link): Likewise.
13843         * io/linkat.c (linkat): Likewise.
13844         * io/lseek.c (__libc_lseek): Likewise.
13845         * io/mkdir.c (__mkdir): Likewise.
13846         * io/mkdirat.c (mkdirat): Likewise.
13847         * io/mkfifo.c (mkfifo): Likewise.
13848         * io/mkfifoat.c (mkfifoat): Likewise.
13849         * io/open.c (__libc_open): Likewise.
13850         * io/open64.c (__libc_open64): Likewise.
13851         * io/readlink.c (__readlink): Likewise.
13852         * io/readlinkat.c (readlinkat): Likewise.
13853         * io/rmdir.c (__rmdir): Likewise.
13854         * io/symlink.c (__symlink): Likewise.
13855         * io/symlinkat.c (symlinkat): Likewise.
13856         * io/ttyname.c (ttyname): Likewise.
13857         * io/ttyname_r.c (__ttyname_r): Likewise.
13858         * io/umask.c (__umask): Likewise.
13859         * io/unlink.c (__unlink): Likewise.
13860         * io/unlinkat.c (unlinkat): Likewise.
13861         * io/utime.c (utime): Likewise.
13862         * libio/clearerr.c (clearerr): Likewise.
13863         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13864         * libio/feof.c (_IO_feof): Likewise.
13865         * libio/feof_u.c (feof_unlocked): Likewise.
13866         * libio/ferror.c (_IO_ferror): Likewise.
13867         * libio/ferror_u.c (ferror_unlocked): Likewise.
13868         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13869         * libio/fileno.c (__fileno): Likewise.
13870         * libio/fputc.c (fputc): Likewise.
13871         * libio/fputc_u.c (fputc_unlocked): Likewise.
13872         * libio/fputwc.c (fputwc): Likewise.
13873         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13874         * libio/freopen.c (freopen): Likewise.
13875         * libio/freopen64.c (freopen64): Likewise.
13876         * libio/fseek.c (fseek): Likewise.
13877         * libio/fseeko.c (fseeko): Likewise.
13878         * libio/fseeko64.c (fseeko64): Likewise.
13879         * libio/ftello.c (__ftello): Likewise.
13880         * libio/ftello64.c (ftello64): Likewise.
13881         * libio/fwide.c (fwide): Likewise.
13882         * libio/genops.c (_IO_un_link): Likewise.
13883         (_IO_link_in): Likewise.
13884         (_IO_least_marker): Likewise.
13885         (_IO_switch_to_main_get_area): Likewise.
13886         (_IO_switch_to_backup_area): Likewise.
13887         (_IO_switch_to_get_mode): Likewise.
13888         (_IO_free_backup_area): Likewise.
13889         (_IO_switch_to_put_mode): Likewise.
13890         (__overflow): Likewise.
13891         (__underflow): Likewise.
13892         (__uflow): Likewise.
13893         (_IO_setb): Likewise.
13894         (_IO_doallocbuf): Likewise.
13895         (_IO_default_underflow): Likewise.
13896         (_IO_default_uflow): Likewise.
13897         (_IO_default_xsputn): Likewise.
13898         (_IO_sgetn): Likewise.
13899         (_IO_default_xsgetn): Likewise.
13900         (_IO_sync): Likewise.
13901         (_IO_default_setbuf): Likewise.
13902         (_IO_default_seekpos): Likewise.
13903         (_IO_default_doallocate): Likewise.
13904         (_IO_init): Likewise.
13905         (_IO_old_init): Likewise.
13906         (_IO_default_sync): Likewise.
13907         (_IO_default_finish): Likewise.
13908         (_IO_default_seekoff): Likewise.
13909         (_IO_sputbackc): Likewise.
13910         (_IO_sungetc): Likewise.
13911         (_IO_set_column): Likewise.
13912         (_IO_set_column): Likewise.
13913         (_IO_adjust_column): Likewise.
13914         (_IO_get_column): Likewise.
13915         (_IO_init_marker): Likewise.
13916         (_IO_remove_marker): Likewise.
13917         (_IO_marker_difference): Likewise.
13918         (_IO_marker_delta): Likewise.
13919         (_IO_seekmark): Likewise.
13920         (_IO_unsave_markers): Likewise.
13921         (_IO_nobackup_pbackfail): Likewise.
13922         (_IO_default_pbackfail): Likewise.
13923         (_IO_default_seek): Likewise.
13924         (_IO_default_stat): Likewise.
13925         (_IO_default_read): Likewise.
13926         (_IO_default_write): Likewise.
13927         (_IO_default_showmanyc): Likewise.
13928         (_IO_default_imbue): Likewise.
13929         (_IO_iter_next): Likewise.
13930         (_IO_iter_file): Likewise.
13931         * libio/getc.c (_IO_getc): Likewise.
13932         * libio/getwc.c (_IO_getwc): Likewise.
13933         * libio/iofclose.c (_IO_new_fclose): Likewise.
13934         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13935         * libio/iofflush.c (_IO_fflush): Likewise.
13936         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13937         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13938         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13939         * libio/iofgets.c (_IO_fgets): Likewise.
13940         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13941         * libio/iofgetws.c (fgetws): Likewise.
13942         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13943         * libio/iofopen64.c (_IO_fopen64): Likewise.
13944         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13945         (_IO_cookie_write): Likewise.
13946         (_IO_cookie_seek): Likewise.
13947         (_IO_cookie_close): Likewise.
13948         (_IO_cookie_seekoff): Likewise.
13949         (_IO_old_cookie_seek): Likewise.
13950         * libio/iofputs.c (_IO_fputs): Likewise.
13951         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13952         * libio/iofputws.c (fputws): Likewise.
13953         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13954         * libio/iofread.c (_IO_fread): Likewise.
13955         * libio/iofread_u.c (__fread_unlocked): Likewise.
13956         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13957         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13958         * libio/ioftell.c (_IO_ftell): Likewise.
13959         * libio/iofwrite.c (_IO_fwrite): Likewise.
13960         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13961         * libio/iogets.c (_IO_gets): Likewise.
13962         * libio/iopadn.c (_IO_padn): Likewise.
13963         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13964         (_IO_new_popen): Likewise.
13965         (_IO_new_proc_close): Likewise.
13966         * libio/ioputs.c (_IO_puts): Likewise.
13967         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13968         (_IO_seekoff): Likewise.
13969         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13970         (_IO_seekpos): Likewise.
13971         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13972         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13973         * libio/ioungetc.c (_IO_ungetc): Likewise.
13974         * libio/ioungetwc.c (ungetwc): Likewise.
13975         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13976         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13977         * libio/iowpadn.c (_IO_wpadn): Likewise.
13978         * libio/libc_fatal.c (__libc_fatal): Likewise.
13979         * libio/memstream.c (__open_memstream): Likewise.
13980         (_IO_mem_sync): Likewise.
13981         (_IO_mem_finish): Likewise.
13982         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13983         (_IO_old_file_close_it): Likewise.
13984         (_IO_old_file_finish): Likewise.
13985         (_IO_old_file_fopen): Likewise.
13986         (_IO_old_file_attach): Likewise.
13987         (_IO_old_file_setbuf): Likewise.
13988         (_IO_old_do_write): Likewise.
13989         (old_do_write): Likewise.
13990         (_IO_old_file_underflow): Likewise.
13991         (_IO_old_file_overflow): Likewise.
13992         (_IO_old_file_sync): Likewise.
13993         (_IO_old_file_seekoff): Likewise.
13994         (_IO_old_file_write): Likewise.
13995         (_IO_old_file_xsputn): Likewise.
13996         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13997         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13998         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13999         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14000         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14001         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14002         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14003         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14004         (_IO_old_popen): Likewise.
14005         (_IO_old_proc_close): Likewise.
14006         * libio/oldpclose.c (__old_pclose): Likewise.
14007         * libio/pclose.c (__new_pclose): Likewise.
14008         * libio/peekc.c (_IO_peekc_locked): Likewise.
14009         * libio/putc.c (_IO_putc): Likewise.
14010         * libio/putc_u.c (putc_unlocked): Likewise.
14011         * libio/putchar.c (putchar): Likewise.
14012         * libio/putchar_u.c (putchar_unlocked): Likewise.
14013         * libio/putwc.c (putwc): Likewise.
14014         * libio/putwc_u.c (putwc_unlocked): Likewise.
14015         * libio/putwchar.c (putwchar): Likewise.
14016         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14017         * libio/rewind.c (rewind): Likewise.
14018         * libio/setbuf.c (setbuf): Likewise.
14019         * libio/setlinebuf.c (setlinebuf): Likewise.
14020         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14021         * libio/vscanf.c (_IO_vscanf): Likewise.
14022         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14023         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14024         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14025         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14026         (_IO_switch_to_main_wget_area): Likewise.
14027         (_IO_switch_to_wbackup_area): Likewise.
14028         (_IO_wsetb): Likewise.
14029         (_IO_wdefault_pbackfail): Likewise.
14030         (_IO_wdefault_finish): Likewise.
14031         (_IO_wdefault_uflow): Likewise.
14032         (__woverflow): Likewise.
14033         (__wuflow): Likewise.
14034         (__wunderflow): Likewise.
14035         (_IO_wdefault_xsputn): Likewise.
14036         (_IO_wdefault_xsgetn): Likewise.
14037         (_IO_wdoallocbuf): Likewise.
14038         (_IO_wdefault_doallocate): Likewise.
14039         (_IO_switch_to_wget_mode): Likewise.
14040         (_IO_free_wbackup_area): Likewise.
14041         (_IO_switch_to_wput_mode): Likewise.
14042         (_IO_sputbackwc): Likewise.
14043         (_IO_sungetwc): Likewise.
14044         (_IO_adjust_wcolumn): Likewise.
14045         (_IO_init_wmarker): Likewise.
14046         (_IO_wmarker_delta): Likewise.
14047         (_IO_seekwmark): Likewise.
14048         (_IO_unsave_wmarkers): Likewise.
14049         * libio/wmemstream.c (open_wmemstream): Likewise.
14050         (_IO_wmem_sync): Likewise.
14051         (_IO_wmem_finish): Likewise.
14052         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14053         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14054         * locale/programs/simple-hash.c (init_hash): Likewise.
14055         (delete_hash): Likewise.
14056         (insert_entry): Likewise.
14057         (set_entry): Likewise.
14058         (next_prime): Likewise.
14059         (is_prime): Likewise.
14060         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14061         (xmalloc): Likewise.
14062         (xrealloc): Likewise.
14063         * locale/programs/xstrdup.c (xstrdup): Likewise.
14064         * localedata/collate-test.c (xstrcoll): Likewise.
14065         * localedata/xfrm-test.c (xstrcmp): Likewise.
14066         * login/getlogin_r.c (__getlogin_r): Likewise.
14067         * login/getpt.c (__posix_openpt): Likewise.
14068         * login/login_tty.c (login_tty): Likewise.
14069         * login/setlogin.c (setlogin): Likewise.
14070         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14071         (mach_msg_destroy_port): Likewise.
14072         (mach_msg_destroy_memory): Likewise.
14073         * malloc/mcheck.c (flood): Likewise.
14074         * misc/acct.c (acct): Likewise.
14075         * misc/brk.c (__brk): Likewise.
14076         * misc/chflags.c (chflags): Likewise.
14077         * misc/chroot.c (chroot): Likewise.
14078         * misc/fchflags.c (fchflags): Likewise.
14079         * misc/fstab.c (getfsspec): Likewise.
14080         (getfsfile): Likewise.
14081         * misc/fsync.c (fsync): Likewise.
14082         * misc/ftruncate.c (__ftruncate): Likewise.
14083         * misc/ftruncate64.c (__ftruncate64): Likewise.
14084         * misc/getdomain.c (getdomainname): Likewise.
14085         (getdomainname): Likewise.
14086         * misc/gethostname.c (__gethostname): Likewise.
14087         * misc/getpass.c (getpass): Likewise.
14088         * misc/getttyent.c (skip): Likewise.
14089         (value): Likewise.
14090         * misc/gtty.c (gtty): Likewise.
14091         * misc/hsearch.c (hsearch): Likewise.
14092         (hcreate): Likewise.
14093         * misc/hsearch_r.c (__hcreate_r): Likewise.
14094         (__hdestroy_r): Likewise.
14095         * misc/ioctl.c (__ioctl): Likewise.
14096         * misc/mkdtemp.c (mkdtemp): Likewise.
14097         * misc/mkostemp.c (mkostemp): Likewise.
14098         * misc/mkostemp64.c (mkostemp64): Likewise.
14099         * misc/mkostemps.c (mkostemps): Likewise.
14100         * misc/mkostemps64.c (mkostemps64): Likewise.
14101         * misc/mkstemp.c (mkstemp): Likewise.
14102         * misc/mkstemp64.c (mkstemp64): Likewise.
14103         * misc/mkstemps.c (mkstemps): Likewise.
14104         * misc/mkstemps64.c (mkstemps64): Likewise.
14105         * misc/mktemp.c (__mktemp): Likewise.
14106         * misc/preadv.c (preadv): Likewise.
14107         * misc/preadv64.c (preadv64): Likewise.
14108         * misc/pwritev.c (pwritev): Likewise.
14109         * misc/pwritev64.c (pwritev64): Likewise.
14110         * misc/readv.c (__readv): Likewise.
14111         * misc/revoke.c (revoke): Likewise.
14112         * misc/setdomain.c (setdomainname): Likewise.
14113         * misc/setegid.c (setegid): Likewise.
14114         * misc/seteuid.c (seteuid): Likewise.
14115         * misc/sethostid.c (sethostid): Likewise.
14116         * misc/sethostname.c (sethostname): Likewise.
14117         * misc/setregid.c (__setregid): Likewise.
14118         * misc/setreuid.c (__setreuid): Likewise.
14119         * misc/sstk.c (sstk): Likewise.
14120         * misc/stty.c (stty): Likewise.
14121         * misc/syscall.c (syscall): Likewise.
14122         * misc/syslog.c (setlogmask): Likewise.
14123         * misc/truncate.c (__truncate): Likewise.
14124         * misc/truncate64.c (truncate64): Likewise.
14125         * misc/ualarm.c (ualarm): Likewise.
14126         * misc/usleep.c (usleep): Likewise.
14127         * misc/ustat.c (ustat): Likewise.
14128         * misc/writev.c (__writev): Likewise.
14129         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14130         * nptl/old_pthread_cond_broadcast.c
14131         (__pthread_cond_broadcast_2_0): Likewise.
14132         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14133         Likewise.
14134         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14135         Likewise.
14136         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14137         Likewise.
14138         * nptl/pt-raise.c (raise): Likewise.
14139         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14140         Likewise.
14141         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14142         * nptl/pthread_barrierattr_destroy.c
14143         (pthread_barrierattr_destroy): Likewise.
14144         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14145         Likewise.
14146         * nptl/pthread_barrierattr_setpshared.c
14147         (pthread_barrierattr_setpshared): Likewise.
14148         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14149         Likewise.
14150         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14151         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14152         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14153         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14154         Likewise.
14155         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14156         Likewise.
14157         * nptl/pthread_condattr_getpshared.c
14158         (pthread_condattr_getpshared): Likewise.
14159         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14160         Likewise.
14161         * nptl/pthread_condattr_setpshared.c
14162         (pthread_condattr_setpshared): Likewise.
14163         * nptl/pthread_detach.c (pthread_detach): Likewise.
14164         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14165         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14166         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14167         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14168         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14169         Likewise.
14170         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14171         Likewise.
14172         * nptl/pthread_mutex_getprioceiling.c
14173         (pthread_mutex_getprioceiling): Likewise.
14174         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14175         Likewise.
14176         * nptl/pthread_mutexattr_getprotocol.c
14177         (pthread_mutexattr_getprotocol): Likewise.
14178         * nptl/pthread_mutexattr_getpshared.c
14179         (pthread_mutexattr_getpshared): Likewise.
14180         * nptl/pthread_mutexattr_getrobust.c
14181         (pthread_mutexattr_getrobust): Likewise.
14182         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14183         Likewise.
14184         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14185         Likewise.
14186         * nptl/pthread_mutexattr_setprioceiling.c
14187         (pthread_mutexattr_setprioceiling): Likewise.
14188         * nptl/pthread_mutexattr_setprotocol.c
14189         (pthread_mutexattr_setprotocol): Likewise.
14190         * nptl/pthread_mutexattr_setpshared.c
14191         (pthread_mutexattr_setpshared): Likewise.
14192         * nptl/pthread_mutexattr_setrobust.c
14193         (pthread_mutexattr_setrobust): Likewise.
14194         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14195         Likewise.
14196         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14197         Likewise.
14198         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14199         Likewise.
14200         * nptl/pthread_rwlockattr_getkind_np.c
14201         (pthread_rwlockattr_getkind_np): Likewise.
14202         * nptl/pthread_rwlockattr_getpshared.c
14203         (pthread_rwlockattr_getpshared): Likewise.
14204         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14205         Likewise.
14206         * nptl/pthread_rwlockattr_setkind_np.c
14207         (pthread_rwlockattr_setkind_np): Likewise.
14208         * nptl/pthread_rwlockattr_setpshared.c
14209         (pthread_rwlockattr_setpshared): Likewise.
14210         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14211         Likewise.
14212         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14213         Likewise.
14214         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14215         Likewise.
14216         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14217         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14218         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14219         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14220         * nptl/sem_close.c (sem_close): Likewise.
14221         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14222         * nptl/sem_init.c (__old_sem_init): Likewise.
14223         * nptl/sigaction.c (__sigaction): Likewise.
14224         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14225         * posix/_exit.c (_exit): Likewise.
14226         * posix/alarm.c (alarm): Likewise.
14227         * posix/confstr.c (confstr): Likewise.
14228         * posix/fpathconf.c (__fpathconf): Likewise.
14229         * posix/getgroups.c (__getgroups): Likewise.
14230         * posix/getpgid.c (__getpgid): Likewise.
14231         * posix/group_member.c (__group_member): Likewise.
14232         * posix/pathconf.c (__pathconf): Likewise.
14233         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14234         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14235         * posix/setgid.c (__setgid): Likewise.
14236         * posix/setpgid.c (__setpgid): Likewise.
14237         * posix/setuid.c (__setuid): Likewise.
14238         * posix/sleep.c (__sleep): Likewise.
14239         * posix/sysconf.c (__sysconf): Likewise.
14240         * posix/times.c (__times): Likewise.
14241         * posix/uname.c (__uname): Likewise.
14242         * posix/waitid.c (__waitid): Likewise.
14243         * pwd/getpw.c (__getpw): Likewise.
14244         * resolv/base64.c (b64_pton): Likewise.
14245         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14246         * resolv/gethnamaddr.c (Dprintf): Likewise.
14247         (gethostbyname): Likewise.
14248         (gethostbyname2): Likewise.
14249         (gethostbyaddr): Likewise.
14250         (_sethtent): Likewise.
14251         (_gethtbyname): Likewise.
14252         (_gethtbyname2): Likewise.
14253         (_gethtbyaddr): Likewise.
14254         (map_v4v6_address): Likewise.
14255         (map_v4v6_hostent): Likewise.
14256         (addrsort): Likewise.
14257         (ht_sethostent): Likewise.
14258         (ht_gethostbyname): Likewise.
14259         (ht_gethostbyaddr): Likewise.
14260         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14261         (inet_net_ntop_ipv4): Likewise.
14262         * resolv/inet_neta.c (inet_neta): Likewise.
14263         * resolv/inet_ntop.c (inet_ntop): Likewise.
14264         (inet_ntop4): Likewise.
14265         (inet_ntop6): Likewise.
14266         * resolv/inet_pton.c (__inet_pton): Likewise.
14267         (inet_pton4): Likewise.
14268         (inet_pton6): Likewise.
14269         * resolv/res_debug.c (loc_aton): Likewise.
14270         (loc_ntoa): Likewise.
14271         * resource/getpriority.c (__getpriority): Likewise.
14272         * resource/getrusage.c (__getrusage): Likewise.
14273         * resource/nice.c (nice): Likewise.
14274         * resource/setpriority.c (__setpriority): Likewise.
14275         * resource/setrlimit64.c (setrlimit64): Likewise.
14276         * resource/vlimit.c (vlimit): Likewise.
14277         * resource/vtimes.c (vtimes): Likewise.
14278         * rt/aio_error.c (aio_error): Likewise.
14279         * rt/aio_return.c (aio_return): Likewise.
14280         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14281         * signal/kill.c (__kill): Likewise.
14282         * signal/killpg.c (killpg): Likewise.
14283         * signal/raise.c (raise): Likewise.
14284         * signal/sigaction.c (__sigaction): Likewise.
14285         * signal/sigaddset.c (sigaddset): Likewise.
14286         * signal/sigaltstack.c (sigaltstack): Likewise.
14287         * signal/sigandset.c (sigandset): Likewise.
14288         * signal/sigblock.c (__sigblock): Likewise.
14289         * signal/sigdelset.c (sigdelset): Likewise.
14290         * signal/sigempty.c (sigemptyset): Likewise.
14291         * signal/sigfillset.c (sigfillset): Likewise.
14292         * signal/sighold.c (sighold): Likewise.
14293         * signal/sigignore.c (sigignore): Likewise.
14294         * signal/sigintr.c (siginterrupt): Likewise.
14295         * signal/sigisempty.c (sigisemptyset): Likewise.
14296         * signal/sigismem.c (sigismember): Likewise.
14297         * signal/signal.c (signal): Likewise.
14298         * signal/sigorset.c (sigorset): Likewise.
14299         * signal/sigpause.c (__sigpause): Likewise.
14300         * signal/sigpending.c (sigpending): Likewise.
14301         * signal/sigprocmask.c (__sigprocmask): Likewise.
14302         * signal/sigrelse.c (sigrelse): Likewise.
14303         * signal/sigreturn.c (__sigreturn): Likewise.
14304         * signal/sigset.c (sigset): Likewise.
14305         * signal/sigsetmask.c (__sigsetmask): Likewise.
14306         * signal/sigstack.c (sigstack): Likewise.
14307         * signal/sigsuspend.c (__sigsuspend): Likewise.
14308         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14309         * signal/sysv_signal.c (__sysv_signal): Likewise.
14310         * socket/accept.c (accept): Likewise.
14311         * socket/accept4.c (__libc_accept4): Likewise.
14312         * socket/bind.c (__bind): Likewise.
14313         * socket/connect.c (__connect): Likewise.
14314         * socket/getpeername.c (getpeername): Likewise.
14315         * socket/getsockname.c (__getsockname): Likewise.
14316         * socket/getsockopt.c (getsockopt): Likewise.
14317         * socket/listen.c (__listen): Likewise.
14318         * socket/recv.c (__recv): Likewise.
14319         * socket/recvmsg.c (__recvmsg): Likewise.
14320         * socket/send.c (__send): Likewise.
14321         * socket/sendmsg.c (__sendmsg): Likewise.
14322         * socket/shutdown.c (shutdown): Likewise.
14323         * socket/sockatmark.c (sockatmark): Likewise.
14324         * socket/socket.c (__socket): Likewise.
14325         * stdio-common/ctermid.c (ctermid): Likewise.
14326         * stdio-common/cuserid.c (cuserid): Likewise.
14327         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14328         * stdio-common/remove.c (remove): Likewise.
14329         * stdio-common/rename.c (rename): Likewise.
14330         * stdio-common/renameat.c (renameat): Likewise.
14331         * stdio-common/tempname.c (__gen_tempname): Likewise.
14332         * stdio-common/xbug.c (InitBuffer): Likewise.
14333         (AppendToBuffer): Likewise.
14334         (ReadFile): Likewise.
14335         * stdlib/a64l.c (a64l): Likewise.
14336         * stdlib/drand48_r.c (drand48_r): Likewise.
14337         * stdlib/getcontext.c (getcontext): Likewise.
14338         * stdlib/getenv.c (getenv): Likewise.
14339         * stdlib/l64a.c (l64a): Likewise.
14340         * stdlib/llabs.c (llabs): Likewise.
14341         * stdlib/lldiv.c (lldiv): Likewise.
14342         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14343         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14344         * stdlib/putenv.c (putenv): Likewise.
14345         * stdlib/random.c (__srandom): Likewise.
14346         (__initstate): Likewise.
14347         (__setstate): Likewise.
14348         * stdlib/random_r.c (__srandom_r): Likewise.
14349         (__setstate_r): Likewise.
14350         (__random_r): Likewise.
14351         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14352         * stdlib/setcontext.c (setcontext): Likewise.
14353         * stdlib/setenv.c (setenv): Likewise.
14354         (unsetenv): Likewise.
14355         * stdlib/srand48.c (srand48): Likewise.
14356         * stdlib/srand48_r.c (__srand48_r): Likewise.
14357         * stdlib/swapcontext.c (swapcontext): Likewise.
14358         * stdlib/system.c (__libc_system): Likewise.
14359         * stdlib/tst-strtod.c (expand): Likewise.
14360         * stdlib/tst-strtol.c (expand): Likewise.
14361         * stdlib/tst-strtoll.c (expand): Likewise.
14362         * streams/fattach.c (fattach): Likewise.
14363         * streams/fdetach.c (fdetach): Likewise.
14364         * streams/getmsg.c (getmsg): Likewise.
14365         * streams/isastream.c (isastream): Likewise.
14366         * string/ffs.c (__ffs): Likewise.
14367         * string/ffsll.c (ffsll): Likewise.
14368         * string/memcmp.c (memcmp_common_alignment): Likewise.
14369         (memcmp_not_common_alignment): Likewise.
14370         (MEMCMP): Likewise.
14371         * string/memcpy.c (memcpy): Likewise.
14372         * string/memmove.c (MEMMOVE): Likewise.
14373         * string/memset.c (memset): Likewise.
14374         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14375         * string/strchrnul.c (STRCHRNUL): Likewise.
14376         * string/strerror.c (strerror): Likewise.
14377         * string/strndup.c (__strndup): Likewise.
14378         * string/strverscmp.c (__strverscmp): Likewise.
14379         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14380         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14381         (clnttcp_freeres): Likewise.
14382         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14383         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14384         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14385         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14386         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14387         (xdr_callhdr): Likewise.
14388         * sunrpc/rpcinfo.c (udpping): Likewise.
14389         (tcpping): Likewise.
14390         (pstatus): Likewise.
14391         (pmapdump): Likewise.
14392         (brdcst): Likewise.
14393         (deletereg): Likewise.
14394         (getprognum): Likewise.
14395         (getvers): Likewise.
14396         (get_inet_address): Likewise.
14397         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14398         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14399         (svcudp_stat): Likewise.
14400         (svcudp_recv): Likewise.
14401         (svcudp_reply): Likewise.
14402         (svcudp_getargs): Likewise.
14403         (svcudp_freeargs): Likewise.
14404         (svcudp_destroy): Likewise.
14405         * sunrpc/xdr.c (xdr_bytes): Likewise.
14406         (xdr_netobj): Likewise.
14407         (xdr_string): Likewise.
14408         (xdr_wrapstring): Likewise.
14409         * sunrpc/xdr_float.c (xdr_float): Likewise.
14410         (xdr_double): Likewise.
14411         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14412         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14413         * sysvipc/ftok.c (ftok): Likewise.
14414         * sysvipc/msgctl.c (msgctl): Likewise.
14415         * sysvipc/msgget.c (msgget): Likewise.
14416         * sysvipc/msgrcv.c (msgrcv): Likewise.
14417         * sysvipc/msgsnd.c (msgsnd): Likewise.
14418         * sysvipc/semget.c (semget): Likewise.
14419         * sysvipc/semop.c (semop): Likewise.
14420         * sysvipc/shmat.c (shmat): Likewise.
14421         * sysvipc/shmctl.c (shmctl): Likewise.
14422         * sysvipc/shmdt.c (shmdt): Likewise.
14423         * sysvipc/shmget.c (shmget): Likewise.
14424         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14425         * termios/speed.c (cfgetospeed): Likewise.
14426         (cfgetispeed): Likewise.
14427         (cfsetospeed): Likewise.
14428         (cfsetispeed): Likewise.
14429         * termios/tcflow.c (tcflow): Likewise.
14430         * termios/tcflush.c (tcflush): Likewise.
14431         * termios/tcgetattr.c (__tcgetattr): Likewise.
14432         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14433         * termios/tcgetsid.c (tcgetsid): Likewise.
14434         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14435         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14436         * time/adjtime.c (__adjtime): Likewise.
14437         * time/dysize.c (dysize): Likewise.
14438         * time/ftime.c (ftime): Likewise.
14439         * time/getitimer.c (__getitimer): Likewise.
14440         * time/gettimeofday.c (__gettimeofday): Likewise.
14441         * time/gmtime.c (__gmtime_r): Likewise.
14442         (gmtime): Likewise.
14443         * time/localtime.c (__localtime_r): Likewise.
14444         (localtime): Likewise.
14445         * time/offtime.c (__offtime): Likewise.
14446         * time/settimeofday.c (__settimeofday): Likewise.
14447         * time/stime.c (stime): Likewise.
14448         * time/strftime_l.c (tm_diff): Likewise.
14449         (iso_week_days): Likewise.
14450         * time/strptime.c (strptime): Likewise.
14451         * time/time.c (time): Likewise.
14452         * time/timespec_get.c (timespec_get): Likewise.
14453         * time/tzset.c (tzset_internal): Likewise.
14454         (compute_change): Likewise.
14455         (__tz_compute): Likewise.
14456         * wcsmbs/btowc.c (__btowc): Likewise.
14457         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14458         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14459         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14460         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14461         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14462         * wcsmbs/wcscat.c (__wcscat): Likewise.
14463         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14464         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14465         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14466         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14467         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14468         * wcsmbs/wcslen.c (__wcslen): Likewise.
14469         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14470         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14471         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14472         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14473         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14474         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14475         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14476         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14477         * wcsmbs/wcstok.c (wcstok): Likewise.
14478         * wcsmbs/wctob.c (wctob): Likewise.
14479         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14480         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14481         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14482         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14483         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14484         * wcsmbs/wmemset.c (__wmemset): Likewise.
14485         * wctype/wcfuncs.c (__towlower): Likewise.
14486         (__towupper): Likewise.
14488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14489         (lll_unlock_elision): Add adapt_count parameter.
14491 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14493         * sysdeps/nptl/configure.ac: Do not give errors based on the
14494         results of top-level configure tests.
14495         * sysdeps/nptl/configure: Regenerated.
14497         * configure.ac (libc_cv_Bgroup): Remove configure test.
14498         * configure: Regenerated.
14499         * config.make.in (have-Bgroup): Remove variable.
14501         * configure.ac (sizeof_long_double): Remove configure test.
14502         * configure: Regenerated.
14503         * config.make.in (sizeof-long-double): Remove variable.
14505         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14506         * configure: Regenerated.
14507         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14508         variable.
14509         (exceptions): Likewise.
14510         * sysdeps/arm/configure: Regenerated.
14511         * config.make.in (exceptions): Remove variable.
14512         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14513         $(exceptions).
14514         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14515         (CFLAGS-vdprintf_chk.c): Likewise.
14516         (CFLAGS-printf_chk.c): Likewise.
14517         (CFLAGS-fprintf_chk.c): Likewise.
14518         (CFLAGS-vprintf_chk.c): Likewise.
14519         (CFLAGS-vfprintf_chk.c): Likewise.
14520         (CFLAGS-gets_chk.c): Likewise.
14521         (CFLAGS-fgets_chk.c): Likewise.
14522         (CFLAGS-fgets_u_chk.c): Likewise.
14523         (CFLAGS-fread_chk.c): Likewise.
14524         (CFLAGS-fread_u_chk.c): Likewise.
14525         (CFLAGS-wprintf_chk.c): Likewise.
14526         (CFLAGS-fwprintf_chk.c): Likewise.
14527         (CFLAGS-vwprintf_chk.c): Likewise.
14528         (CFLAGS-vfwprintf_chk.c): Likewise.
14529         (CFLAGS-fgetws_chk.c): Likewise.
14530         (CFLAGS-fgetws_u_chk.c): Likewise.
14531         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14532         (CFLAGS-fputc.c): Likewise.
14533         (CFLAGS-fputwc.c): Likewise.
14534         (CFLAGS-freopen64.c): Likewise.
14535         (CFLAGS-freopen.c): Likewise.
14536         (CFLAGS-fseek.c): Likewise.
14537         (CFLAGS-fseeko64.c): Likewise.
14538         (CFLAGS-fseeko.c): Likewise.
14539         (CFLAGS-ftello64.c): Likewise.
14540         (CFLAGS-ftello.c): Likewise.
14541         (CFLAGS-fwide.c): Likewise.
14542         (CFLAGS-genops.c): Likewise.
14543         (CFLAGS-getc.c): Likewise.
14544         (CFLAGS-getchar.c): Likewise.
14545         (CFLAGS-getwc.c): Likewise.
14546         (CFLAGS-getwchar.c): Likewise.
14547         (CFLAGS-iofclose.c): Likewise.
14548         (CFLAGS-iofflush.c): Likewise.
14549         (CFLAGS-iofgetpos64.c): Likewise.
14550         (CFLAGS-iofgetpos.c): Likewise.
14551         (CFLAGS-iofgets.c): Likewise.
14552         (CFLAGS-iofgetws.c): Likewise.
14553         (CFLAGS-iofputs.c): Likewise.
14554         (CFLAGS-iofputws.c): Likewise.
14555         (CFLAGS-iofread.c): Likewise.
14556         (CFLAGS-iofsetpos64.c): Likewise.
14557         (CFLAGS-iofsetpos.c): Likewise.
14558         (CFLAGS-ioftell.c): Likewise.
14559         (CFLAGS-iofwrite.c): Likewise.
14560         (CFLAGS-iogetdelim.c): Likewise.
14561         (CFLAGS-iogetline.c): Likewise.
14562         (CFLAGS-iogets.c): Likewise.
14563         (CFLAGS-iogetwline.c): Likewise.
14564         (CFLAGS-ioputs.c): Likewise.
14565         (CFLAGS-ioseekoff.c): Likewise.
14566         (CFLAGS-ioseekpos.c): Likewise.
14567         (CFLAGS-iosetbuffer.c): Likewise.
14568         (CFLAGS-iosetvbuf.c): Likewise.
14569         (CFLAGS-ioungetc.c): Likewise.
14570         (CFLAGS-ioungetwc.c): Likewise.
14571         (CFLAGS-oldfileops.c): Likewise.
14572         (CFLAGS-oldiofclose.c): Likewise.
14573         (CFLAGS-oldiofgetpos64.c): Likewise.
14574         (CFLAGS-oldiofgetpos.c): Likewise.
14575         (CFLAGS-oldiofsetpos64.c): Likewise.
14576         (CFLAGS-oldiofsetpos.c): Likewise.
14577         (CFLAGS-peekc.c): Likewise.
14578         (CFLAGS-putc.c): Likewise.
14579         (CFLAGS-putchar.c): Likewise.
14580         (CFLAGS-putwc.c): Likewise.
14581         (CFLAGS-putwchar.c): Likewise.
14582         (CFLAGS-rewind.c): Likewise.
14583         (CFLAGS-wfileops.c): Likewise.
14584         (CFLAGS-wgenops.c): Likewise.
14585         (CFLAGS-oldiofopen.c): Likewise.
14586         (CFLAGS-iofopen.c): Likewise.
14587         (CFLAGS-iofopen64.c): Likewise.
14588         (CFLAGS-oldtmpfile.c): Likewise.
14589         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14590         (CFLAGS-fprintf.c): Likewise.
14591         (CFLAGS-printf.c): Likewise.
14592         (CFLAGS-vfwprintf.c): Likewise.
14593         (CFLAGS-vfscanf.c): Likewise.
14594         (CFLAGS-vfwscanf.c): Likewise.
14595         (CFLAGS-fscanf.c): Likewise.
14596         (CFLAGS-scanf.c): Likewise.
14597         (CFLAGS-isoc99_vfscanf.c): Likewise.
14598         (CFLAGS-isoc99_vscanf.c): Likewise.
14599         (CFLAGS-isoc99_fscanf.c): Likewise.
14600         (CFLAGS-isoc99_scanf.c): Likewise.
14601         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14602         (CFLAGS-isoc99_fwscanf.c): Likewise.
14603         (CFLAGS-isoc99_vwscanf.c): Likewise.
14604         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14606         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14607         after mkstemp64.
14608         * login/tst-utmp.c (do_prepare): Likewise.
14609         * rt/tst-aio.c (do_prepare): Likewise.
14610         * rt/tst-aio64.c (do_prepare): Likewise.
14612 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14614         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14615         (__lll_lock_elision): Remove adapt_count decrement...
14616         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14617         (__lll_trylock_elision): Likewise.
14618         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14619         (__lll_unlock_elision): ... to here. And utilize
14620         new adapt_count parameter.
14621         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14622         (__lll_unlock_elision): Update to include adapt_count
14623         parameter.
14624         (lll_unlock_elision): Pass pointer to adapt_count
14625         variable.
14627 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14629         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14630         Add elision adapt_count parameter to list of arguments.
14631         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14632         (lll_unlock_elision): Update with new parameter list
14633         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14634         (lll_unlock_elision): Likewise.
14635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14636         (lll_unlock_elision): Likewise.
14638 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14640         [BZ #19122]
14641         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14642         attribute_hidden.
14644         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14645         attribute_hidden.
14646         [IS_IN (rtld)] (__strdup): Likewise.
14647         [IS_IN (rtld)] (__strerror_r): Likewise.
14648         [IS_IN (rtld)] (__strsep_g): Likewise.
14649         [IS_IN (rtld)] (memchr): Likewise.
14650         [IS_IN (rtld)] (memcmp): Likewise.
14651         [IS_IN (rtld)] (memcpy): Likewise.
14652         [IS_IN (rtld)] (memmove): Likewise.
14653         [IS_IN (rtld)] (memset): Likewise.
14654         [IS_IN (rtld)] (rawmemchr): Likewise.
14655         [IS_IN (rtld)] (stpcpy): Likewise.
14656         [IS_IN (rtld)] (strchr): Likewise.
14657         [IS_IN (rtld)] (strcmp): Likewise.
14658         [IS_IN (rtld)] (strlen): Likewise.
14659         [IS_IN (rtld)] (strnlen): Likewise.
14660         [IS_IN (rtld)] (strsep): Likewise.
14662         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14663         attribute_hidden.
14664         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14666         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14667         attribute_hidden.
14668         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14670         * include/setjmp.h (__longjmp): Add attribute_hidden.
14671         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14673         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14674         Add attribute_hidden.
14676         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14677         [IS_IN (rtld)] (__open): Likewise.
14678         [IS_IN (rtld)] (__fcntl): Likewise.
14680         * include/dirent.h (__opendirat): Add attribute_hidden.
14681         (__getdents): Likewise.
14682         (__getdents64): Likewise.
14683         (__alloc_dir): Likewise.
14684         [IS_IN (rtld)] (__closedir): Likewise.
14685         [IS_IN (rtld)] (__fdopendir): Likewise.
14686         [IS_IN (rtld)] (__readdir): Likewise.
14687         [IS_IN (rtld)] (__readdir64): Likewise.
14688         [IS_IN (rtld)] (__rewinddir): Likewise.
14690         * include/dlfcn.h (_dl_catch_error): Moved to ...
14691         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14692         attribute_hidden.
14694         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14695         (_itoa_word): Likewise.
14697         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14698         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14699         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14700         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14701         (_dl_higher_prime_number): Likewise.
14702         (_dl_debug_printf_c): Likewise.
14703         (_dl_signal_cerror): Likewise.
14704         (_dl_receive_error): Likewise.
14705         (_dl_reloc_bad_type): Likewise.
14706         (_dl_resolve_conflicts): Likewise.
14707         (_dl_check_all_versions): Likewise.
14708         (_dl_check_map_versions): Likewise.
14709         (_dl_sort_fini): Likewise.
14710         (_dl_debug_initialize): Likewise.
14711         (_dl_init_paths): Likewise.
14712         (_dl_show_auxv): Likewise.
14713         (_dl_next_ld_env_entry): Likewise.
14714         (_dl_important_hwcaps): Likewise.
14715         (_dl_load_cache_lookup): Likewise.
14716         (_dl_update_slotinfo): Likewise.
14717         (_dl_show_scope): Likewise.
14719         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14720         attribute_hidden.
14721         (_wordcopy_fwd_dest_aligned): Likewise.
14722         (_wordcopy_bwd_aligned): Likewise.
14723         (_wordcopy_bwd_dest_aligned): Likewise.
14725         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14726         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14727         Likewise.
14728         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14729         Likewise.
14730         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14732 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14735         GCC 5 requirement.
14737 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14739         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14740         test.
14741         * sysdeps/i386/configure: Regenerated.
14742         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14743         code unconditional.
14745         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14746         test.
14747         (libc_cv_asm_popsection_directive): Likewise.
14748         * configure: Regenerated.
14749         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14750         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14751         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14752         (__make_section_unallocated): Make definition unconditional.
14753         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14754         Remove conditional definition.
14755         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14756         (__make_section_unallocated): Likewise.
14758         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14759         * configure: Regenerated.
14760         * config.make.in (static-libgcc): Remove variable.
14761         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14762         $(static-libgcc).
14763         (build-module-helper): Likewise.
14765         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14766         * configure: Regenerated.
14768 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14770         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14771         (struct char_buffer): New type.
14772         (char_buffer_start, char_buffer_size, char_buffer_error)
14773         (char_buffer_rewind, char_buffer_add): New functions.
14774         (ADDW): Remove macro, replaced by the char_buffer_add function.
14775         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14776         of extend_alloca.  Make control flow more explicit.
14778 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14780         [BZ #19137]
14781         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14782         Add -fomit-frame-pointer.
14783         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14785 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14787         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14788         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14789         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14790         only if !__GNUC_PREREQ (5,0).
14791         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14792         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14793         (INTERNAL_SYSCALL_NCS): Likewise.
14794         (LOADREGS_0): New macro for GCC 5.
14795         (ASMARGS_0): Likewise.
14796         (LOADREGS_1): Likewise.
14797         (ASMARGS_1): Likewise.
14798         (LOADREGS_2): Likewise.
14799         (ASMARGS_2): Likewise.
14800         (LOADREGS_3): Likewise.
14801         (ASMARGS_3): Likewise.
14802         (LOADREGS_4): Likewise.
14803         (ASMARGS_4): Likewise.
14804         (LOADREGS_5): Likewise.
14805         (ASMARGS_5): Likewise.
14806         (LOADREGS_6): Likewise.
14807         (ASMARGS_6): Likewise.
14809 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14811         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14812         -fomit-frame-pointer.
14813         (CFLAGS-mmap64.c): Likewise.
14814         (CFLAGS-semtimedop.c): Likewise.
14815         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14816         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14817         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14818         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14820 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14822         [BZ #18928]
14823         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14824         _dl_pointer_guard member.
14825         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14826         initializer.
14827         (security_init): Always set up pointer guard.
14828         (process_envvars): Do not process LD_POINTER_GUARD.
14830 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #19134]
14833         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14834         (.LC2): Likewise.
14835         (.LC3): Likewise.
14836         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14838 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14840         [BZ #19129]
14841         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14842         r0 and r1.
14844 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14846         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14848 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14850         * include/stap-probe.h: Fix macro definition formatting.
14852 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14854         [BZ #19074]
14855         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14856         load and store num_ifs.
14858 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14860         [BZ #18822]
14861         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14862         (__sched_getaffinity_new): Add libc_hidden_proto and
14863         libc_hidden_def.
14865 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14867         [BZ #19007]
14868         * scripts/localplt.awk: Also allow GOT references.
14869         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14870         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14871         with "+ REL R_386_GLOB_DAT".
14872         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14873         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14875 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14877         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14878         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14879         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14880         Likewise.
14881         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14882         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14883         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14884         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14885         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14886         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14887         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14888         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14889         Likewise.
14890         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14892 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14894         [BZ #19125]
14895         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14896         <math_private.h> and <stdint.h>.
14897         (__llround): Avoid conversions to and from long long int, and
14898         subtractions, where those might raise spurious exceptions.
14899         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14900         <math_private.h> and <stdint.h>.
14901         (__llroundf): Avoid conversions to and from long long int, and
14902         subtractions, where those might raise spurious exceptions.
14904 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14906         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14907         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14908         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14909         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14910         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14911         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14912         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14913         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14914         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14915         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14916         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14917         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14918         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14919         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14920         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14921         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14922         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14923         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14924         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14925         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14926         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14927         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14928         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14929         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14930         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14931         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14932         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14933         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14934         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14935         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14936         (__xstat64_conv): Likewise.
14937         (__xstat32_conv): Likewise.
14939 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14941         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14942         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14943         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14944         <sysdeps/unix/sysv/linux/sysdep.h>.
14945         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14946         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14947         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14948         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14949         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14950         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14951         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14952         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14953         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14958         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14959         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14961         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14962         (sysdep-dl-routines): Add sysdep.
14963         [$(subdir) == nptl] (libpthread-routines): Likewise.
14964         [$(subdir) == rt] (librt-routines): Likewise.
14965         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14966         PIC when branching to SYSCALL_ERROR_LABEL.
14967         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14968         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14969         <sysdeps/unix/sysv/linux/sysdep.h>.
14970         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14971         (SYSCALL_ERROR_ERRNO): Removed.
14972         (SYSCALL_ERROR_HANDLER): Changed to empty.
14973         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14974         (__syscall_error): New prototype.
14975         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14976         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14978 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14980         [BZ #19124]
14981         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14982         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14983         _dl_runtime_resolve_avx.
14984         (_dl_runtime_profile_avx512): Make it a hidden alias of
14985         _dl_runtime_profile_avx.
14987 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14989         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14990         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14991         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14992         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14994         [BZ #16422]
14995         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14996         New configure test.
14997         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14998         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14999         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15000         <math_private.h> and <stdint.h>.
15001         (__llrint): Avoid conversions to long long int where those might
15002         raise spurious exceptions.
15003         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15004         <math_private.h> and <stdint.h>.
15005         (__llrintf): Avoid conversions to long long int where those might
15006         raise spurious exceptions.
15008 2015-10-12  Andreas Schwab  <schwab@suse.de>
15010         [BZ #18969]
15011         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15012         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15013         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15014         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15015         $(gen-locales).
15016         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15017         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15018         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15019         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15020         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15021         $(gen-locales).
15022         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15023         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15024         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15025         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15026         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15027         ($(objpfx)tst-ftell-active-handler.out)
15028         ($(objpfx)tst-ftell-append.out)
15029         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15030         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15031         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15032         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15033         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15034         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15035         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15036         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15037         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15038         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15039         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15040         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15041         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15042         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15043         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15044         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15045         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15046         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15047         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15048         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15049         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15050         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15051         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15052         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15053         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15054         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15055         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15056         $(gen-locales).
15057         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15058         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15059         $(gen-locales).
15060         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15061         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15062         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15063         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15064         $(gen-locales).
15065         * libio/tst_wprintf2.c (main): Use explicit locale.
15066         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15068 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15070         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15071         __msg_sig_post.
15072         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15074 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15076         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15079         * sysdeps/arm/libm-test-ulps: Regenerated.
15081         [BZ #15470]
15082         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15084         [BZ #16399]
15085         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15086         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15087         and <fix-fp-int-convert-overflow.h>.
15088         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15089         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15090         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15091         and <fix-fp-int-convert-overflow.h>.
15092         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15093         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15094         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15095         <fix-fp-int-convert-overflow.h>.
15096         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15097         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15098         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15099         <fix-fp-int-convert-overflow.h>.
15100         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15101         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15102         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15103         and <fix-fp-int-convert-overflow.h>.
15104         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15105         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15106         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15107         <limits.h> and <fix-fp-int-convert-overflow.h>.
15108         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15109         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15110         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15111         and <fix-fp-int-convert-overflow.h>.
15112         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15113         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15114         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15115         and <fix-fp-int-convert-overflow.h>.
15116         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15117         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15118         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15120 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15122         [BZ #18589]
15123         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15124         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15125         $(gen-locales).
15127 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15128             Phil Blundell <pb@pbcl.net>
15130         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15131         * nptl/tst-cancel26.c: New file.
15132         * nptl/tst-cancel27.c: Likewise.
15134 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15136         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15137         __ILP32__ isn't defined.
15138         (lrint): Likewise.
15139         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15140         (lrintf): Likewise.
15141         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15142         (lrintl): Likewise.
15143         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15144         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15145         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15147 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15149         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15150         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15152         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15153         file.
15154         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15155         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15157 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15159         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15160         configure test.
15161         * sysdeps/i386/configure: Regenerated.
15162         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15163         configure test.
15164         * sysdeps/x86_64/configure: Regenerated.
15165         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15166         Make code unconditional.
15168         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15169         test.
15170         * sysdeps/i386/configure: Regenerated.
15171         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15172         test.
15173         * sysdeps/x86_64/configure: Regenerated.
15174         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15175         Make code unconditional.
15176         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15177         Likewise.
15178         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15179         Likewise.
15180         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15181         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15182         code unconditional.
15183         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15184         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15185         code unconditional.
15186         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15187         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15188         code unconditional.
15189         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15190         code unconditional.
15191         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15192         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15193         code unconditional.
15194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15195         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15196         code unconditional.
15197         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15198         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15199         code unconditional.
15200         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15201         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15202         code unconditional.
15203         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15204         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15206         [BZ #19095]
15207         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15208         mantissa to long int before shifting left.
15210 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15212         [BZ #19094]
15213         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15214         <limits.h>.
15215         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15216         when result overflows but exception would not result from cast.
15217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15218         <limits.h>.
15219         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15220         when result overflows but exception would not result from cast.
15221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15222         <limits.h>.
15223         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15224         when result overflows but exception would not result from cast.
15225         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15226         <limits.h>.
15227         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15228         when result overflows but exception would not result from cast.
15229         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15230         <limits.h>.
15231         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15232         when result overflows but exception would not result from cast.
15233         * math/libm-test.inc (lrint_test_data): Add more tests.
15234         (llrint_test_data): Likewise.
15236 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15238         [BZ #18872]
15239         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15240         Move out from under [$(run-built-tests) = yes] conditional.
15241         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15242         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15244 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15246         [BZ #18589]
15247         * string/Makefile (tests): Add bug-strcoll2.
15248         (LOCALES): Add cs_CZ.UTF-8.
15249         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15251         [BZ #18589]
15252         * string/bug-strcoll2.c: New file.
15253         * locale/categories.def: Revert commit
15254         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15255         * locale/langinfo.h: Likewise.
15256         * locale/localeinfo.h: Likewise.
15257         * locale/C-collate.c: Likewise.
15258         * locale/programs/ld-collate.c (collate_output): Likewise.
15259         * string/strcoll_l.c (STRDIFF): Likewise.
15260         (STRCOLL): Likewise.
15261         * wcsmbs/wcscoll_l.c: Likewise.
15263 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15265         * math/libm-test.inc (lround_test_data): Do not expect the absence
15266         of "inexact" for some tests with non-integer arguments.
15267         (llround_test_data): Likewise.
15269         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15270         test.
15271         (libc_cv_cc_sse2avx): Likewise.
15272         * sysdeps/i386/configure: Regenerated.
15273         * sysdeps/i386/i686/multiarch/Makefile
15274         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15275         [$(subdir) = math].
15276         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15277         code unconditional.
15278         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15279         Likewise.
15280         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15281         Likewise.
15282         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15283         Likewise.
15284         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15285         test.
15286         (libc_cv_cc_sse2avx): Likewise.
15287         * sysdeps/x86_64/configure: Regenerated.
15288         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15289         unconditional.
15290         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15291         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15292         unconditional.
15293         (_dl_runtime_profile)
15294         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15295         conditional code.
15296         * sysdeps/x86_64/fpu/multiarch/Makefile
15297         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15299         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15300         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15301         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15302         * sysdeps/x86_64/fpu/multiarch/e_log.c
15303         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15304         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15305         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15306         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15307         Likewise.
15308         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15309         Likewise.
15310         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15311         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15312         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15313         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15314         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15315         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15316         (HAVE_SSE2AVX_SUPPORT): Likewise.
15318 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15320         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15321         instead of #pragma optimize.
15323 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15325         [BZ #17195]
15326         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15327         as is similarly done in systrim and _int_free already.
15329 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15331         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15333 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15335         [BZ #19088]
15336         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15337         <limits.h>.
15338         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15339         overflows but exception would not result from cast.
15340         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15341         and <limits.h>.
15342         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15343         overflows but exception would not result from cast.
15344         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15345         <limits.h>.
15346         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15347         overflows but exception would not result from cast.
15348         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15349         <limits.h>.
15350         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15351         overflows but exception would not result from cast.
15352         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15353         <limits.h>.
15354         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15355         overflows but exception would not result from cast.
15356         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15357         <limits.h>.
15358         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15359         overflows but exception would not result from cast.
15360         * math/libm-test.inc (lround_test_data): Add more tests.
15361         (llround_test_data): Likewise.
15363 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15365         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15366         (CFLAGS-ialloc.c): Ditto.
15367         (CFLAGS-scheck.c): Ditto.
15369 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15371         [BZ #19086]
15372         * manual/filesys.texi (Storage Allocation): Fix argument order for
15373         posix_fallocate64.
15375 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15377         [BZ #19085]
15378         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15379         exponent below 48 inside case for non-overflowing exponent.
15380         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15382 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15384         * iconvdata/cp737.h (from_idx): Add const.
15385         * iconvdata/cp775.h (from_idx): Likewise.
15387 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15389         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15390         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15391         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15393         [BZ #19079]
15394         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15395         file, conditioned on [!_LP64].
15396         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15397         [!_LP64] (__lround): Do not define as function or alias.
15398         [!_LP64] (lround): Likewise.
15399         [!_LP64] (__lroundl): Likewise.
15400         [!_LP64] (lroundl): Likewise.
15401         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15402         macro.
15403         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15404         Likewise.
15406 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15408         * math/libm-test.inc (lrint_test_data): Add more tests.
15409         (llrint_test_data): Likewise.
15410         (lround_test_data): Likewise.
15411         (llround_test_data): Likewise.
15413         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15414         (llrint_test_data): Add tests used for lrint.
15416         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15417         test.
15418         * sysdeps/i386/configure: Regenerated.
15419         * sysdeps/i386/i686/multiarch/Makefile
15420         [$(config-cflags-sse4) = yes]: Make code unconditional.
15421         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15422         Likewise.
15423         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15424         Likewise.
15425         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15426         test.
15427         * sysdeps/x86_64/configure: Regenerated.
15428         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15429         Make code unconditional.
15430         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15431         Likewise.
15432         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15433         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15435         * scripts/rpm2dynsym.sh: Remove file.
15437 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15439         * configure.ac (libc_cv_cxx_thread_local): Define.
15440         * configure: Regenerate.
15441         * config.make.in (have-cxx-thread_local): Define.
15442         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15443         (LDLIBS-tst-thread_local1): Define.
15444         (tests): Add tst-thread_local1.
15445         [have-cxx-thread_local != yes] (tests-unsupported): Add
15446         tst-thread_local1.
15447         * nptl/tst-thread_local1.cc: New file.
15449 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15451         [BZ #19078]
15452         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15453         (u_thres): Likewise.
15454         (__expl): Determine whether to call __kernel_standard_l based on
15455         value of result, not argument.
15457         * math/libm-test.inc (scalb_test_data): Add more expectations for
15458         the "inexact" exception.
15460         [BZ #19077]
15461         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15462         0.0L for argument 1.0L.
15464         [BZ #19076]
15465         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15466         constant 0.0L when computing infinite result.
15468 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15470         [BZ #10432]
15471         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15472         malloc_usable_size.
15474 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15476         [BZ #19018]
15477         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15478         Mangle function pointer before storing it.
15479         (__call_tls_dtors): Demangle function pointer before calling it.
15481 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15483         [BZ #19012]
15484         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15485         Clean up on failure.
15487 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15489         [BZ #19071]
15490         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15491         long int variable to store possibly incremented high part of
15492         mantissa.
15493         * math/libm-test.inc (lround_test_data): Add tests used for
15494         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15495         for tests requiring 64-bit long.  Do not condition tests on
15496         [TEST_FLOAT] unnecessarily.
15497         (llround_test_data): Add tests used for lround.  Add another
15498         expectation for the "inexact" exception.  Do not condition tests
15499         on [TEST_FLOAT] unnecessarily.
15501         [BZ #887]
15502         [BZ #19049]
15503         [BZ #19050]
15504         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15505         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15506         <fix-int-fp-convert-zero.h>.
15507         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15508         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15509         <fix-int-fp-convert-zero.h>.
15510         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15511         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15512         <fix-int-fp-convert-zero.h>.
15513         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15514         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15515         <fix-int-fp-convert-zero.h>.
15516         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15517         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15518         <fix-int-fp-convert-zero.h>.
15519         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15520         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15521         <fix-int-fp-convert-zero.h>.
15522         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15523         * sysdeps/ieee754/flt-32/s_erff.c: Include
15524         <fix-int-fp-convert-zero.h>.
15525         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15526         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15527         <fix-int-fp-convert-zero.h>.
15528         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15530         <fix-int-fp-convert-zero.h>.
15531         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15532         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15533         <fix-int-fp-convert-zero.h>.
15534         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15535         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15536         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15537         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15538         file.
15539         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15541 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15545 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15547         [BZ #19059]
15548         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15549         overflowing computation.
15550         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15551         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15552         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15553         Likewise.
15554         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15555         Likewise.
15556         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15557         Likewise.
15558         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15559         Likewise.
15560         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15562         Likewise.
15563         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15564         Likewise.
15565         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15567         * nss/rewrite_field.c (__nss_rewrite_field): Use
15568         internal_function.
15569         * nss/valid_field.c (__nss_valid_field): Likewise.
15570         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15572 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15574         [BZ #18724]
15575         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15576         (__nss_invalid_field_characters, __nss_valid_field)
15577         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15578         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15579         tst-field.c: New file.
15580         * nss/Makefile (routines): Add valid_field, rewrite_field.
15581         (tests-static): Define unconditionally.
15582         (tests): Include tests-static.
15583         [build-static-nss] (tests-static): Use append.
15584         [build-static-nss] (tests): Remove modification.
15585         * nss/getent.c (print_group): Call putgrent.  Report error.
15586         (print_gshadow): Call putsgent.  Report error.
15587         (print_passwd): Call putpwent.  Report error.
15588         (print_shadow): Call putspent.  Report error.
15589         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15590         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15591         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15592         name, password, directory, shell fields for valid syntax.  Rewrite
15593         GECOS field to match syntax.
15594         * pwd/Makefile (tests): Add tst-putpwent.
15595         * pwd/tst-putpwent.c: New file.
15596         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15597         Check grName, grpasswd, gr_mem fields for valid syntax.
15598         Change loop variable i to size_t.
15599         * grp/Makefile (tests): Add tst-putgrent.
15600         * grp/tst-putgrent.c: New file.
15601         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15602         valid syntax.
15603         * shadow/Makefile (tests): Add tst-putspent.
15604         * shadow/tst-putspent.c: New file.
15605         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15606         sg_mem fields for valid syntax.
15607         * gshadow/Makefile (tests): Add tst-putsgent.
15608         * gshadow/tst-putsgent.c: New file.
15610 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15612         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15613         assembly instructions.
15615 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15617         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15618         prefix from operands.
15620 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15622         [BZ #16347]
15623         [BZ #19046]
15624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15625         <libc-internal.h>.
15626         (MAXLGM): Do not use diagnostic control macros.
15627         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15628         threshold for ldbl-128ibm.
15629         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15630         instead of multiplying by log then subtracting.
15631         * math/auto-libm-test-in: Add more tests of lgamma.
15632         * math/auto-libm-test-out: Regenerated.
15634         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15635         (TYPE_HEX_DIG): Likewise.
15636         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15637         precisions when printing floating-point numbers.
15638         (check_float_internal): Likewise.
15640 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15642         [BZ #16620]
15643         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15644         of log (10) rounded downward to 48 bits.
15645         (log10_low): Use corresponding low part of log (10).
15647         [BZ #19032]
15648         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15649         compute result as (x - x) / (x - x) not as 0 / 0.
15650         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15651         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15653         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15654         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15655         and expm1.
15656         * math/auto-libm-test-out: Regenerated.
15657         * math/libm-test.inc (acos_test_data): Add more tests.
15658         (asin_test_data): Likewise.
15659         (asinh_test_data): Likewise.
15660         (atan_test_data): Likewise.
15661         (atanh_test_data): Likewise.
15662         (atan2_test_data): Likewise.
15663         (cbrt_test_data): Likewise.
15664         (ceil_test_data): Likewise.
15665         (copysign_test_data): Likewise.
15666         (cos_test_data): Likewise.
15667         (cosh_test_data): Likewise.
15668         (erf_test_data): Likewise.
15669         (erfc_test_data): Likewise.
15670         (exp_test_data): Likewise.
15671         (exp10_test_data): Likewise.
15672         (exp2_test_data): Likewise.
15673         (expm1_test_data): Likewise.
15674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15676 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15678         [BZ #19006]
15679         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15680         to ...
15681         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15682         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15683         to ...
15684         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15685         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15686         to ...
15687         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15688         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15689         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15690         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15691         to ...
15692         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15693         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15694         Moved to ...
15695         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15697         Moved to ...
15698         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15700         to ...
15701         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15702         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15703         Moved to ...
15704         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15705         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15706         to ...
15707         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15708         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15709         Removed.
15710         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15713         Likewise.
15714         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15715         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15716         Likewise.
15717         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15718         Likewise.
15719         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15720         Likewise.
15721         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15722         Likewise.
15723         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15724         Likewise.
15725         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15726         Likewise.
15727         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15728         Likewise.
15729         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15734         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15735         Likewise.
15736         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15739         Likewise.
15740         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15741         Likewise.
15742         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15743         Likewise.
15744         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15745         Replace ../i486/pthread_cond_timedwait.S with
15746         ../pthread_cond_timedwait.S.
15748 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15750         * math/libm-test.inc (acos_test_data): Refine expectations for
15751         errno and "inexact" exceptions.
15752         (acosh_test_data): Likewise.
15753         (asin_test_data): Likewise.
15754         (asinh_test_data): Likewise.
15755         (atan_test_data): Likewise.
15756         (atanh_test_data): Likewise.
15757         (atan2_test_data): Likewise.
15758         (cbrt_test_data): Likewise.
15759         (ceil_test_data): Likewise.
15760         (copysign_test_data): Likewise.
15761         (cosh_test_data): Likewise.
15762         (erf_test_data): Likewise.
15763         (erfc_test_data): Likewise.
15764         (exp_test_data): Likewise.
15765         (exp10_test_data): Likewise.
15766         (exp2_test_data): Likewise.
15767         (expm1_test_data): Likewise.
15768         (fabs_test_data): Likewise.
15769         (floor_test_data): Likewise.
15770         (fma_test_data): Likewise.
15771         (fmax_test_data): Likewise.
15772         (fmin_test_data): Likewise.
15773         (fmod_test_data): Likewise.
15774         (fpclassify_test_data): Likewise.
15775         (frexp_test_data): Likewise.
15776         (hypot_test_data): Likewise.
15777         (ilogb_test_data): Likewise.
15778         (isgreater_test_data): Likewise.
15779         (isgreaterequal_test_data): Likewise.
15780         (isinf_test_data): Likewise.
15781         (isless_test_data): Likewise.
15782         (islessequal_test_data): Likewise.
15783         (islessgreater_test_data): Likewise.
15784         (isnan_test_data): Likewise.
15785         (isnormal_test_data): Likewise.
15786         (issignaling_test_data): Likewise.
15787         (isunordered_test_data): Likewise.
15788         (j0_test_data): Likewise.
15789         (j1_test_data): Likewise.
15790         (jn_test_data): Likewise.
15791         (lgamma_test_data): Likewise.
15792         (lrint_test_data): Likewise.
15793         (llrint_test_data): Likewise.
15794         (log_test_data): Likewise.
15795         (log10_test_data): Likewise.
15796         (log1p_test_data): Likewise.
15797         (log2_test_data): Likewise.
15798         (logb_test_data): Likewise.
15799         (lround_test_data): Likewise.
15800         (llround_test_data): Likewise.
15801         (modf_test_data): Likewise.
15802         (nearbyint_test_data): Likewise.
15803         (nextafter_test_data): Likewise.
15804         (nexttoward_test_data): Likewise.
15805         (pow_test_data): Likewise.
15806         (remainder_test_data): Likewise.
15807         (remquo_test_data): Likewise.
15808         (rint_test_data): Likewise.
15809         (round_test_data): Likewise.
15810         (signbit_test_data): Likewise.
15811         (sinh_test_data): Likewise.
15812         (sqrt_test_data): Likewise.
15813         (tanh_test_data): Likewise.
15814         (tgamma_test_data): Likewise.
15815         (trunc_test_data): Likewise.
15816         (y0_test_data): Likewise.
15817         (y1_test_data): Likewise.
15818         (yn_test_data): Likewise.
15819         (significand_test_data): Likewise.
15821 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15823         * manual/filesys.texi (Storage Allocation): Document that
15824         posix_fallocate emulation fails when fd is open with O_WRONLY.
15826 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15828         [BZ #19016]
15829         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15830         allow more cases with X^2 + Y^2 >= 0.5.
15831         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15832         normal element in sum instead of special-casing based on values of
15833         arguments.
15834         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15835         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15836         -1 as normal element in sum instead of special-casing based on
15837         values of arguments.
15838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15839         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15840         (__x2y2m1): Update comment.
15841         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15842         as normal element in sum instead of special-casing based on values
15843         of arguments.
15844         * math/s_clog.c (__clog): Handle more cases using log1p without
15845         hypot.
15846         * math/s_clog10.c (__clog10): Likewise.
15847         * math/s_clog10f.c (__clog10f): Likewise.
15848         * math/s_clog10l.c (__clog10l): Likewise.
15849         * math/s_clogf.c (__clogf): Likewise.
15850         * math/s_clogl.c (__clogl): Likewise.
15851         * math/auto-libm-test-in: Add more tests of clog and clog10.
15852         * math/auto-libm-test-out: Regenerated.
15853         * sysdeps/i386/fpu/libm-test-ulps: Update.
15854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15856 2015-09-28  Martin Sebor  <msebor@redhat.com>
15858         [BZ #18969]
15859         * string/Makefile (LOCALES): Define.
15860         (gen-locales.mk): Include.
15861         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15862         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15863         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15864         on setlocale failure.
15866 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15868         [BZ #18985]
15869         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15870         (__strftime_internal): Likewise.
15871         * time/tst-strftime.c (do_bz18985): New test.
15872         (do_test): Call it.
15874 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #18956]
15877         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15878         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15879         extracting high part.
15880         * math/auto-libm-test-in: Add another test of pow.
15881         * math/auto-libm-test-out: Regenerated.
15882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15884 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15886         [BZ #18825]
15887         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15888         New macro.
15889         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15890         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15891         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15892         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15893         DBL_NARROW_EVAL, reloading the PIC register as needed.
15894         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15895         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15896         FLT_NARROW_EVAL.  Use separate return path for case when first
15897         argument is NaN.
15898         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15899         DEFINE_LDBL_MIN.
15900         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15901         PIC register.
15902         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15903         math_check_force_underflow_nonneg.
15904         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15905         underflow for subnormal result.
15906         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15908         math_check_force_underflow_nonneg.
15909         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15910         math_check_force_underflow.
15911         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15912         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15913         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15914         DEFINE_LDBL_MIN.
15915         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15916         * math/auto-libm-test-in: Add more tests of pow.
15917         * math/auto-libm-test-out: Regenerated.
15919 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15921         * nss/bug17079.c (init_test_items): Add diagnostic for
15922         inconsistent entries.
15923         (test_buffer_size): Skip inconsistent entries.
15925 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15927         [BZ #13304]
15928         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15929         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15930         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15932         [BZ #13304]
15933         * sysdeps/microblaze/s_fma.c: New file.
15934         * sysdeps/microblaze/s_fmaf.c: Likewise.
15935         * sysdeps/microblaze/sfp-machine.h: Likewise.
15937 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15939         [BZ #17250]
15940         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15941         member.
15943 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15945         [BZ #18803]
15946         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15947         (MO): New macro.
15948         (__ieee754_hypot) [PIC]: Load PIC register.
15949         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15950         DBL_NARROW_EVAL.
15951         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15952         math_check_force_underflow_nonneg in case where result might be
15953         tiny.
15954         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15955         Likewise.
15956         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15957         Likewise.
15958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15959         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15960         * math/auto-libm-test-in: Add more tests of hypot.
15961         * math/auto-libm-test-out: Regenerated.
15963 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15965         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15967 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15969         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15970         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15971         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15972         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15973         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15974         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15975         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15977         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15978         LOAD_PIC_REG.
15980         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15981         (FLT_CHECK_FORCE_UFLOW): Likewise.
15982         (DBL_CHECK_FORCE_UFLOW): Likewise.
15983         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15984         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15985         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15986         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15987         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15988         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15989         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15990         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15991         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15992         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15993         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15994         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15995         (flt_min): Replace with use of DEFINE_FLT_MIN.
15996         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15997         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15998         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15999         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16000         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16001         (flt_min): Replace with use of DEFINE_FLT_MIN.
16002         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16003         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16004         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16005         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16006         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16007         (flt_min): Replace with use of DEFINE_FLT_MIN.
16008         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16009         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16010         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16011         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16012         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16013         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16014         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16015         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16016         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16017         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16018         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16019         (flt_min): Replace with use of DEFINE_FLT_MIN.
16020         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16021         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16022         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16023         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16024         main computation.
16025         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16026         (flt_min): Replace with use of DEFINE_FLT_MIN.
16027         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16028         main computation.
16029         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16030         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16031         (MO): New macro.
16032         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16033         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16034         (flt_min): Replace with use of DEFINE_FLT_MIN.
16035         (MO): New macro.
16036         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16037         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16038         (__log1pl): Use MO.
16040         [BZ #19003]
16041         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16042         $(config-cflags-nofma).
16044 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16046         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16048 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16050         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16051         (TWO127): Likewise.
16053         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16054         (min_of_type): Likewise.
16055         (math_check_force_underflow): Likewise.
16056         (math_check_force_underflow_nonneg): Likewise.
16057         (math_check_force_underflow_complex): Likewise.
16058         * math/e_exp2l.c (__ieee754_exp2l): Use
16059         math_check_force_underflow_nonneg.
16060         * math/k_casinh.c (__kernel_casinh): Likewise.
16061         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16062         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16063         * math/s_catan.c (__catan): Use
16064         math_check_force_underflow_complex.
16065         * math/s_catanf.c (__catanf): Likewise.
16066         * math/s_catanh.c (__catanh): Likewise.
16067         * math/s_catanhf.c (__catanhf): Likewise.
16068         * math/s_catanhl.c (__catanhl): Likewise.
16069         * math/s_catanl.c (__catanl): Likewise.
16070         * math/s_ccosh.c (__ccosh): Likewise.
16071         * math/s_ccoshf.c (__ccoshf): Likewise.
16072         * math/s_ccoshl.c (__ccoshl): Likewise.
16073         * math/s_cexp.c (__cexp): Likewise.
16074         * math/s_cexpf.c (__cexpf): Likewise.
16075         * math/s_cexpl.c (__cexpl): Likewise.
16076         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16077         * math/s_clog10.c (__clog10): Likewise.
16078         * math/s_clog10f.c (__clog10f): Likewise.
16079         * math/s_clog10l.c (__clog10l): Likewise.
16080         * math/s_clogf.c (__clogf): Likewise.
16081         * math/s_clogl.c (__clogl): Likewise.
16082         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16083         * math/s_csinf.c (__csinf): Likewise.
16084         * math/s_csinh.c (__csinh): Likewise.
16085         * math/s_csinhf.c (__csinhf): Likewise.
16086         * math/s_csinhl.c (__csinhl): Likewise.
16087         * math/s_csinl.c (__csinl): Likewise.
16088         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16089         * math/s_csqrtf.c (__csqrtf): Likewise.
16090         * math/s_csqrtl.c (__csqrtl): Likewise.
16091         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16092         * math/s_ctanf.c (__ctanf): Likewise.
16093         * math/s_ctanh.c (__ctanh): Likewise.
16094         * math/s_ctanhf.c (__ctanhf): Likewise.
16095         * math/s_ctanhl.c (__ctanhl): Likewise.
16096         * math/s_ctanl.c (__ctanl): Likewise.
16097         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16098         instead of volatile.
16099         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16100         math_check_force_underflow.
16101         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16102         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16103         volatile when forcing underflow.
16104         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16105         math_check_force_underflow_nonneg.
16106         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16107         Likewise.
16108         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16109         math_check_force_underflow.
16110         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16111         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16112         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16113         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16114         math_check_force_underflow_nonneg.
16115         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16116         math_check_force_underflow.
16117         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16119         instead of volatile.
16120         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16121         math_check_force_underflow.
16122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16124         math_check_force_underflow_nonneg.
16125         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16126         math_check_force_underflow.
16127         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16128         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16129         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16130         math_check_force_underflow_nonneg.
16131         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16132         Likewise.
16133         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16134         math_check_force_underflow.
16135         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16136         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16137         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16138         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16139         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16140         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16141         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16142         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16143         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16144         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16145         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16146         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16147         Likewise.
16148         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16149         math_check_force_underflow_nonneg.
16150         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16151         Likewise.
16152         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16153         math_check_force_underflow.
16154         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16155         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16156         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16157         Likewise.
16158         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16159         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16160         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16161         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16162         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16163         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16165         instead of volatile.
16166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16167         math_check_force_underflow.
16168         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16170         math_check_force_underflow.
16171         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16172         Likewise.
16173         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16174         Use math_check_force_underflow_nonneg.
16175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16176         math_check_force_underflow.
16177         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16178         Likewise.
16179         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16180         Likewise.
16181         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16182         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16184         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16185         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16186         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16187         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16188         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16189         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16190         math_check_force_underflow_nonneg.
16191         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16192         math_check_force_underflow.
16193         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16194         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16195         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16196         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16197         math_check_force_underflow_nonneg.
16198         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16199         math_check_force_underflow.
16200         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16202         instead of volatile.
16203         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16204         math_check_force_underflow.
16206         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16207         * stdlib/strtod_l.c: Include <math_private.h>.
16208         (overflow_value): Use math_narrow_eval.
16209         (underflow_value): Likewise.
16210         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16211         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16212         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16213         (__ieee754_gamma_r): Likewise.
16214         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16215         Likewise.
16216         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16217         Likewise.
16218         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16219         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16220         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16221         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16222         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16223         (__ieee754_gammaf_r): Likewise.
16224         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16225         Likewise.
16226         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16227         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16228         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16229         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16230         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16231         volatile.
16232         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16233         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16234         math_narrow_eval.
16235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16236         Likewise.
16237         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16238         Likewise.
16239         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16240         Likewise.
16241         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16242         volatile.
16243         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16244         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16245         math_narrow_eval.
16246         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16247         Likewise.
16248         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16249         Likewise.
16251 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16253         * nptl/Versions: Remove ignored symbols.
16255 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16257         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16258         * nss/Makefile (tests): Update.
16260 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16262         * nss/bug18287.c: New file.
16263         * nss/Makefile (tests): Add bug18287.
16265 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16267         * mach/Versions (__mach_host_self_): Add symbol.
16269 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16271         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16272         vm_page_size.
16274 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16276         Really fix sysdeps/i386/fpu/s_scalbn.S build
16278         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16279         (libc: GLIBC_2_22): Remove unused version set.
16281 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16283         * config.make.in (enable-timezone-tools): New variable.
16284         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16285         (enable_timezone_tools): Export to generated files.
16286         * configure: Regenerate.
16287         * INSTALL: Regenerate.
16288         * manual/install.texi (--disable-timezone-tools): Document new flag.
16289         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16290         ifeq ($(enable-timezone-tools),yes) check.
16292 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16294         * timezone/Makefile: Revert previous change.
16296         [BZ #18980]
16297         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16298         (DEFINE_DBL_MIN): Likewise.
16299         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16300         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16301         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16302         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16303         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16304         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16305         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16306         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16307         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16309         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16310         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16311         (flt_min): Replace with use of DEFINE_FLT_MIN.
16312         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16313         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16314         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16315         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16316         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16317         (flt_min): Replace with use of DEFINE_FLT_MIN.
16318         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16319         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16320         (flt_min): Replace with use of DEFINE_FLT_MIN.
16321         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16322         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16323         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16324         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16325         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16326         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16327         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16328         (__ieee754_pow): Use DBL_NARROW_EVAL.
16329         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16330         (__ieee754_powf): Use FLT_NARROW_EVAL.
16331         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16332         (__ieee754_expf_sse2): Convert double-precision result to single
16333         precision.
16334         * sysdeps/i386/fpu/libm-test-ulps: Update.
16336 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16338         * timezone/Makefile: Ignore unused variable errors due to private.h
16339         (time_t_min) and (time_t_max).
16340         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16341         Likewise.
16343 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16345         [BZ #18981]
16346         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16347         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16348         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16349         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16350         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16351         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16352         (__scalbn): Use DBL_NARROW_EVAL.
16353         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16354         (__scalbnf): Use FLT_NARROW_EVAL.
16356 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16358         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16359         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16360         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16361         * stdio-common/printf_fp.c (___printf_fp):
16362         Use signbit to get the sign. Use isinf macro to allow inlining.
16363         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16364         * stdio-common/printf_size.c (__printf_size): Likewise.
16366 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16368         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16370 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16372         [BZ #18980]
16373         * sysdeps/generic/math_private.h: Include <float.h>.
16374         (math_narrow_eval): New macro.
16375         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16376         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16377         math_narrow_eval on overflowing return value.
16378         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16379         Likewise.
16380         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16381         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16382         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16383         Likewise.
16384         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16386 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16388         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16389         * math/Makefile: Remove isinf_ns.c.
16390         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16391         * math/multc3.c (__multc3): Likewise.
16392         * math/s_casin.c (__casin): Likewise.
16393         * math/s_casinf.c (__casinf): Likewise.
16394         * math/s_casinl.c (__casinl): Likewise.
16395         * math/s_cproj.c (__cproj): Likewise.
16396         * math/s_cprojf.c (__cprojf): Likewise.
16397         * math/s_cprojl.c (__cprofl): Likewise.
16398         * math/s_ctan.c (__ctan): Likewise.
16399         * math/s_ctanf.c (__ctanf): Likewise.
16400         * math/s_ctanh.c (__ctanh): Likewise.
16401         * math/s_ctanhf.c (__ctanhf): Likewise.
16402         * math/s_ctanhl.c (__ctanhl): Likewise.
16403         * math/s_ctanl.c (__ctanl): Likewise.
16404         * math/w_fmod.c (__fmod): Likewise.
16405         * math/w_fmodf.c (__fmodf): Likewise.
16406         * math/w_fmodl.c (_fmodl): Likewise.
16407         * math/w_remainder.c (__remainder): Likewise.
16408         * math/w_remainderf.c (__remainderf): Likewise.
16409         * math/w_remainderl.c (__remainderl): Likewise.
16410         * math/w_scalb.c (__scalb): Likewise.
16411         * math/w_scalbf.c (__scalbf): Likewise.
16412         * math/w_scalbl.c (__scalbl): Likewise.
16413         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16414         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16415         with isinf.
16416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16418         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16419         __isinf_nsf with isinf.
16420         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16421         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16422         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16423         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16424         with isinf.
16425         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16426         __isinf_nsl with isinf.
16427         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16428         with isinf.
16429         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16430         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16431         __isinf_nsl with isinf.
16432         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16433         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16434         with isinf.
16436 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16438         * resolv/base64.c (rcsid): Remove unused static.
16439         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16440         static.  (tqpi1): Likewise.
16441         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16442         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16443         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16444         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16446         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16447         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16448         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16449         Likewise.
16451 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16453         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16454         <nptl/pthreadP.h>.
16455         (_longjmp_unwind): Use __libc_ptf_call.
16456         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16458 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16460         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16461         * sysdeps/arm/__longjmp.S: Likewise.
16463 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16465         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16466         Use __builtin_signbit.
16467         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16468         Use __builtin_signbitf.
16469         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16470         Use __builtin_signbitl.
16471         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16472         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16474 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16476         [BZ #15367]
16477         [BZ #17441]
16479         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16480         * math/math.h (fpclassify): Use __builtin_fpclassify when
16481         available.  (signbit): Use __builtin_signbit(f/l).
16482         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16483         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16484         (isinf): Use __builtin_isinf_sign.
16486 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16488         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16489         * benchtests/bench-math-inlines.c: New benchmark.
16490         * benchtests/bench-util.h: New file.
16491         * benchtests/bench-util.c: New file.
16492         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16494 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16496         * elf/tst-dlmopen1.c: Define TEST_SO.
16497         (do_test): Use TEST_SO.
16499         * elf/dl-load.c: Include libc-internal.h.
16500         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16502 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16504         [BZ #17887]
16505         * time/strptime_l.c (__strptime_internal): Make %z accept
16506         [+-]HH:MM time zones.
16508 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16510         [BZ #17886]
16511         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16512         valid time zone.
16514 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16516         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16517         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16518         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16519         (__ASSUME_FDATASYNC): Delete.
16521 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16523         * conform/linknamespace.pl: Require weak undefined symbols to be
16524         in the standard namespace.
16525         (%strong_syms): Rename to %seen_syms.
16526         (%strong_seen): Rename to %seen_where.
16528 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16530         [BZ #18970]
16531         * misc/error.c (error): Replace pthread_setcancelstate with
16532         __pthread_setcancelstate.
16533         (error_at_line): Likewise.
16534         * posix/wordexp.c (parse_comm): Likewise.
16535         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16536         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16537         (__pthread_setcancelstate): This.
16538         (pthread_setcancelstate): Add an alias.
16539         * nptl/nptl-init.c (pthread_functions): Replace
16540         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16541         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16542         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16543         hidden_proto.
16544         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16545         it with hidden_def.
16546         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16547         (pthread_setcancelstate): Renamed to ...
16548         (__pthread_setcancelstate): This.
16549         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16550         __libc_ptf_call with __pthread_setcancelstate.
16552 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16553             Andreas Schwab  <schwab@suse.de>
16555         [BZ #17118]
16556         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16557         result when imaginary part of argument is infinite using sine and
16558         cosine.
16559         * math/s_ctanf.c (__ctanf): Likewise.
16560         * math/s_ctanl.c (__ctanl): Likewise.
16561         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16562         of result when real part of argument is infinite using sine and
16563         cosine.
16564         * math/s_ctanhf.c (__ctanhf): Likewise.
16565         * math/s_ctanhl.c (__ctanhl): Likewise.
16566         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16567         (ctanh_test_data): Add more tests of ctanh.
16569 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16571         [BZ #15384]
16572         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16573         bit-mask as in subtraction.
16574         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16575         Likewise.
16576         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16577         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16578         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16580         [BZ #18951]
16581         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16582         underflow exception for small results.
16583         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16584         Likewise.
16585         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16586         Likewise.
16587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16588         Likewise.
16589         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16590         Likewise.
16591         * math/auto-libm-test-in: Add more tests of tgamma.
16592         * math/auto-libm-test-out: Regenerated.
16594 2015-09-17  Andreas Schwab  <schwab@suse.de>
16596         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16598 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #18977]
16601         * math/bits/mathcalls.h
16602         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16603         not declare.
16604         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16605         Likewise.
16606         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16607         Likewise.
16608         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16609         Likewise.
16610         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16611         Likewise.
16612         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16613         Likewise.
16614         * conform/data/math.h-data
16615         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16616         function.
16617         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16619         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16620         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16621         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16622         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16623         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16624         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16625         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16626         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16627         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16629         [BZ #6803]
16630         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16631         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16632         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16633         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16634         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16635         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16636         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16637         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16638         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16639         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16640         Likewise.
16641         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16642         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16643         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16644         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16645         long_double_symbol calls.
16646         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16647         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16648         strong alias of __ldexpl.
16649         (scalbnl): Define using long_double_symbol.
16650         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16651         Remove alias.
16652         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16653         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16654         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16655         (scalbln_test_data): Add more errno expectations.
16657 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16659         Cache the host port like we cache the task port.  This way we do not
16660         need to call the kernel just to get the port.  Furthermore, we no
16661         longer increase the reference count on every invocation of
16662         `mach_host_self'.
16664         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16665         Protect declarations against the macro expansion.
16666         * mach/mach_init.c (__mach_host_self_): New variable.
16667         (mach_init): Initialize `__mach_host_self_'.
16668         * mach/mach_init.h (__mach_host_self_): New declaration.
16669         (__mach_host_self, mach_host_self): New macros.
16670         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16671         Release reference.
16673 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16675         [BZ #4404]
16676         * po/de.po: Update from Translation Project.
16678         [BZ #16415]
16679         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16680         (__expm1l): Remove code to handle positive infinity and overflow.
16681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16682         variable.
16683         (__expm1l): Remove code to handle positive infinity and overflow.
16685 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16686             Paul Pluzhnikov  <ppluzhnikov@google.com>
16688         [BZ #18872]
16689         * stdio-common/Makefile (tst-printf-bz18872): New test.
16690         (tst-printf-bz18872-mem.out): Likewise.
16691         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16692         * stdio-common/vfprintf.c: Fix memory leaks.
16694 2015-09-16  Andreas Schwab  <schwab@suse.de>
16696         [BZ #17244]
16697         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16698         Remove extra va_start/va_end calls.
16700         [BZ #17243]
16701         * posix/execl.c (execl): Add missing va_end.
16702         * posix/execle.c (execle): Likewise.
16703         * posix/execlp.c (execlp): Likewise.
16705 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16707         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16708         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16710 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16712         [BZ #18967]
16713         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16714         undefine around includes of <bits/mathcalls.h>.
16715         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16716         not declare function.
16717         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16718         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16719         (scalb): Likewise.
16720         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16721         not define macro.
16722         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16723         variable.
16724         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16725         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16726         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16728         [BZ #18857]
16729         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16730         return non-finite argument without doing ordered comparisons on
16731         it.
16733         [BZ #16296]
16734         * math/fenv.h (fegetround): Use __attribute_pure__.
16735         * include/fenv.h (__fegetround): Likewise.
16737         [BZ #18595]
16738         * math/s_ctan.c (__ctan): Force underflow exception for results
16739         whose real or imaginary part has small absolute value.
16740         * math/s_ctanf.c (__ctanf): Likewise.
16741         * math/s_ctanh.c (__ctanh): Likewise.
16742         * math/s_ctanhf.c (__ctanhf): Likewise.
16743         * math/s_ctanhl.c (__ctanhl): Likewise.
16744         * math/s_ctanl.c (__ctanl): Likewise.
16745         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16746         and ctanh.  Add more tests of ctan and ctanh.
16748         [BZ #15918]
16749         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16750         handling of cases where one argument is an infinity.
16752         [BZ #18875]
16753         [BZ #18966]
16754         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16755         (MO): New macro.
16756         (__ieee754_exp10): For small results, force underflow exception
16757         and remove excess range and precision from return value.
16758         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16759         (MO): New macro.
16760         (__ieee754_exp10f): For small results, force underflow exception
16761         and remove excess range and precision from return value.
16762         * math/auto-libm-test-in: Add more tests of exp10.
16763         * math/auto-libm-test-out: Regenerated.
16765 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16767         [BZ #18875]
16768         [BZ #18961]
16769         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16770         (MO): New macro.
16771         (__ieee754_exp): For small results, force underflow exception and
16772         remove excess range and precision from return value.
16773         (__exp_finite): Likewise.
16774         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16775         (MO): New macro.
16776         (__ieee754_expf): For small results, force underflow exception and
16777         remove excess range and precision from return value.
16778         (__expf_finite): Likewise.
16779         * math/auto-libm-test-in: Add more tests of exp.
16780         * math/auto-libm-test-out: Regenerated.
16782         [BZ #16521]
16783         [BZ #18875]
16784         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16785         small results.
16786         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16787         (MO): New macro.
16788         (__ieee754_exp2): For small results, force underflow exception and
16789         remove excess range and precision from return value.
16790         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16791         (MO): New macro.
16792         (__ieee754_exp2f): For small results, force underflow exception
16793         and remove excess range and precision from return value.
16794         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16795         (MO): New macro.
16796         (__ieee754_exp2l): Force underflow exception for small results.
16797         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16798         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16799         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16800         (MO): New macro.
16801         (__ieee754_exp2l): Force underflow exception for small results.
16802         * math/auto-libm-test-in: Add more tests or exp2.
16803         * math/auto-libm-test-out: Regenerated.
16805 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16807         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16809         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16810         /dev/null.
16812 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16814         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16815         io fs process)): Drop spurious backslash.
16817 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16820         Use sysinfo system call instead of parsing /proc/meminfo.
16821         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16822         Likewise.
16824 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16826         [BZ #16985]
16827         * programs/localedef.c (main): Display argv[remaining] when
16828         output_path is NULL.
16830 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16832         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16833         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16834         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16835         tanh.
16836         * math/auto-libm-test-out: Regenerated.
16837         * sysdeps/i386/fpu/libm-test-ulps: Update.
16838         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16839         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16842 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16844         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16845         Use 'override' keyword to freeze the value here, preventing
16846         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16848 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16850         [BZ #14912]
16851         * sysdeps/aarch64/bits/atomic.h: Move to ...
16852         * sysdeps/aarch64/atomic-machine.h: ...here.
16853         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16854         _AARCH64_ATOMIC_MACHINE_H.
16855         * sysdeps/alpha/bits/atomic.h: Move to ...
16856         * sysdeps/alpha/atomic-machine.h: ...here.
16857         * sysdeps/arm/bits/atomic.h: Move to ...
16858         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16859         * bits/atomic.h: Move to ...
16860         * sysdeps/generic/atomic-machine.h: ...here.
16861         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16862         * sysdeps/i386/bits/atomic.h: Move to ...
16863         * sysdeps/i386/atomic-machine.h: ...here.
16864         * sysdeps/ia64/bits/atomic.h: Move to ...
16865         * sysdeps/ia64/atomic-machine.h: ...here.
16866         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16867         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16868         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16869         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16870         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16871         * sysdeps/microblaze/bits/atomic.h: Move to ...
16872         * sysdeps/microblaze/atomic-machine.h: ...here.
16873         * sysdeps/mips/bits/atomic.h: Move to ...
16874         * sysdeps/mips/atomic-machine.h: ...here.
16875         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16876         * sysdeps/powerpc/bits/atomic.h: Move to ...
16877         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16878         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16879         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16880         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16881         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16882         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16883         <atomic-machine.h> instead of <bits/atomic.h>.
16884         * sysdeps/s390/bits/atomic.h: Move to ...
16885         * sysdeps/s390/atomic-machine.h: ...here.
16886         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16887         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16888         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16889         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16890         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16891         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16892         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16893         * sysdeps/tile/bits/atomic.h: Move to ...
16894         * sysdeps/tile/atomic-machine.h: ...here.
16895         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16896         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16897         <sysdeps/tile/atomic-machine.h> instead of
16898         <sysdeps/tile/bits/atomic.h>.
16899         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16900         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16901         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16902         <sysdeps/tile/atomic-machine.h> instead of
16903         <sysdeps/tile/bits/atomic.h>.
16904         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16905         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16906         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16907         <sysdeps/arm/atomic-machine.h> instead of
16908         <sysdeps/arm/bits/atomic.h>.
16909         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16910         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16911         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16912         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16913         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16914         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16915         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16916         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16917         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16918         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16919         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16920         * sysdeps/x86_64/bits/atomic.h: Move to ...
16921         * sysdeps/x86_64/atomic-machine.h: ...here.
16922         * include/atomic.h: Include <atomic-machine.h> instead of
16923         <bits/atomic.h>.
16925         * sysdeps/mips/mips32/libm-test-ulps: Update.
16926         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16928         [BZ #18952]
16929         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16930         not convert non-integer negative arguments to int to determine the
16931         value of signgam.
16932         * math/auto-libm-test-in: Add more tests of lgamma.
16933         * math/auto-libm-test-out: Regenerated.
16935         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16936         cosh, csqrt, erfc, expm1 and lgamma.
16937         * math/auto-libm-test-out: Regenerated.
16938         * sysdeps/i386/fpu/libm-test-ulps: Update.
16939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16941 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #2542]
16944         [BZ #2543]
16945         [BZ #2558]
16946         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16947         __lgamma_neg for arguments from -28.0 to -2.0.
16948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16949         __lgamma_negf for arguments from -15.0 to -2.0.
16950         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16951         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16952         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16953         Call __lgamma_negl for arguments from -33.0 to -2.0.
16954         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16955         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16956         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16957         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16958         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16959         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16961         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16962         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16963         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16964         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16965         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16966         (__lgamma_neg): Likewise.
16967         (__lgamma_negl): Likewise.
16968         (__lgamma_product): Likewise.
16969         (__lgamma_productl): Likewise.
16970         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16971         * math/auto-libm-test-in: Add more tests of lgamma.
16972         * math/auto-libm-test-out: Regenerated.
16973         * sysdeps/i386/fpu/libm-test-ulps: Update.
16974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16976 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16978         [BZ #18675]
16979         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16981 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #14912]
16984         * bits/libc-lock.h: Move to ...
16985         * sysdeps/generic/libc-lock.h: ...here.
16986         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16987         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16988         * sysdeps/mach/hurd/libc-lock.h: ...here.
16989         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16990         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16991         * sysdeps/mach/bits/libc-lock.h: Move to ...
16992         * sysdeps/mach/libc-lock.h: ...here.
16993         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16994         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16995         * sysdeps/nptl/libc-lock.h: ...here.
16996         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16997         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16998         * sysdeps/nptl/libc-lockP.h: ...here.
16999         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17000         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17001         <bits/libc-lock.h>.
17002         * dirent/scandir-tail.c: Likewise.
17003         * dlfcn/dlerror.c: Likewise.
17004         * elf/dl-close.c: Likewise.
17005         * elf/dl-iteratephdr.c: Likewise.
17006         * elf/dl-lookup.c: Likewise.
17007         * elf/dl-open.c: Likewise.
17008         * elf/dl-support.c: Likewise.
17009         * elf/dl-writev.h: Likewise.
17010         * elf/rtld.c: Likewise.
17011         * grp/fgetgrent.c: Likewise.
17012         * gshadow/fgetsgent.c: Likewise.
17013         * gshadow/sgetsgent.c: Likewise.
17014         * iconv/gconv_conf.c: Likewise.
17015         * iconv/gconv_db.c: Likewise.
17016         * iconv/gconv_dl.c: Likewise.
17017         * iconv/gconv_int.h: Likewise.
17018         * iconv/gconv_trans.c: Likewise.
17019         * include/link.h: Likewise.
17020         * inet/getnameinfo.c: Likewise.
17021         * inet/getnetgrent.c: Likewise.
17022         * inet/getnetgrent_r.c: Likewise.
17023         * intl/bindtextdom.c: Likewise.
17024         * intl/dcigettext.c: Likewise.
17025         * intl/finddomain.c: Likewise.
17026         * intl/gettextP.h: Likewise.
17027         * intl/loadmsgcat.c: Likewise.
17028         * intl/localealias.c: Likewise.
17029         * intl/textdomain.c: Likewise.
17030         * libidn/idn-stub.c: Likewise.
17031         * libio/libioP.h: Likewise.
17032         * locale/duplocale.c: Likewise.
17033         * locale/freelocale.c: Likewise.
17034         * locale/newlocale.c: Likewise.
17035         * locale/setlocale.c: Likewise.
17036         * login/getutent_r.c: Likewise.
17037         * login/getutid_r.c: Likewise.
17038         * login/getutline_r.c: Likewise.
17039         * login/utmp-private.h: Likewise.
17040         * login/utmpname.c: Likewise.
17041         * malloc/mtrace.c: Likewise.
17042         * misc/efgcvt.c: Likewise.
17043         * misc/error.c: Likewise.
17044         * misc/fstab.c: Likewise.
17045         * misc/getpass.c: Likewise.
17046         * misc/mntent.c: Likewise.
17047         * misc/syslog.c: Likewise.
17048         * nis/nis_call.c: Likewise.
17049         * nis/nis_callback.c: Likewise.
17050         * nis/nss-default.c: Likewise.
17051         * nis/nss_compat/compat-grp.c: Likewise.
17052         * nis/nss_compat/compat-initgroups.c: Likewise.
17053         * nis/nss_compat/compat-pwd.c: Likewise.
17054         * nis/nss_compat/compat-spwd.c: Likewise.
17055         * nis/nss_nis/nis-alias.c: Likewise.
17056         * nis/nss_nis/nis-ethers.c: Likewise.
17057         * nis/nss_nis/nis-grp.c: Likewise.
17058         * nis/nss_nis/nis-hosts.c: Likewise.
17059         * nis/nss_nis/nis-network.c: Likewise.
17060         * nis/nss_nis/nis-proto.c: Likewise.
17061         * nis/nss_nis/nis-pwd.c: Likewise.
17062         * nis/nss_nis/nis-rpc.c: Likewise.
17063         * nis/nss_nis/nis-service.c: Likewise.
17064         * nis/nss_nis/nis-spwd.c: Likewise.
17065         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17066         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17067         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17068         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17069         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17070         * nis/nss_nisplus/nisplus-network.c: Likewise.
17071         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17072         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17073         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17074         * nis/nss_nisplus/nisplus-service.c: Likewise.
17075         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17076         * nis/ypclnt.c: Likewise.
17077         * nptl/libc_pthread_init.c: Likewise.
17078         * nss/getXXbyYY.c: Likewise.
17079         * nss/getXXent.c: Likewise.
17080         * nss/getXXent_r.c: Likewise.
17081         * nss/nss_db/db-XXX.c: Likewise.
17082         * nss/nss_db/db-netgrp.c: Likewise.
17083         * nss/nss_db/nss_db.h: Likewise.
17084         * nss/nss_files/files-XXX.c: Likewise.
17085         * nss/nss_files/files-alias.c: Likewise.
17086         * nss/nsswitch.c: Likewise.
17087         * posix/regex_internal.h: Likewise.
17088         * posix/wordexp.c: Likewise.
17089         * pwd/fgetpwent.c: Likewise.
17090         * resolv/res_hconf.c: Likewise.
17091         * resolv/res_libc.c: Likewise.
17092         * shadow/fgetspent.c: Likewise.
17093         * shadow/lckpwdf.c: Likewise.
17094         * shadow/sgetspent.c: Likewise.
17095         * socket/opensock.c: Likewise.
17096         * stdio-common/reg-modifier.c: Likewise.
17097         * stdio-common/reg-printf.c: Likewise.
17098         * stdio-common/reg-type.c: Likewise.
17099         * stdio-common/vfprintf.c: Likewise.
17100         * stdio-common/vfscanf.c: Likewise.
17101         * stdlib/abort.c: Likewise.
17102         * stdlib/cxa_atexit.c: Likewise.
17103         * stdlib/fmtmsg.c: Likewise.
17104         * stdlib/random.c: Likewise.
17105         * stdlib/setenv.c: Likewise.
17106         * string/strsignal.c: Likewise.
17107         * sunrpc/auth_none.c: Likewise.
17108         * sunrpc/bindrsvprt.c: Likewise.
17109         * sunrpc/create_xid.c: Likewise.
17110         * sunrpc/key_call.c: Likewise.
17111         * sunrpc/rpc_thread.c: Likewise.
17112         * sysdeps/arm/backtrace.c: Likewise.
17113         * sysdeps/generic/ldsodefs.h: Likewise.
17114         * sysdeps/generic/stdio-lock.h: Likewise.
17115         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17116         * sysdeps/i386/backtrace.c: Likewise.
17117         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17118         * sysdeps/m68k/backtrace.c: Likewise.
17119         * sysdeps/mach/hurd/cthreads.c: Likewise.
17120         * sysdeps/mach/hurd/dirstream.h: Likewise.
17121         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17122         * sysdeps/nptl/malloc-machine.h: Likewise.
17123         * sysdeps/nptl/stdio-lock.h: Likewise.
17124         * sysdeps/posix/dirstream.h: Likewise.
17125         * sysdeps/posix/getaddrinfo.c: Likewise.
17126         * sysdeps/posix/system.c: Likewise.
17127         * sysdeps/pthread/aio_suspend.c: Likewise.
17128         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17129         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17130         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17131         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17132         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17133         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17134         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17135         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17136         * sysdeps/unix/sysv/linux/system.c: Likewise.
17137         * sysdeps/x86_64/backtrace.c: Likewise.
17138         * time/alt_digit.c: Likewise.
17139         * time/era.c: Likewise.
17140         * time/tzset.c: Likewise.
17141         * wcsmbs/wcsmbsload.c: Likewise.
17142         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17143         instead of <bits/libc-lock.h> in comment.
17145 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17147         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17148         Only use .set mips2 if the current ISA is below mips2.
17149         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17150         Likewise.
17151         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17152         mips32r2 if the current ISA is below mips32r2.
17153         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17154         (TLS_IE): Updated to use the TLD_RDHWR macro.
17155         (TLS_LE): Likewise.
17156         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17157         __ASSEMBLER__ condition.
17159 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17161         Fix parallel build of before-compile targets.
17163         * sysdeps/mach/Makefile ($(patsubst
17164         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17165         mach-before-compile target.
17166         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17167         io fs process)): Move rule to dedicated hurd-before-compile target.
17169 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17171         Fix rules generating headers in hurd/ and mach/ when initial make call
17172         has subdir= explicitly set.
17174         * sysdeps/mach/Makefile ($(patsubst
17175         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17176         calling $(MAKE).
17177         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17178         io fs process)): Force subdir to hurd when calling $(MAKE).
17179         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17180         subdir to mach when calling $(MAKE).
17182 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17184         Check sysheaders when looking for Mach and Hurd headers
17186         * sysdeps/mach/configure.ac: Add sysheaders check.
17187         * sysdeps/mach/configure: Regenerate.
17188         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17189         * sysdeps/mach/hurd/configure: Regenerate.
17191 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17193         [BZ #18921]
17194         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17195         Fix inverted sense of test of 'o_directory_works' value.
17196         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17197         Bernhard Voelker <mail@bernhard-voelker.de>.
17199 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17201         [BZ #14912]
17202         * bits/linkmap.h: Move to ...
17203         * sysdeps/generic/linkmap.h: ...here.
17204         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17205         * sysdeps/aarch64/linkmap.h: ...here.
17206         * sysdeps/arm/bits/linkmap.h: Move to ...
17207         * sysdeps/arm/linkmap.h: ...here.
17208         * sysdeps/hppa/bits/linkmap.h: Move to ...
17209         * sysdeps/hppa/linkmap.h: ...here.
17210         * sysdeps/ia64/bits/linkmap.h: Move to ...
17211         * sysdeps/ia64/linkmap.h: ...here.
17212         * sysdeps/mips/bits/linkmap.h: Move to ...
17213         * sysdeps/mips/linkmap.h: ...here.
17214         * sysdeps/s390/bits/linkmap.h: Move to ...
17215         * sysdeps/s390/linkmap.h: ...here.
17216         * sysdeps/sh/bits/linkmap.h: Move to ...
17217         * sysdeps/sh/linkmap.h: ...here.
17218         * sysdeps/x86/bits/linkmap.h: Move to ...
17219         * sysdeps/x86/linkmap.h: ...here.
17220         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17222 2015-09-04  Andreas Schwab  <schwab@suse.de>
17224         [BZ #18635]
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17226         (__makecontext): Terminate FDE before return label.
17227         (__novec_makecontext): Likewise.
17229 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17231         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17232         first member of struct sv in syscall macro.
17234 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17236         [BZ #14912]
17237         * bits/stdio-lock.h: Move to ...
17238         * sysdeps/generic/stdio-lock.h: ...here.
17239         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17240         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17241         * sysdeps/nptl/stdio-lock.h: ...here.
17242         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17243         * include/libio.h: Include <stdio-lock.h> instead of
17244         <bits/stdio-lock.h>.
17245         * sysdeps/nptl/fork.c: Likewise.
17246         * sysdeps/pthread/flockfile.c: Likewise.
17247         * sysdeps/pthread/ftrylockfile.c: Likewise.
17248         * sysdeps/pthread/funlockfile.c: Likewise.
17250         [BZ #14912]
17251         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17252         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17253         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17254         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17255         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17256         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17257         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17259 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17261         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17262         (test-xfail-tst-protected1b): New variable.
17264 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17266         [BZ #14912]
17267         * bits/libc-tsd.h: Move to ...
17268         * sysdeps/generic/libc-tsd.h: ...here.
17269         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17270         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17271         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17272         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17273         * include/ctype.h: Include <libc-tsd.h> instead of
17274         <bits/libc-tsd.h>.
17275         * include/rpc/rpc.h: Likewise.
17276         * locale/localeinfo.h: Likewise.
17277         * sunrpc/rpc_thread.c: Likewise.
17278         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17279         * sysdeps/nptl/malloc-machine.h: Likewise.
17281         * Makefile (headers): Remove bits/libc-lock.h.
17282         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17284         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17285         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17286         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17287         <bits/stdio-lock.h>.
17288         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17289         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17291 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17293         [BZ #18757]
17294         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17295         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17296         BZ #18757.
17298 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17300         * malloc/mtrace.pl: Filter out NULL entries.
17302 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17304         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17305         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17306         macro.
17308         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17309         (TCP_CC_INFO): Likewise.
17310         (TCP_SAVE_SYN): Likewise.
17311         (TCP_SAVED_SYN): Likewise.
17313 2015-08-31  Brett Neumeier <brett@neumeier.us>
17315         [BZ #18870]
17316         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17318 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17320         [BZ #18873]
17321         Fix broken overflow check in posix_fallocate
17322         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17323         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17324         Fix parenthesization typo.
17326 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17328         [BZ #18887]
17329         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17330         tst-mntent-blank-passno.
17331         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17332         * misc/tst-mntent-blank-corrupt.c: New test.
17333         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17334         * misc/tst-mntent.c (do_test): ... here.
17336 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17338         [BZ #4404]
17339         * po/de.po: Fix SIGALRM typo.
17341 2015-08-28  James Perkins  <james@loowit.net>
17343         * time/tst-strptime2.c (tests): Replace short list of test
17344         strings for strptime %z specifier with code which exhaustively
17345         tests every combination of sign and 0 to 5 digits. Tests for
17346         rejection of invalid strings.
17348 2015-08-28  James Perkins  <james@loowit.net>
17350         [BZ #16141]
17351         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17352         calculation, removing incorrect decimal time rounding, so that
17353         all minute values result in a valid seconds value.
17354         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17355         offset range limits to UTC-99:59 through UTC+99:59 to parse
17356         current and historical use cases.
17357         * time/tst-strptime2.c (tests): Modify and add tests for the
17358         strptime %z input field descriptor, specifically conversion of
17359         minutes to seconds and validating an offset range of -9959 to
17360         +9959.
17362 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17363             Dmitry V. Levin  <ldv@altlinux.org>
17365         [BZ #18877]
17366         * posix/Makefile (tests): Add tst-mmap-offset.
17367         * posix/tst-mmap.c: New file.
17368         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17369         offset calculation for negative values.
17371 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17373         * sysdeps/i386/init-arch.h: New file.
17374         * sysdeps/i386/i586/init-arch.h: Likewise.
17375         * sysdeps/i386/i686/init-arch.h: Likewise.
17376         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17377         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17378         * sysdeps/x86/cpu-features.h (bit_I586): New.
17379         (bit_I686): Likewise.
17380         (bit_CX8): Likewise.
17381         (bit_CMOV): Likewise.
17382         (index_CX8): Likewise.
17383         (index_CMOV): Likewise.
17384         (index_I586): Likewise.
17385         (index_I686): Likewise.
17386         (reg_CX8): Likewise.
17387         (reg_CMOV): Likewise.
17388         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17389         available at compile-time.
17390         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17391         available at compile-time.
17392         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17393         (USE_I686): Likewise.
17395 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17397         * sysdeps/i386/bcopy.S: New file.
17398         * sysdeps/i386/bzero.S: Likewise.
17399         * sysdeps/i386/memcpy.S: Likewise.
17400         * sysdeps/i386/memmove.S: Likewise.
17401         * sysdeps/i386/mempcpy.S: Likewise.
17402         * sysdeps/i386/memset.S: Likewise.
17403         * sysdeps/i386/bzero.c: Removed.
17404         * sysdeps/i386/memset.c: Likewise.
17405         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17406         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17407         * sysdeps/i386/i586/memset_chk.S: Likewise.
17408         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17409         * sysdeps/i386/memcpy_chk.S: Here.
17410         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17411         * sysdeps/i386/memmove_chk.S: Here.
17412         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17413         * sysdeps/i386/mempcpy_chk.S: Likewise.
17414         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17415         * sysdeps/i386/memset_chk.S: Likewise.
17417 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17419         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17420         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17421         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17422         * soft-fp/fmadf4.c: Ditto.
17423         * soft-fp/fmatf4.c: Ditto.
17425 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17427         * sysdeps/i386/i586/Implies: Removed.
17428         * sysdeps/i386/i686/Implies: Likewise.
17430 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17432         * sysdeps/i386/i486/strlen.S: Moved to ...
17433         * sysdeps/i386/strlen.S: Here.
17435 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17437         * sysdeps/i386/i486/strcat.S: Moved to ...
17438         * sysdeps/i386/strcat.S: Here.
17440 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17442         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17443         * sysdeps/i386/pthread_spin_trylock.S: Here.
17444         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17445         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17447 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17449         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17450         * sysdeps/i386/string-inlines.c: Here.
17452 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17454         * sysdeps/i386/i486/htonl.S: Moved ...
17455         * sysdeps/i386/htonl.S: here.
17457 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17459         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17460         * sysdeps/i386/bits/atomic.h: Here.
17462 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17464         * sysdeps/i386/i486/Versions: Removed.
17466 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17468         [BZ #2898]
17469         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17470         Based on patch by Aurelien Jarno.
17472 2015-08-26  Stan Shebs  <stanshebs@google.com>
17474         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17475         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17477 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17479         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17480         * sysdeps/powerpc/dl-procinfo.c:
17481         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17482         feature so it shows when LD_SHOW_AUXV=1.
17484 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17486         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17487         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17488         definition.  ISA 2.07B no longer requires full sync.
17490 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17492         [BZ #18863]
17493         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17494         (si_call_addr): Define.
17495         (si_syscall): Define.
17496         (si_arch): Define.
17498 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17500         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17501         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17502         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17503         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17504         (__memset_zero_constant_len_parameter): New.
17505         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17506         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17507         (__memset_zero_constant_len_parameter): Don't define if
17508         __memset_chk or USE_AS_BZERO are defined.
17510         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17511         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17512         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17514         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17515         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17516         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17517         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17518         comments.
17519         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17520         -mno-mmx for $(all-rtld-routines).
17521         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17522         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17523         i386.
17525 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17527         * sysdeps/generic/unwind.h
17528         (_Unwind_Word): Use __mode__(__unwind_word__)
17529         instead of __mode__(__word__).
17530         (_Unwind_Sword): Likewise.
17532         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17533         (MAX_NEEDED_INPUT): New define.
17534         (MAX_NEEDED_OUTPUT): New define.
17536         * NEWS: New item for IBM z13 string optimizations.
17538         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17539         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17540         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17541         * sysdeps/s390/multiarch/Makefile
17542         (sysdep_routines): Add memrchr functions.
17543         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17544         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17546         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17547         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17548         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17549         * sysdeps/s390/multiarch/Makefile
17550         (sysdep_routines): Add wmemcmp functions.
17551         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17552         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17553         * benchtests/bench-wmemcmp.c: New File.
17554         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17556         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17557         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17558         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17559         * sysdeps/s390/multiarch/Makefile
17560         (sysdep_routines): Add wmemset functions.
17561         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17562         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17563         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17564         * string/test-memset.c: Add wmemset support.
17565         * wcsmbs/test-wmemset.c: New File.
17566         * wcsmbs/Makefile (strop-tests): Add wmemset.
17567         * benchtests/bench-memset.c: Add wmemset support.
17568         * benchtests/bench-wmemset.c: New File.
17569         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17571         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17572         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17573         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17574         * sysdeps/s390/multiarch/Makefile
17575         (sysdep_routines): Add memccpy functions.
17576         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17577         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17578         * string/memccpy.c: Use MEMCCPY if defined.
17580         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17581         * sysdeps/s390/multiarch/memchr.c: Likewise.
17582         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17583         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17584         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17585         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17586         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17587         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17588         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17589         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17590         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17591         and rawmemchr functions.
17592         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17593         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17594         and wmemchr.
17595         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17596         * string/test-memchr.c: Add wmemchr support.
17597         * wcsmbs/test-wmemchr.c: New File.
17598         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17599         * benchtests/bench-memchr.c: Add wmemchr support.
17600         * benchtests/bench-wmemchr.c: New File.
17601         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17603         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17604         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17605         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17606         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17607         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17608         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17609         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17610         wcscspn functions.
17611         * sysdeps/s390/multiarch/ifunc-impl-list.c
17612         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17613         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17614         * string/test-strcspn.c: Add wcscspn support.
17615         * wcsmbs/test-wcscspn.c: New File.
17616         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17617         * benchtests/bench-strcspn.c: Add wcscspn support.
17618         * benchtests/bench-wcscspn.c: New File.
17619         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17621         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17622         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17623         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17624         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17625         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17626         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17627         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17628         wcspbrk functions.
17629         * sysdeps/s390/multiarch/ifunc-impl-list.c
17630         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17631         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17632         * string/test-strpbrk.c: Add wcspbrk support.
17633         * wcsmbs/test-wcspbrk.c: New File.
17634         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17635         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17636         * benchtests/bench-wcspbrk.c: New File.
17637         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17639         * sysdeps/s390/multiarch/strspn-c.c: New File.
17640         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17641         * sysdeps/s390/multiarch/strspn.c: Likewise.
17642         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17643         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17644         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17645         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17646         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17647         wcsspn functions.
17648         * sysdeps/s390/multiarch/ifunc-impl-list.c
17649         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17650         * string/test-strspn.c: Add wcsspn support.
17651         * wcsmbs/test-wcsspn.c: New File.
17652         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17653         * benchtests/bench-strspn.c: Add wcsspn support.
17654         * benchtests/bench-wcsspn.c: New File.
17655         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17657         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17658         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17659         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17660         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17661         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17662         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17663         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17664         wcsrchr functions.
17665         * sysdeps/s390/multiarch/ifunc-impl-list.c
17666         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17667         * benchtests/bench-wcsrchr.c: New File.
17668         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17670         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17671         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17672         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17673         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17674         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17675         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17676         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17677         wcschrnul functions.
17678         * sysdeps/s390/multiarch/ifunc-impl-list.c
17679         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17680         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17681         * string/test-strchr.c: Add wcschrnul support.
17682         * wcsmbs/test-wcschrnul.c: New File.
17683         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17684         * benchtests/bench-strchr.c: Add wcschrnul support.
17685         * benchtests/bench-wcschrnul.c: New File.
17686         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17688         * sysdeps/s390/multiarch/strchr-c.c: New File.
17689         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17690         * sysdeps/s390/multiarch/strchr.c: Likewise.
17691         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17692         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17693         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17694         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17695         wcschr functions.
17696         * sysdeps/s390/multiarch/ifunc-impl-list.c
17697         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17698         * string/strchr.c (STRCHR): Define and use macro.
17699         * benchtests/bench-wcschr.c: New File.
17700         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17702         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17703         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17704         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17705         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17706         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17707         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17709         wcsncmp functions.
17710         * sysdeps/s390/multiarch/ifunc-impl-list.c
17711         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17712         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17713         * benchtests/bench-strncmp.c: Add wcsncmp support.
17714         * benchtests/bench-wcsncmp.c: New File.
17715         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17717         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17718         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17719         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17720         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17721         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17722         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17723         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17724         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17725         wcscmp functions.
17726         * sysdeps/s390/multiarch/ifunc-impl-list.c
17727         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17728         * string/strcmp.c (STRCMP): Define and use macro.
17729         * benchtests/bench-wcscmp.c: New File.
17730         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17731         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17732         instead of _HAVE_STRING_ARCH_memchr.
17734         * sysdeps/s390/multiarch/strncat-c.c: New File.
17735         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17736         * sysdeps/s390/multiarch/strncat.c: Likewise.
17737         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17738         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17739         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17741         wcsncat functions.
17742         * sysdeps/s390/multiarch/ifunc-impl-list.c
17743         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17744         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17745         * string/test-strncat.c: Add wcsncat support.
17746         * wcsmbs/test-wcsncat.c: New File.
17747         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17748         * benchtests/bench-strncat.c: Add wcsncat support.
17749         * benchtests/bench-wcsncat.c: New File.
17750         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17752         * sysdeps/s390/multiarch/strcat-c.c: New File.
17753         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17754         * sysdeps/s390/multiarch/strcat.c: Likewise.
17755         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17756         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17757         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17758         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17759         wcscat functions.
17760         * sysdeps/s390/multiarch/ifunc-impl-list.c
17761         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17762         * string/strcat.c (STRCAT): Define and use macro.
17763         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17764         * string/test-strcat.c: Add wcscat support.
17765         * wcsmbs/test-wcscat.c: New File.
17766         * wcsmbs/Makefile (strop-tests): Add wcscat.
17767         * benchtests/bench-strcat.c: Add wcscat support.
17768         * benchtests/bench-wcscat.c: New File.
17769         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17771         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17772         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17773         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17774         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17775         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17776         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17777         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17778         wcpncpy functions.
17779         * sysdeps/s390/multiarch/ifunc-impl-list.c
17780         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17781         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17782         * string/test-stpncpy.c: Add wcpncpy support.
17783         * wcsmbs/test-wcpncpy.c: New File.
17784         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17785         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17786         * benchtests/bench-wcpncpy.c: New File.
17787         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17789         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17790         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17791         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17792         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17793         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17794         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17795         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17797         wcsncpy functions.
17798         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17799         * sysdeps/s390/multiarch/ifunc-impl-list.c
17800         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17801         * string/test-strncpy.c: Add wcsncpy support.
17802         * wcsmbs/test-wcsncpy.c: New File.
17803         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17804         * benchtests/bench-strncpy.c: Add wcsncpy support.
17805         * benchtests/bench-wcsncpy.c: New File.
17806         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17808         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17809         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17810         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17811         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17812         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17813         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17814         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17815         wcpcpy functions.
17816         * string/stpcpy.c: Use STPCPY if defined.
17817         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17818         * sysdeps/s390/multiarch/ifunc-impl-list.c
17819         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17820         * string/test-stpcpy.c: Add wcpcpy support.
17821         * wcsmbs/test-wcpcpy.c: New File.
17822         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17823         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17824         * benchtests/bench-wcpcpy.c: New File.
17825         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17827         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17828         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17829         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17830         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17831         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17832         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17833         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17835         wcscpy functions.
17836         * sysdeps/s390/multiarch/ifunc-impl-list.c
17837         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17838         * benchtests/bench-wcscpy.c: New File.
17839         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17841         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17842         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17843         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17844         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17845         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17846         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17848         wcsnlen functions.
17849         * sysdeps/s390/multiarch/ifunc-impl-list.c
17850         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17851         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17852         * string/test-strnlen.c: Add wcsnlen support.
17853         * wcsmbs/test-wcsnlen.c: New File.
17854         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17855         * benchtests/bench-strnlen.c: Add wcsnlen support.
17856         * benchtests/bench-wcsnlen.c: New File.
17857         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17859         * sysdeps/s390/multiarch/Makefile: New File.
17860         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17861         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17862         * sysdeps/s390/multiarch/strlen.c: Likewise.
17863         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17864         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17865         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17866         * string/strlen.c (STRLEN): Define and use macro.
17867         * sysdeps/s390/multiarch/ifunc-impl-list.c
17868         (IFUNC_VX_IMPL): New macro function.
17869         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17870         * benchtests/Makefile (wcsmbs-bench): New variable.
17871         (string-bench-all): Added wcsmbs-bench.
17872         * benchtests/bench-wcslen.c: New File.
17874         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17875         s390_vx_libc_ifunc2): New macro function.
17877         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17878         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17879         assembler support.
17880         * sysdeps/s390/configure: Regenerated.
17882         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17883         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17885         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17886         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17887         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17889         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17890         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17891         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17892         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17893         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17894         (memcmp, bcmp): Use __memcmp_default as alias source.
17895         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17896         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17897         Rename to __memcmp_default.
17898         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17899         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17900         (memcpy): Use __memcpy_default as alias source.
17901         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17902         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17903         Rename to __memcpy_default.
17904         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17905         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17906         (memset): Use __memset_default as alias source.
17907         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17908         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17909         Rename to __memset_default.
17910         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17911         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17912         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17913         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17914         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17915         (memcmp, bcmp): Use __memcmp_default as alias source.
17916         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17917         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17918         Rename to __memcmp_default.
17919         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17920         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17921         (memcpy): Use __memcpy_default as alias source.
17922         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17923         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17924         Rename to __memcpy_default.
17925         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17926         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17927         (memset): Use __memset_default as alias source.
17928         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17929         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17930         Rename to __memset_default.
17931         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17932         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17934         [BZ #18610]
17935         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17936         __ieee_instruction_pointer to __unused.
17937         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17938         __ieee_instruction_pointer.
17939         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17940         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17941         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17942         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17943         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17944         Mark dxc-field as reserved.
17946 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17948         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17949         if the weak reference is not null.
17951 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17953         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17955         [BZ #11214]
17956         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17958 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17960         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17961         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17962         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17963         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17964         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17965         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17966         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17967         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17968         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17969         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17970         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17971         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17972         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17973         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17974         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17975         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17976         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17977         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17979 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17981         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17982         register other than r0 for tabort, it has special meaning.
17983         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17984         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17985         transaction before starting syscall.
17987 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17989         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17991 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17993         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17995         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17996         * sysdeps/x86_64/rtld-memset.S: Likewise.
17997         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17998         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17999         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18000         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18002         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18004 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18006         * debug/strcpy_chk.c: Improve performance.
18007         * debug/stpcpy_chk.c: Likewise.
18008         * sysdeps/x86_64/strcpy_chk.S: Remove.
18009         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18011         [BZ #18240]
18012         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18014 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18016         [BZ #15128]
18017         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18018         ifuncmain8.
18019         (modules-names): Add ifuncmod8.
18020         ($(objpfx)ifuncmain8): New rule.
18021         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18022         <cpuid.h>.
18023         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18024         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18025         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18026         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18027         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18028         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18029         * sysdeps/x86_64/ifuncmain8.c: New file.
18030         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18031         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18032         Removed.
18033         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18034         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18035         Change rtld_savespace_sse to __glibc_unused2.
18036         (RTLD_CHECK_FOREIGN_CALL): Removed.
18037         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18038         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18039         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18041 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18043         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18045 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18047         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18048         Unconditionally set __fpcr to avoid uninialized warning.
18049         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18051 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18053         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18054         is corrupt.
18056         * malloc/arena.c (arena_get2): Drop unused argument.
18057         (arena_lock): Adjust.
18058         (arena_get_retry): Likewise.
18060 2015-08-24  Andreas Schwab  <schwab@suse.de>
18062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18063         Don't define.
18064         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18065         (__ASSUME_IPC64): Don't undef.
18066         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18067         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18068         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18069         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18070         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18071         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18072         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18073         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18074         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18075         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18076         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18077         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18078         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18079         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18080         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18081         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18082         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18083         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18084         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18085         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18086         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18088 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18090         * manual/Makefile (install): Only build manual when perl is available.
18092 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18094         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18095         '#undef memcpy' by '#undef memchr'.
18097 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18099         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18100         memchr not point to the internal __GI_memchr implementation.
18102 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18104         * timezone/Makefile (CFLAGS-zdump.c): Remove
18105         -Wno-strict-prototypes.
18106         (CFLAGS-zic.c): Likewise.
18107         (CFLAGS-ialloc.c): Likewise.
18108         (CFLAGS-scheck.c): Likewise.
18110         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18111         -Wno-error=undef.
18113 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18115         * i386/i686/multiarch/strcasestr-c.c: Removed.
18116         * x86_64/multiarch/strcasestr.c: Likewise.
18117         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18118         Remove strcasestr.
18120 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18122         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18125         variables for high and low parts before possibly modifying them.
18127 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18129         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18130         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18131         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18132         of "multiarch/init-arch.h".
18133         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18134         * sysdeps/x86/init-arch.h: This.
18136 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18138         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18139         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18141 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18143         [BZ #17787]
18144         * manual/macros.texi: Add twoexp macro.
18145         * manual/filesys.texi: Fix exponents.
18146         * manual/llio.texi: Likewise.
18147         * manual/stdio.texi: Likewise.
18149 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18151         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18152         incorrect use.
18154 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18156         [BZ #18370]
18157         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18158         whose real or imaginary part has small absolute value.
18159         * math/s_csqrtf.c (__csqrtf): Likewise.
18160         * math/s_csqrtl.c (__csqrtl): Likewise.
18161         * math/auto-libm-test-in: Add more tests of csqrt.
18162         * math/auto-libm-test-out: Regenerated.
18163         * sysdeps/i386/fpu/libm-test-ulps: Update.
18165 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18167         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18168         __ppc_set_ppr_very_low): New functions.
18169         * manual/platform.texi: Add documentation about
18170         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18172 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18174         * string/stpncpy.c (stpncpy): Improve performance using
18175         __strnlen/memcpy/memset.
18177 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18179         [BZ #18796]
18180         * scripts/test-installation.pl: Don't add -lmvec to build options if
18181         libmvec wasn't built.
18183 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18185         [BZ #14341]
18186         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18187         case when there is a gap between DT_REL and DT_JMPREL sections.
18188         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18189         (LDFLAGS-tst-split-dynreloc): New.
18190         (tst-split-dynreloc-ENV): Likewise.
18191         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18192         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18194 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18196         [BZ #18822]
18197         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18198         attribute_hidden.
18199         (__xstat64_conv): Likewise.
18200         (__xstat32_conv): Likewise.
18202 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18204         [BZ #18822]
18205         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18206         Don't load %ebx when calling __setcontext.  Call __setcontext
18207         with HIDDEN_JUMPTARGET.
18208         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18209         libc_hidden_def.
18211 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18213         * sysdeps/i386/i686/Makefile
18214         [$(subdir) == string] (sysdep_routines): Moved to ...
18215         * sysdeps/i386/Makefile: Here.
18216         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18217         * sysdeps/i386/cacheinfo.c: Here.
18218         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18219         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18220         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18221         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18223 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18225         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18226         __i586__ is defined.
18227         (HAS_I686): Defined to 1 if __i686__ is defined.
18229 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18231         * elf/Makefile [$(have-z-execstack) = yes]
18232         (CPPFLAGS-tst-execstack.c): New variable.
18234         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18235         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18236         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18237         UTMPX || _HAVE_UT_TV].
18238         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18239         UTMPX || _HAVE_UT_TV - 0].
18241 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18243         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18244         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18245         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18247 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18249         * sysdeps/powerpc/dl-procinfo.c:
18250         (_dl_powerpc_cap_flags): Added missing strings for some
18251         hwcap features.
18252         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18254 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18256         Port the 0x7efe...feff pattern to GCC 6.
18257         See Steve Ellcey's bug report in:
18258         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18259         * string/memrchr.c (MEMRCHR):
18260         * string/rawmemchr.c (RAWMEMCHR):
18261         * string/strchr.c (strchr):
18262         * string/strchrnul.c (STRCHRNUL):
18263         Rewrite code to avoid issues with signed shift overflow.
18265 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18267         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18268         whether cpuid is available only if HAS_CPUID is 0.
18269         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18270         (HAS_I586): Likewise.
18271         (HAS_I686): Likewise.
18273 2015-08-18  Zack Weinberg  <zackw@panix.com>
18275         * misc/Versions (libc): Add GLIBC_2.23.
18277 2015-08-18  Alan Modra  <amodra@gmail.com>
18279         [BZ #18421]
18280         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18281         .Lp__global.
18282         (_start): Load %dp via .Lp__global.
18283         [!SHARED]: Use .section .rodata.
18285 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18287         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18288         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18290 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18292         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18293         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18295 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18297         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18298         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18300 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18302         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18303         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18305 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18307         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18308         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18310 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18312         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18313         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18315 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18317         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18319 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18321         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18322         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18323         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18324         (__ASSUME_LWS_CAS): Delete.
18326 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18328         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18329         * sysdeps/hppa/configure: Regenerated.
18330         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18331         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18332         * sysdeps/hppa/nptl/tls.h: Likewise.
18334 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18336         [BZ #18823]
18337         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18338         for scaling up small arguments.
18339         * math/s_csqrtf.c (__csqrtf): Likewise.
18340         * math/s_csqrtl.c (__csqrtl): Likewise.
18341         * math/auto-libm-test-in: Add more tests of csqrt.
18342         * math/auto-libm-test-out: Regenerated.
18344 2015-08-17  Andreas Schwab  <schwab@suse.de>
18346         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18347         version set GLIBC_2.19.
18349 2015-08-16  Zack Weinberg  <zackw@panix.com>
18351         [BZ #18681]
18352         * misc/regexp.h: This interface is no longer supported.
18353         Remove all contents, leaving only an #error directive.
18354         * misc/regexp.c (loc1, loc2, locs, step, advance):
18355         Demote to compatibility symbols.
18357 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18359         [BZ #18084]
18360         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18361         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18362         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18363         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18364         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18365         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18366         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18367         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18368         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18370 2015-08-15  Zack Weinberg  <zackw@panix.com>
18372         [BZ #18795]
18373         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18374         buffer length is known to be too large, not if it's known to be
18375         small enough.
18376         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18377         overflow at runtime, involving a length parameter, twice: once
18378         with a compile-time constant length parameter, once without.
18380 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18382         [BZ #18824]
18383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18384         scaling x * y up instead of down.
18385         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18386         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18387         * math/auto-libm-test-in: Add more tests of fma.
18388         * math/auto-libm-test-out: Regenerated.
18390 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18394 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18396         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18397         unnecessary movq.
18398         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18399         Likewise.
18401 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18403         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18404         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18405         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18406         and tgamma.
18407         * math/auto-libm-test-out: Regenerated.
18408         * sysdeps/i386/fpu/libm-test-ulps: Update.
18409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411         [BZ #16520]
18412         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18413         (__tanh): Force underflow exception for arguments with small
18414         absolute value.
18415         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18416         (__tanhf): Force underflow exception for arguments with small
18417         absolute value.
18418         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18419         (__tanhl): Force underflow exception for arguments with small
18420         absolute value.
18421         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18422         (__tanhl): Force underflow exception for arguments with small
18423         absolute value.
18424         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18425         (__tanhl): Force underflow exception for arguments with small
18426         absolute value.
18427         * math/auto-libm-test-in: Add more tests of tanh.
18428         * math/auto-libm-test-out: Regenerated.
18429         * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18433         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18434         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18436 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18438         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18439         <cpuid.h>.
18441 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18443         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18444         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18446 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18448         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18449         Remove $(objpfx)init-arch.o.
18450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18451         init-arch.
18452         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18453         (INIT_ARCH_EXT): Defined as empty.
18454         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18455         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18456         __init_cpu_features call.  Replace HAS_XXX with
18457         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18458         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18463         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18464         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18465         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18472         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18475         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18476         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18477         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18478         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18479         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18484         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18490         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18492         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18494 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18496         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18497         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18498         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18499         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18500         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18501         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18502         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18503         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18504         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18505         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18506         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18507         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18508         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18509         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18510         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18511         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18512         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18513         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18514         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18515         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18516         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18517         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18518         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18522         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18523         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18524         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18525         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18526         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18527         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18528         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18533         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18535         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18536         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18537         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18538         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18540 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18542         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18543         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18544         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18545         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18546         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18547         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18548         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18549         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18550         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18551         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18552         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18553         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18554         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18555         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18556         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18557         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18558         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18559         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18560         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18561         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18563         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18564         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18565         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18566         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18567         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18568         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18569         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18570         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18571         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18572         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18573         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18574         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18575         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18577         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18578         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18579         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18580         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18581         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18582         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18583         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18584         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18586 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18588         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18589         (dl_platform_init): Call init_cpu_features.
18590         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18591         * sysdeps/i386/i686/cacheinfo.c
18592         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18593         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18594         * sysdeps/i386/i686/multiarch/Versions: Removed.
18595         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18596         Removed.
18597         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18598         * sysdeps/unix/sysv/linux/x86/Makefile
18599         (libpthread-sysdep_routines): Remove init-arch.
18600         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18601         <sysdeps/x86_64/dl-procinfo.c> instead of
18602         sysdeps/generic/dl-procinfo.c>.
18603         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18604         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18605         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18606         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18607         [$(subdir) == elf] (tests-static): Add
18608         tst-get-cpu-features-static.
18609         * sysdeps/x86/Versions: New file.
18610         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18611         * sysdeps/x86/cpu-features.c: Likewise.
18612         * sysdeps/x86/cpu-features.h: Likewise.
18613         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18614         * sysdeps/x86/libc-start.c: Likewise.
18615         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18616         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18617         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18618         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18619         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18620         Assume USE_MULTIARCH is defined and don't check it.
18621         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18622         (is_amd): Likewise.
18623         (max_cpuid): Likewise.
18624         (intel_check_word): Likewise.
18625         (__cache_sysconf): Don't call __init_cpu_features.
18626         (__x86_preferred_memory_instruction): Removed.
18627         (init_cacheinfo): Don't call __init_cpu_features. Replace
18628         __cpu_features with GLRO(dl_x86_cpu_features).
18629         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18630         (dl_platform_init): Call init_cpu_features.
18631         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18632         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18633         * sysdeps/x86_64/multiarch/Versions: Removed.
18634         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18635         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18636         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18637         Removed.
18638         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18640 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18642         [BZ #18820]
18643         * libio/Makefile (test-fmemopen-mem): New test.
18644         * libio/test-fmemopen.c (do_bz18820): New test.
18645         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18646         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18648 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18650         [BZ #16734]
18651         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18652         (FREE_BUF): Delete.
18653         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18654         * libio/genops.c (_IO_setb): Use malloc and free directly.
18655         (_IO_default_doallocate, _IO_default_finish): Likewise.
18656         ( _IO_unbuffer_all): Likewise.
18657         ( libc_freeres_fn): Likewise.
18658         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18659         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18660         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18661         (_IO_wdefault_doallocate): Likewise.
18663 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18665         [BZ #18086]
18666         * sysdeps/posix/nice.c (nice): Restore old errno.
18667         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18669 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18671         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18673 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18675         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18676         __bcopy and add a weak_alias to bcopy.
18677         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18678         for static build.
18680         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18681         cleanup macro usage.
18682         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18685         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18686         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18687         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18688         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18689         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18690         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18691         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18693         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18694         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18695         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18696         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18698         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18700         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18702         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18703         libc_hidden_def.
18704         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18706         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18707         (sysdep_routines): Add strstr-ppc64.
18708         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18710 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18712         [BZ #18778]
18713         * elf/Makefile (tests): Add Add tst-nodelete2.
18714         (modules-names): Add tst-nodelete2mod.
18715         (tst-nodelete2mod.so-no-z-defs): New.
18716         ($(objpfx)tst-nodelete2): Likewise.
18717         ($(objpfx)tst-nodelete2.out): Likewise.
18718         (LDFLAGS-tst-nodelete2): Likewise.
18719         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18720         out of loop through all loaded libraries.
18721         * elf/tst-nodelete2.c: New file.
18722         * elf/tst-nodelete2mod.c: Likewise.
18723         * elf/tst-znodelete-zlib.cc: Delete.
18725 2015-08-11  Andreas Schwab  <schwab@suse.de>
18727         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18728         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18729         (__openat64_nocancel): Likewise.
18731 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18733         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18734         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18735         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18736         * math/auto-libm-test-out: Regenerated.
18737         * sysdeps/i386/fpu/libm-test-ulps: Update.
18738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18740 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18742         [BZ #18790]
18743         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18744         threshold for returning +/- 1.
18745         * math/auto-libm-test-in: Add more tests of tanh.
18746         * math/auto-libm-test-out: Regenerated.
18747         * sysdeps/i386/fpu/libm-test-ulps: Update.
18749 2015-08-10  Andreas Schwab  <schwab@suse.de>
18751         [BZ #18781]
18752         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18753         MORE_OFLAGS to oflag.
18754         * io/test-lfs.c (do_test): Test openat64.
18756 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18758         [BZ #18789]
18759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18760         smaller threshold for returning the argument.
18761         * math/auto-libm-test-in: Add more tests of sinh.
18762         * math/auto-libm-test-out: Regenerated.
18763         * sysdeps/i386/fpu/libm-test-ulps: Update.
18765 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18767         [BZ #18674]
18768         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18769         break.
18771 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18773         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18774         (generated): Don't add $(addprefix z.,$(tzfiles)).
18776 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18778         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18779         * scripts/sysd-rules.awk: Likewise.
18781 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18783         * iconvdata/tst-tables.sh: Change echo -n to printf.
18784         * nss/db-Makefile: Likewise.
18785         * posix/tst-getconf.sh: Likewise.
18786         * stdio-common/tst-unbputc.sh: Likewise.
18788 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18790         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18791         MADV_*_PAGES defines behind this feature check.
18793 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18795         [BZ #18480]
18796         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18797         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18798         Define.
18799         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18800         LOAD_REGS_5, LOAD_REGS_6): Update.
18801         (INTERNAL_SYSCALL): Update using new LOAD defines.
18802         (INTERNAL_SYSCALL_NCS): Likewise.
18803         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18805 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18807         [BZ #16734]
18808         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18810 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18812         [BZ #17905]
18813         * catgets/Makefile (tst-catgets-mem): New test.
18814         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18815         * catgets/open_catalog.c (__open_catalog): Likewise.
18816         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18818 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18820         [BZ #18787]
18821         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18822         clobber registers.
18823         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18824         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18825         Cast return to __typeof (oldval).
18827 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18829         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18830         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18831         and delete sys/syscall.h include.
18833 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18835         [BZ #16517]
18836         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18837         (tan): Force underflow exception for arguments with small absolute
18838         value.
18839         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18840         (__kernel_tanf): Force underflow exception for arguments with
18841         small absolute value.
18842         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18843         (__kernel_tanl): Force underflow exception for arguments with
18844         small absolute value.
18845         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18846         (__kernel_tanl): Force underflow exception for arguments with
18847         small absolute value.
18848         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18849         (__kernel_tanl): Force underflow exception for arguments with
18850         small absolute value.
18851         * math/auto-libm-test-in: Add more tests of tan.
18852         * math/auto-libm-test-out: Regenerated.
18854 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18856         Fix sysdeps/i386/fpu/s_scalbn.S build
18858         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18860 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18862         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18864 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18866         Fix gcrt0.o compilation
18868         When static-start-installed-name is different from
18869         start-installed-name, we must not use the shared objects.
18871         * csu/Makefile
18872         (extra-objs): Add gmon-start.o when building shared library and
18873         $(static-start-installed-name) is different from
18874         $(start-installed-name).
18875         $(objpfx)g$(static-start-installed-name): When building shared
18876         library and $(static-start-installed-name) is different from
18877         $(static-start-installed-name), revert to non-shared rule,
18878         i.e. using $(objpfx)% and gmon-start.o.
18880 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #16519]
18883         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18884         (__ieee754_sinh): Force underflow exception for arguments with
18885         small absolute value.
18886         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18887         (__ieee754_sinhf): Force underflow exception for arguments with
18888         small absolute value.
18889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18890         (__ieee754_sinhl): Force underflow exception for arguments with
18891         small absolute value.
18892         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18893         (__ieee754_sinhl): Force underflow exception for arguments with
18894         small absolute value.
18895         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18896         (__ieee754_sinhl): Force underflow exception for arguments with
18897         small absolute value.
18898         * math/auto-libm-test-in: Add more tests of sinh.
18899         * math/auto-libm-test-out: Regenerated.
18900         * sysdeps/i386/fpu/libm-test-ulps: Update.
18902 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18904         * libio/oldfileops.c: Include unistd.h.
18906 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18908         * stdlib/isomac.c: Include ctype.h.
18910 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18912         * dirent/tst-seekdir.c (main): Converted to ...
18913         (do_test): ... this.
18914         (TEST_FUNCTION): New macro.
18915         Include test-skeleton.c.
18916         * elf/tst-dlmodcount.c (main): Converted to ...
18917         (do_test): ... this.
18918         (TEST_FUNCTION): New macro.
18919         Include test-skeleton.c.
18920         * elf/tst-order-main.c (main): Converted to ...
18921         (do_test): ... this.
18922         (TEST_FUNCTION): New macro.
18923         Include test-skeleton.c.
18924         * elf/tst-pie2.c (main): Converted to ...
18925         (do_test): ... this.
18926         (TEST_FUNCTION): New macro.
18927         Include test-skeleton.c.
18928         * inet/tst-ether_aton.c (main): Converted to ...
18929         (do_test): ... this.
18930         (TEST_FUNCTION): New macro.
18931         Include test-skeleton.c.
18932         * misc/tst-mntent.c (main): Converted to ...
18933         (do_test): ... this.
18934         (TEST_FUNCTION): New macro.
18935         Include test-skeleton.c.
18936         * misc/tst-tsearch.c (main): Converted to ...
18937         (do_test): ... this.
18938         (TEST_FUNCTION): New macro.
18939         Include test-skeleton.c.
18940         * posix/tst-regexloc.c (main): Converted to ...
18941         (do_test): ... this.
18942         (TEST_FUNCTION): New macro.
18943         Include test-skeleton.c.
18944         * resolv/tst-aton.c (main): Converted to ...
18945         (do_test): ... this.
18946         (TEST_FUNCTION): New macro.
18947         Include test-skeleton.c.
18948         * stdio-common/test-fwrite.c (main): Converted to ...
18949         (do_test): ... this.
18950         (TEST_FUNCTION): New macro.
18951         Include test-skeleton.c.
18952         * stdio-common/tst-ferror.c (main): Converted to ...
18953         (do_test): ... this.
18954         (TEST_FUNCTION): New macro.
18955         Include test-skeleton.c.
18956         * stdio-common/tst-printf.c (main): Converted to ...
18957         (do_test): ... this.
18958         (TEST_FUNCTION): New macro.
18959         Include test-skeleton.c.
18960         * stdio-common/tst-printfsz.c (main): Converted to ...
18961         (do_test): ... this.
18962         (TEST_FUNCTION): New macro.
18963         Include test-skeleton.c.
18964         * stdlib/tst-strtod.c (main): Converted to ...
18965         (do_test): ... this.
18966         (TEST_FUNCTION): New macro.
18967         Include test-skeleton.c.
18968         * string/tst-strlen.c (main): Converted to ...
18969         (do_test): ... this.
18970         (TEST_FUNCTION): New macro.
18971         Include test-skeleton.c.
18972         * string/tst-svc.c (main): Converted to ...
18973         (do_test): ... this.
18974         (TEST_FUNCTION): New macro.
18975         Include test-skeleton.c.
18976         * time/tst-strptime.c (main): Converted to ...
18977         (do_test): ... this.
18978         (TEST_FUNCTION): New macro.
18979         Include test-skeleton.c.
18980         * timezone/tst-timezone.c (main): Converted to ...
18981         (do_test): ... this.
18982         (TEST_FUNCTION): New macro.
18983         Include test-skeleton.c.
18985 2015-08-05  Zack Weinberg  <zackw@panix.com>
18987         * misc/regexp.h: Update comments.
18989 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18991         [BZ #18635]
18992         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18993         before return label.
18995 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18997         [BZ #18661]
18998         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18999         when calling __errno_location.
19000         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19001         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19003 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19005         [BZ #18661]
19006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19007         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19008         __gettimeofday.
19010 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19012         [BZ #18661]
19013         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19014         (__start_context): Don't use pop to restore %rdi so that stack
19015         is aligned to 16 bytes when calling __setcontext.
19017 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19019         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19020         only for libc.
19021         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19023 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19025         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19026         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19027         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19029 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19031         * string/memccpy.c (memccpy):
19032         Improve performance by using memchr/memcpy/__mempcpy.
19034 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19036         * string/strncpy.c (strncpy):
19037         Improve performance by using __strnlen/memcpy.
19039 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19042         Optimize to avoid an unnecessary FPCR read.
19044 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19047         Optimize to reduce FPCR/FPSR accesses.
19049 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19051         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19052         dead->data[category] != NULL.
19054 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19056         [BZ #18647]
19057         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19058         and |x| close to 1, use absolute value of x when computing log.
19059         * math/auto-libm-test-in: Add more tests of pow.
19060         * math/auto-libm-test-out: Regenerated.
19062 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19064         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19065         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19066         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19068 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19070         [BZ #18525]
19071         * locales/km_KH: Remove timezone definition.
19072         * locales/lo_LA: Likewise.
19073         * locales/my_MM: Likewise.
19074         * locales/nan_TW@latin: Likewise.
19075         * locales/th_TH: Likewise.
19076         * locales/uk_UA: Likewise.
19078 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19080         [BZ #18265]
19081         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19082         (wcsncat): Likewise.
19083         (wcscmp): Likewise.
19084         (wcsncmp): Likewise.
19086 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19088         * test-skeleton.c (usage): New function.
19089         (main): Call usage when opt is '?'.
19091 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19093         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19094         before first use.
19096 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19098         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19099         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19100         in there too.
19102 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19104         * version.h (RELEASE): Set to "development".
19105         (VERSION): Set to "2.22.90"
19107         * version.h (RELEASE): Set to "stable".
19108         (VERSION): Set to "2.22"
19109         * include/features.h (__GLIBC_MINOR__): Set to 22.
19111 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19113         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19114         Restructure macro to avoid "value computed is not used" warning.
19115         (atomic_compare_and_exchange_val_acq): Likewise.
19117 2015-08-04  Andreas Schwab  <schwab@suse.de>
19119         [BZ #18635]
19120         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19121         ret.
19122         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19124 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19126         * po/pl.po: Updated translation.
19127         * po/uk.po: Likewise.
19128         * po/fi.po: Likewise.
19129         * po/ko.po: Likewise.
19130         * po/ru.po: Likewise.
19131         * po/vi.po: Likewise.
19133 2015-07-31  Zack Weinberg  <zackw@panix.com>
19135         [BZ #18681]
19136         * regexp.h: Add unconditional #warning stating that this header
19137         will be removed soon.  Revise banner comment to match.
19138         (compile): Consistently use ERROR instead of RETURN to report
19139         errors (partial fix for bz#18681).
19140         * regexp.c: Don't include regexp.h. Remove some unnecessary
19141         declarations.
19143 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19145         * po/libc.pot: Regenerated.
19147 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19149         [BZ #18740]
19150         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19151         float-vlen4-arch-ext-cflags): Removed.
19152         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19153         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19155 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19157         [BZ #14113]
19158         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19159         aligned to __aligned__.
19160         (pthread_cond_t, pthread_rwlock_t): Likewise.
19162 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19164         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19166 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19168         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19169         (struct sigaction): Change sa_flags from a long to an int, and add
19170         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19172 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19174         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19175         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19176         sysdeps/generic/sysdep.h include.
19177         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19178         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19179         sysdeps/hppa/sysdep.h.
19180         (ENTRY, PSEUDO): Undefine before defining.
19182 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19184         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19185         from scratch to use INTERNAL_SYSCALL.
19187 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19189         [BZ #18078]
19190         * scripts/check-localplt.awk: Support alternate relocations.
19191         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19192         sections.
19193         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19194         malloc entries with + REL R_386_GLOB_DAT.
19195         * sysdeps/x86_64/localplt.data: New file.
19197 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19199         [BZ #18731]
19200         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19201         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19202         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19204 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19206         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19208 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19210         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19211         directly in terms of __sync_fetch_and_add and delete (int) cast.
19213 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19215         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19216         the -D_ASM_IA64_CURRENT_H flag.
19218 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19220         [BZ #18641]
19221         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19223 2015-07-27  Andreas Schwab  <schwab@suse.de>
19225         * conform/conformtest.pl (checknamespace): Filter out string
19226         literals while tokenizing.
19228 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19230         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19231         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19232         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19234 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19236         * nptl/tst-join7mod.c: Add #include <string.h>.
19238 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19240         * sysdeps/nios2/libm-test-ulps: Update.
19242 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19244         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19245         Fix order of arguments to the rt_sigprocmask syscall.
19246         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19247         Likewise.
19249 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19251         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19253 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19255         [BZ #18457]
19256         * nptl/Makefile (tests): New test case tst-join7.
19257         (modules-names): New test case module tst-join7mod.
19258         * nptl/tst-join7.c: New file.
19259         * nptl/tst-join7mod.c: New file.
19260         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19261         all translation units in libc.so, libpthread.so and rtld.
19263 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19267 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19269         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19270         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19271         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19275         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19277         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19281         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19282         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19284         implementation.
19286 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19288         [BZ #17711]
19289         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19290         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19291         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19292         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19293         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19294         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19296 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19299         instead of just saying load lock in the comments.
19301 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19303         * sysdeps/unix/Subdirs: Moved ...
19304         * sysdeps/posix/Subdirs: ... here.
19305         * login/pty.h (struct termios, struct winsize): Add forward decls.
19306         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19307         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19308         * sysdeps/arm/nacl/libc.abilist: Updated.
19309         * sysdeps/nacl/libutil.abilist: New file.
19311         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19312         (SIGWINCH): New macro.
19314         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19315         * sysdeps/arm/nacl/libc.abilist: Add it.
19317 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19319         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19321 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19323         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19324         Swap __glibc_reserved0 and sa_flags order.
19326 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19328         [BZ #18657]
19329         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19330         are pending TLS destructor calls.
19331         * include/link.h (struct link_map): Add concurrency note for
19332         L_TLS_DTOR_COUNT.
19333         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19334         Don't touch the link map flag.  Atomically increment
19335         l_tls_dtor_count.
19336         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19337         Avoid taking the load lock and don't touch the link map flag.
19338         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19339         * stdlib/Makefile (tests): Use it.
19340         * stdlib/tst-tls-atexit.c (do_test): dlopen
19341         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19342         to allow tst-tls-atexit-nodelete test case to use it.
19344 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19346         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19347         to bits/types.h.
19348         (msgqnum_t): New typedef.
19349         (msglen_t): Likewise.
19350         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19351         and msg_qbytes type to msglen_t.
19353 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19355         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19356         pad0 to __glibc_reserved0.
19357         (struct stat64): Likewise.
19359 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19361         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19362         Change sa_flags from a long to an int and add __glibc_reserved0 before
19363         it for padding.
19365 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19367         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19368         anonymous by deleting "siginfo" name.
19370 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19372         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19373         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19374         rather than __nacl_irt_filename.
19375         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19377         * NEWS: New item for arm-nacl port.
19378         * sysdeps/arm/nacl/libc.abilist: New file.
19379         * sysdeps/nacl/ld.abilist: New file.
19380         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19381         * sysdeps/nacl/libanl.abilist: New file.
19382         * sysdeps/nacl/libcrypt.abilist: New file.
19383         * sysdeps/nacl/libdl.abilist: New file.
19384         * sysdeps/nacl/libm.abilist: New file.
19385         * sysdeps/nacl/libpthread.abilist: New file.
19386         * sysdeps/nacl/libresolv.abilist: New file.
19387         * sysdeps/nacl/librt.abilist: New file.
19389 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19391         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19392         __startcontext to initialize the new context.
19393         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19394         up CFI directive to forbid further backtracing.
19396 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19398         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19399         reference.
19400         * charmaps/ANSI_X3.4-1968: Likewise.
19401         * charmaps/BS_4730: Likewise.
19402         * charmaps/BS_VIEWDATA: Likewise.
19403         * charmaps/CP1250: Likewise.
19404         * charmaps/CP1251: Likewise.
19405         * charmaps/CP1252: Likewise.
19406         * charmaps/CP1253: Likewise.
19407         * charmaps/CP1254: Likewise.
19408         * charmaps/CP1255: Likewise.
19409         * charmaps/CP1256: Likewise.
19410         * charmaps/CSN_369103: Likewise.
19411         * charmaps/EBCDIC-DK-NO: Likewise.
19412         * charmaps/GB_1988-80: Likewise.
19413         * charmaps/GREEK-CCITT: Likewise.
19414         * charmaps/GREEK7: Likewise.
19415         * charmaps/INIS-8: Likewise.
19416         * charmaps/ISIRI-3342: Likewise.
19417         * charmaps/ISO_2033-1983: Likewise.
19418         * charmaps/ISO_5427-EXT: Likewise.
19419         * locales/POSIX: Likewise.
19420         * locales/ar_SA: Likewise.
19421         * locales/be_BY: Likewise.
19422         * locales/be_BY@latin: Likewise.
19423         * locales/ca_ES: Likewise.
19424         * locales/cs_CZ: Likewise.
19425         * locales/da_DK: Likewise.
19426         * locales/de_BE: Likewise.
19427         * locales/de_CH: Likewise.
19428         * locales/de_LU: Likewise.
19429         * locales/en_AU: Likewise.
19430         * locales/en_BW: Likewise.
19431         * locales/en_CA: Likewise.
19432         * locales/en_DK: Likewise.
19433         * locales/en_GB: Likewise.
19434         * locales/en_IE: Likewise.
19435         * locales/en_NZ: Likewise.
19436         * locales/en_ZA: Likewise.
19437         * locales/en_ZW: Likewise.
19438         * locales/es_AR: Likewise.
19439         * locales/es_BO: Likewise.
19440         * locales/es_CL: Likewise.
19441         * locales/es_CO: Likewise.
19442         * locales/es_DO: Likewise.
19443         * locales/es_EC: Likewise.
19444         * locales/es_ES: Likewise.
19445         * locales/es_HN: Likewise.
19446         * locales/es_MX: Likewise.
19447         * locales/es_PA: Likewise.
19448         * locales/es_PE: Likewise.
19449         * locales/es_PY: Likewise.
19450         * locales/es_SV: Likewise.
19451         * locales/es_US: Likewise.
19452         * locales/es_UY: Likewise.
19453         * locales/es_VE: Likewise.
19454         * locales/et_EE: Likewise.
19455         * locales/fa_IR: Likewise.
19456         * locales/fo_FO: Likewise.
19457         * locales/fr_CA: Likewise.
19458         * locales/fr_CH: Likewise.
19459         * locales/gv_GB: Likewise.
19460         * locales/he_IL: Likewise.
19461         * locales/hr_HR: Likewise.
19462         * locales/id_ID: Likewise.
19463         * locales/is_IS: Likewise.
19464         * locales/it_CH: Likewise.
19465         * locales/iw_IL: Likewise.
19466         * locales/kl_GL: Likewise.
19467         * locales/ko_KR: Likewise.
19468         * locales/kw_GB: Likewise.
19469         * locales/lg_UG: Likewise.
19470         * locales/lt_LT: Likewise.
19471         * locales/lv_LV: Likewise.
19472         * locales/mi_NZ: Likewise.
19473         * locales/nhn_MX: Likewise.
19474         * locales/nl_BE: Likewise.
19475         * locales/pl_PL: Likewise.
19476         * locales/sk_SK: Likewise.
19477         * locales/sl_SI: Likewise.
19478         * locales/sv_FI: Likewise.
19479         * locales/tl_PH: Likewise.
19480         * locales/tr_TR: Likewise.
19481         * locales/vi_VN: Likewise.
19483 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19485         [BZ #17475]
19486         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19487         of tu_IN and bh_IN.
19489 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19491         [BZ #18694]
19492         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19493         bits/wordsize.h.
19494         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19496 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19498         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19499         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19500         (spawn_thread): New function.
19501         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19502         (do_test): ... here.  Use IS_LOADED to test for its
19503         availability.
19505 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19507         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19509 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19511         [BZ #18696]
19512         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19513         si_addr_bnd.
19514         (si_lower): New.
19515         (si_upper): Likewise.
19517 2015-07-16  David S. Miller  <davem@davemloft.net>
19519         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19521 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19523         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19524         buffer.
19525         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19526         fail output information.
19528 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19531         and strstr-ppc64..
19532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19533         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19534         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19535         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19536         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19538 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19540         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19541         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19542         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19543         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19545 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19547         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19548         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19549         rtld_hidden_proto.
19550         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19552 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19554         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19555         the test can fail.
19557         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19559         [BZ #18676]
19560         * elf/tst-nodelete-opened.c: New test case.
19561         * elf/tst-nodelete-opened-lib.c: New test case module.
19562         * elf/Makefile (tests, modules-names): Use them.
19563         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19564         early.
19566 2015-07-15  David S. Miller  <davem@davemloft.net>
19568         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19569         futex-intenal.h
19570         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19571         * sysdeps/sparc/sparc64/Makefile: Likewise.
19572         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19573         Remove space from macro define.
19574         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19576 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19578         [BZ #17475]
19579         * locale/iso-639.def: Update Bhili and Tulu language codes as
19580         per iso639-3.
19582 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19584         * elf/tst-leaks1.c (main): Converted to ...
19585         (do_test): ... this.
19586         (TEST_FUNCTION): New macro.
19587         Include test-skeleton.c.
19588         * localedata/tst-langinfo.c (main): Converted to ...
19589         (do_test): ... this.
19590         (TEST_FUNCTION): New macro.
19591         Include test-skeleton.c.
19592         * math/test-fpucw.c (main): Converted to ...
19593         (do_test): ... this.
19594         (TEST_FUNCTION): New macro.
19595         Include test-skeleton.c.
19596         * math/test-tgmath.c (main): Converted to ...
19597         (do_test): ... this.
19598         (TEST_FUNCTION): New macro.
19599         Include test-skeleton.c.
19600         * math/test-tgmath2.c (main): Converted to ...
19601         (do_test): ... this.
19602         (TEST_FUNCTION): New macro.
19603         Include test-skeleton.c.
19604         * setjmp/tst-setjmp.c (main): Converted to ...
19605         (do_test): ... this.
19606         (TEST_FUNCTION): New macro.
19607         Include test-skeleton.c.
19608         * stdio-common/tst-sscanf.c (main): Converted to ...
19609         (do_test): ... this.
19610         (TEST_FUNCTION): New macro.
19611         Include test-skeleton.c.
19612         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19613         (do_test): ... this.
19614         (TEST_FUNCTION): New macro.
19615         Include test-skeleton.c.
19617         * elf/tst-audit9.c (main): Converted to ...
19618         (do_test): ... this.
19619         (TEST_FUNCTION): New macro.
19620         Include test-skeleton.c.
19622 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19624         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19626 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19628         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19629         New variable.
19631 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19633         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19635 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19637         * sysdeps/generic/dl-fileid.h: New file.
19638         * sysdeps/posix/dl-fileid.h: New file.
19639         * sysdeps/nacl/dl-fileid.h: New file.
19640         * include/link.h: Include <dl-fileid.h>.
19641         (struct link_map): Replace l_dev and l_ino with l_file_id.
19642         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19643         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19644         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19646 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19648         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19650 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19652         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19653         Add iff $CXX is set.
19654         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19655         Likewise.
19656         (tst-nodelete-zmodiff): Likewise.
19657         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19659 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19661         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19663 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19665         * sysdeps/aarch64/fpu/math_private.h
19666         (define math_opt_barrier): Add AArch64 version.
19667         (math_force_eval): Likewise.
19669 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19671         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19673 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19675         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19676         %ld with %jd and cast to intmax_t.
19677         (do_test_length_zero): Likewise.
19679 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19681         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19683 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19685         * sysdeps/tile/libm-test-ulps: Regenerated.
19687         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19688         Comment out the whole function, not just its body.
19690 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19692         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19693         locks.
19695         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19697 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19699         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19700         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19702 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19704         * sysdeps/nptl/futex-internal.h: New file.
19705         * sysdeps/nacl/futex-internal.h: New file.
19706         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19707         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19708         error checking.
19709         (setxid_unmark_thread): Likewise.
19710         (__nptl_setxid): Likewise.
19711         (__wait_lookup_done): Likewise.
19712         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19713         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19714         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19715         * nptl/pthread_once.c (clear_once_control): Likewise.
19716         (__pthread_once_slow): Likewise.
19717         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19718         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19719         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19720         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19721         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19722         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19723         Likewise.
19724         (__pthread_rwlock_rdlock): Likewise.
19725         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19726         Likewise.
19727         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19728         Likewise.
19729         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19730         Likewise.
19731         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19732         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19733         Likewise.
19734         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19735         __ASSUME_PRIVATE_FUTEX check.
19736         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19737         Check that shared futexes are supported.
19738         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19739         wrappers with error checking.
19740         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19741         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19742         * nptl/pthread_barrierattr_setpshared.c
19743         (pthread_barrierattr_setpshared): Check that shared futexes are
19744         supported.
19745         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19746         Likewise.
19747         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19748         Likewise.
19749         * nptl/sem_init.c (futex_private_if_supported): Remove.
19750         (__new_sem_init): Adapt and check that shared futexes are supported.
19751         * nptl/sem_open.c (sem_open): Likewise.
19752         * nptl/sem_post.c (futex_wake): Remove.
19753         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19754         (do_futex_wait): Use futex wrappers with error checking.
19755         * nptl/sem_wait.c: Include lowlevellock.h.
19756         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19757         Use futex_supports_pshared.
19758         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19759         Use futex wrappers with error checking.
19760         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19761         Likewise.
19762         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19763         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19764         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19765         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19766         (futex_wake): Likewise.
19767         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19768         (do_futex_wait): Use futex wrappers with error checking.
19769         (__new_sem_wait_slow): Update EINTR handling.
19770         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19772 2015-07-09  Martin Sebor  <msebor@redhat.com>
19774         [BZ #18435]
19775         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19776         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19777         * nptl/Makefile (test-xfail-tst-once5): Define.
19779 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19781         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19782         * elf/dl-minimal.c: For readability, reorder some definitions and
19783         introduce more page breaks.  Include <stdio.h>.
19784         (__libc_fatal): New function.
19786         * include/unistd.h: Add rtld_hidden_proto for _exit.
19787         * posix/_exit.c: Add rtld_hidden_def.
19788         * sysdeps/mach/hurd/_exit.c: Likewise.
19789         * sysdeps/nacl/_exit.c: Likewise.
19790         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19791         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19793 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19796         bndmov encoding with zero displacement.
19798 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19799             H.J. Lu  <hongjiu.lu@intel.com>
19801         [BZ #18134]
19802         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19803         * sysdeps/i386/configure: Regenerated.
19804         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19805         (_dl_runtime_profile): Save and restore Intel MPX return bound
19806         registers when calling _dl_call_pltexit.  Add
19807         PRESERVE_BND_REGS_PREFIX before return.
19808         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19809         (LRV_BND1_OFFSET): Likewise.
19810         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19811         lrv_bnd1.
19812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19813         typo in bndmov encoding.
19814         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19815         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19816         branch instructions to preserve bounds.
19818 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19821         [GLIBC_2.22]: Add fmemopen.
19823 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19825         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19826         returns an error, also try to use host port from __mach_host_self for
19827         the __vm_wire call.
19828         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19830 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19832         [BZ #18400]
19833         [BZ #18648]
19834         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19835         Fix pr_uid and pr_gid members.
19836         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19837         definition to elf_greg_t.
19839 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19841         [BZ #18383]
19842         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19843         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19844         * sysdeps/arm/configure: Regenerated.
19845         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19846         (test-xfail-tst-tlsalign-static): Variable removed.
19848         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19849         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19850         rather than explicit 'ln -s'.
19852         * resolv/rpc/netdb.h: New file.
19853         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19855 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19857         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19858         length buffers.
19859         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19860         test-skeleton.c.
19862         [BZ #6544]
19863         [BZ #11216]
19864         [BZ #12836]
19865         [BZ #13151]
19866         [BZ #13152]
19867         [BZ #14292]
19868         * include/stdio.h (fmemopen): Remove hidden prototype.
19869         (__fmemopen): Add new hidden prototype.
19870         * libio/Makefile: Add oldfmemopen object.
19871         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19872         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19873         compliance.
19874         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19875         symbol compatibility.
19876         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19877         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19878         fmemopen.
19879         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19880         on append and read mode.
19881         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19882         fmemopen.
19883         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19884         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19885         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19886         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19887         Likewise.
19888         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19889         [GLIBC_2.22]: Likewise.
19890         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19891         Likewise.
19892         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19893         Likewise.
19894         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19895         [GLIBC_2.22]: Likewise.
19896         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19897         [GLIBC_2.22]: Likewise.
19898         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19899         [GLIBC_2.22]: Likewise.
19900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19901         [GLIBC_2.22]: Likewise.
19902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19903         [GLIBC_2.22]: Likewise.
19904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19905         [GLIBC_2.22]: Likewise.
19906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19907         [GLIBC_2.22]: Likewise.
19908         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19909         Likewise.
19910         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19911         Likewise.
19912         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19913         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19914         [GLIBC_2.22]: Likewise.
19915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19916         [GLIBC_2.22]: Likewise.
19917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19918         [GLIBC_2.22]: Likewise.
19919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19920         [GLIBC_2.22]: Likewise.
19921         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19922         Likewise.
19923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19924         Likewise.
19925         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19926         Likewise.
19927         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19928         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19930 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19932         [BZ #18643]
19933         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19934         IPV6_PATHMTU, and IPV6_DONTFRAG.
19936 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19938         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19939         and _IO_UNBUFFERED.
19940         * libio/oldfileops.c: Likewise.
19941         * libio/wfileops.c: Likewise.
19943 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19945         * nscd/selinux.c: Delete selinux/flask.h include.
19947 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19949         [BZ #18641]
19950         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19951         (putpwent): Likewise.
19952         (getpwnam): Likewise.
19953         (getpwent_r): Likewise.
19954         (getpwuid_r): Likewise.
19955         (getpwnam_r): Likewise.
19956         (fgetpwent_r): Likewise.
19958 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19960         [BZ #18557]
19961         * inet/rcmd.c (__validuser2_sa): Check user first to
19962         short-circuit host check.
19964 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19965             Mikhail Ilin  <m.ilin@samsung.com>
19967         [BZ #17833]
19968         * elf/Makefile (tests): Add tst-nodelete.
19969         (modules-names): Add tst-nodelete-uniquemod.
19970         (tst-nodelete-uniquemod.so-no-z-defs): New.
19971         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19972         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19973         ($(objpfx)tst-nodelete): Likewise.
19974         ($(objpfx)tst-nodelete.out): Likewise.
19975         (LDFLAGS-tst-nodelete): Likewise.
19976         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19977         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19978         implement forced object deletion.
19979         (_dl_close): Pass false to _dl_close_worker.
19980         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19981         * elf/tst-nodelete.cc: New file.
19982         * elf/tst-nodeletelib.cc: Likewise.
19983         * elf/tst-znodeletelib.cc: Likewise.
19984         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19986 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19988         [BZ #18508]
19989         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19990         Depend on $(libdl).
19991         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19992         is not called infinitely times.
19993         (backtrace_helper): New function.
19994         (trace_arg): New struct.
19995         (st1): Enlarge stack size.
19996         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19997         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19998         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19999         Likewise.
20001 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20003         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20005 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20007         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20008         Include sys/types.h instead of bits/types.h.
20009         Remove inclusion of bits/wordsize.h.
20011 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20013         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20014         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20015         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20016         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20017         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20018         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20020 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20022         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20023         link-defines.sym.
20024         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20025         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20026         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20027         and LR_SIZE.
20028         * sysdeps/i386/link-defines.sym: New file.
20030 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20032         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20033         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20034         ($(objpfx)tst-audit3): New rule.
20035         ($(objpfx)tst-audit3.out): Likewise.
20036         * sysdeps/i386/tst-audit3.c: New file.
20037         * sysdeps/i386/tst-audit3.h: Likewise.
20038         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20039         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20041 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20043         [BZ #18633]
20044         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20045         pointer in C code.
20046         (__strcat_c): Likewise.
20047         (__strcat_g): Likewise.
20049 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20051         [BZ #18592]
20052         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20054 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20056         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20057         New function.  (__ieee754_sqrtf): New function.
20058         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20059         New function.
20060         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20061         New function.
20063 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20065         * sysdeps/ieee754/support.c: Remove unused file.
20067 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20069         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20070         registers instead of d ones so the layout is kernel abi compatible.
20071         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20072         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20073         Likewise.
20075 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20077         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20079 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20081         [BZ #18619]
20082         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20083         and return argument in case of subnormal argument.
20085 2015-07-01  Martin Sebor  <msebor@redhat.com>
20087         [BZ #18435]
20088         * nptl/Makefile: Add tst-once5.cc.
20089         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20090         Remove macro redefinitions.
20091         * nptl/tst-once5.cc: New test.
20093 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20095         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20097         * sysdeps/arm/libm-test-ulps: Regenerated.
20099         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20102 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20104         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20105         lll_lock_wait_private and lll_futex_wake probes.
20107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20108         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20109         Likewise.
20110         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20111         atomic_spin_nop.
20112         * sysdeps/x86_64/bits/atomic.h: Likewise.
20113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20114         to atomic_spin_nop and move ...
20115         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20116         ... here and ...
20117         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20118         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20119         atomic_spin_nop instead of BUSY_WAIT_NOP.
20120         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20121         Likewise.
20122         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20123         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20124         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20125         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20126         instead of atomic_delay.
20128 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #18613]
20131         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20132         X_ADJ not X when adjusting exponent.
20133         (__ieee754_gamma_r): Do intermediate computations in
20134         round-to-nearest then adjust overflowing and underflowing results
20135         as needed.
20136         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20137         of X_ADJ not X when adjusting exponent.
20138         (__ieee754_gammaf_r): Do intermediate computations in
20139         round-to-nearest then adjust overflowing and underflowing results
20140         as needed.
20141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20142         log of X_ADJ not X when adjusting exponent.
20143         (__ieee754_gammal_r): Do intermediate computations in
20144         round-to-nearest then adjust overflowing and underflowing results
20145         as needed.  Use 1.0L not 1.0f as numerator of division.
20146         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20147         log of X_ADJ not X when adjusting exponent.
20148         (__ieee754_gammal_r): Do intermediate computations in
20149         round-to-nearest then adjust overflowing and underflowing results
20150         as needed.  Use 1.0L not 1.0f as numerator of division.
20151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20152         of X_ADJ not X when adjusting exponent.
20153         (__ieee754_gammal_r): Do intermediate computations in
20154         round-to-nearest then adjust overflowing and underflowing results
20155         as needed.  Use 1.0L not 1.0f as numerator of division.
20156         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20157         to auto-libm-test-in.
20158         (tgamma_test): Use ALL_RM_TEST.
20159         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20160         tests of tgamma with spurious-overflow.
20161         * math/auto-libm-test-out: Regenerated.
20162         * math/gen-libm-have-vector-test.sh: Do not check for START.
20163         * sysdeps/i386/fpu/libm-test-ulps: Update.
20164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166         [BZ #18612]
20167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20168         arguments, just return 0.5 times the argument, with underflow
20169         forced as needed.
20170         * math/auto-libm-test-in: Add more tests of j1.
20171         * math/auto-libm-test-out: Regenerated.
20173         [BZ #16559]
20174         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20175         (__ieee754_j1): Force underflow exception for small results.
20176         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20177         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20178         (__ieee754_j1f): Force underflow exception for small results.
20179         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20180         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20182         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20183         (__ieee754_j1l): Force underflow exception for small results.
20184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20185         * math/auto-libm-test-in: Add more tests of j1 and jn.
20186         * math/auto-libm-test-out: Regenerated.
20188         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20189         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20190         (PF_MPLS): Likewise.
20191         (AF_IB): Likewise.
20192         (AF_MPLS): Likewise.
20193         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20194         value and macro.
20195         (MS_RMT_MASK): Include MS_LAZYTIME.
20197 2015-06-26  Mel Gorman  <mgorman@suse.de>
20199         [BZ #18502]
20200         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20201         already minimal.
20203 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20205         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20206         (DT_MIPS_NUM): Update.
20207         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20208         DT_MIPS_RLD_MAP_REL.
20210 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20212         [BZ #16559]
20213         [BZ #18602]
20214         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20215         round-to-nearest internally then recompute results that
20216         underflowed to zero in the original rounding mode.
20217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20220         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20221         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20222         * sysdeps/i386/fpu/libm-test-ulps: Update.
20223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20225 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20227         * NEWS: Fixed description of link with vector math library.
20229 2015-06-25  Andreas Schwab  <schwab@suse.de>
20231         [BZ #18549]
20232         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20233         * libio/test-fmemopen.c (do_test): Add test for it.
20235 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20237         [BZ #17841]
20238         * Makeconfig (no-pie-ldflag): New.
20239         (+link): Set to $(+link-pie) if default to PIE.
20240         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20241         * config.make.in (build-pie-default): New.
20242         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20243         is default.  AC_SUBST.
20244         * configure: Regenerated.
20245         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20247 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20249         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20250         to 'unsigned int'.
20252         * resolv/gai_misc.h (struct waitlist): Change type of field
20253         counterp to 'volatile unsigned int *'.
20254         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20255         FUTEXADDR and OLDVAL.
20256         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20257         Give local variable TOTAL type 'volatile unsigned int'.
20258         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20259         * resolv/gai_suspend.c (gai_suspend):
20260         Give local variable CNTR type 'unsigned int'.
20262         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20263         counterp to 'volatile unsigned int *'.
20264         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20265         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20266         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20267         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20268         Give local variable TOTAL type 'volatile unsigned int'.
20269         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20271 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20273         [BZ #18383]
20274         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20275         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20276         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20277         comment for i386/x86-64.
20278         (test-xfail-tst-tlsalign-extern-static): Removed.
20280 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20282         * math/test-double.h: New file.
20283         * math/test-float.h: Likewise.
20284         * math/test-ldouble.h: Likewise.
20285         * math/test-math-inline.h: Likewise.
20286         * math/test-math-no-inline.h: Likewise.
20287         * math/test-math-scalar.h: Likewise.
20288         * math/test-math-vector.h: Likewise.
20289         * math/test-vec-loop.h: Remove file.  Contents moved into
20290         test-math-vector.h.
20291         * math/libm-test.inc (MATHCONST): Do not document macro.
20292         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20293         and test-math-scalar.h.
20294         (FUNC): Remove macro.
20295         (FUNC_TEST): Likewise.
20296         (FLOAT): Likewise.
20297         (MATHCONST): Likewise.
20298         (PRINTF_EXPR): Likewise.
20299         (PRINTF_XEXPR): Likewise.
20300         (PRINTF_NEXPR): Likewise.
20301         (TEST_DOUBLE): Likewise.
20302         (TEST_MATHVEC): Likewise.
20303         (__NO_MATH_INLINES): Likewise.
20304         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20305         and test-math-scalar.h.
20306         (FUNC): Remove macro.
20307         (FUNC_TEST): Likewise.
20308         (FLOAT): Likewise.
20309         (MATHCONST): Likewise.
20310         (PRINTF_EXPR): Likewise.
20311         (PRINTF_XEXPR): Likewise.
20312         (PRINTF_NEXPR): Likewise.
20313         (TEST_FLOAT): Likewise.
20314         (TEST_MATHVEC): Likewise.
20315         (__NO_MATH_INLINES): Likewise.
20316         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20317         and test-math-scalar.h.
20318         (FUNC): Remove macro.
20319         (FUNC_TEST): Likewise.
20320         (FLOAT): Likewise.
20321         (MATHCONST): Likewise.
20322         (PRINTF_EXPR): Likewise.
20323         (PRINTF_XEXPR): Likewise.
20324         (PRINTF_NEXPR): Likewise.
20325         (TEST_DOUBLE): Likewise.
20326         (TEST_MATHVEC): Likewise.
20327         (TEST_INLINE): Likewise.
20328         (__NO_MATH_INLINES): Likewise.
20329         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20330         test-math-scalar.h.
20331         (FUNC): Remove macro.
20332         (FUNC_TEST): Likewise.
20333         (FLOAT): Likewise.
20334         (MATHCONST): Likewise.
20335         (PRINTF_EXPR): Likewise.
20336         (PRINTF_XEXPR): Likewise.
20337         (PRINTF_NEXPR): Likewise.
20338         (TEST_FLOAT): Likewise.
20339         (TEST_MATHVEC): Likewise.
20340         (TEST_INLINE): Likewise.
20341         (__NO_MATH_INLINES): Likewise.
20342         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20343         and test-math-scalar.h.
20344         (FUNC): Remove macro.
20345         (FUNC_TEST): Likewise.
20346         (FLOAT): Likewise.
20347         (MATHCONST): Likewise.
20348         (PRINTF_EXPR): Likewise.
20349         (PRINTF_XEXPR): Likewise.
20350         (PRINTF_NEXPR): Likewise.
20351         (TEST_LDOUBLE): Likewise.
20352         (TEST_MATHVEC): Likewise.
20353         (TEST_INLINE): Likewise.
20354         (__NO_MATH_INLINES): Likewise.
20355         * math/test-ldouble.c: Include test-ldouble.h,
20356         test-math-no-inline.h and test-math-scalar.h.
20357         (FUNC): Remove macro.
20358         (FUNC_TEST): Likewise.
20359         (FLOAT): Likewise.
20360         (MATHCONST): Likewise.
20361         (PRINTF_EXPR): Likewise.
20362         (PRINTF_XEXPR): Likewise.
20363         (PRINTF_NEXPR): Likewise.
20364         (TEST_LDOUBLE): Likewise.
20365         (TEST_MATHVEC): Likewise.
20366         (__NO_MATH_INLINES): Likewise.
20367         * math/test-double-vlen2.h: Include test-double.h,
20368         test-math-no-inline.h and test-math-vector.h.
20369         (FLOAT): Remove macro.
20370         (FUNC): Likewise.
20371         (MATHCONST): Likewise.
20372         (PRINTF_EXPR): Likewise.
20373         (PRINTF_XEXPR): Likewise.
20374         (PRINTF_NEXPR): Likewise.
20375         (TEST_DOUBLE): Likewise.
20376         (TEST_MATHVEC): Likewise.
20377         (__NO_MATH_INLINES): Likewise.
20378         (CNCT): Likewise.
20379         (CONCAT): Likewise.
20380         (WRAPPER_NAME): Likewise.
20381         (WRAPPER_DECL): Likewise.
20382         (WRAPPER_DECL_ff): Likewise.
20383         (WRAPPER_DECL_fFF): Likewise.
20384         (VECTOR_WRAPPER): Likewise.
20385         (VECTOR_WRAPPER_ff): Likewise.
20386         (VECTOR_WRAPPER_fFF): Likewise.
20387         (VEC_LEN): New macro.
20388         * math/test-double-vlen4.h: Include test-double.h,
20389         test-math-no-inline.h and test-math-vector.h.
20390         (FLOAT): Remove macro.
20391         (FUNC): Likewise.
20392         (MATHCONST): Likewise.
20393         (PRINTF_EXPR): Likewise.
20394         (PRINTF_XEXPR): Likewise.
20395         (PRINTF_NEXPR): Likewise.
20396         (TEST_DOUBLE): Likewise.
20397         (TEST_MATHVEC): Likewise.
20398         (__NO_MATH_INLINES): Likewise.
20399         (CNCT): Likewise.
20400         (CONCAT): Likewise.
20401         (WRAPPER_NAME): Likewise.
20402         (WRAPPER_DECL): Likewise.
20403         (WRAPPER_DECL_ff): Likewise.
20404         (WRAPPER_DECL_fFF): Likewise.
20405         (VECTOR_WRAPPER): Likewise.
20406         (VECTOR_WRAPPER_ff): Likewise.
20407         (VECTOR_WRAPPER_fFF): Likewise.
20408         (VEC_LEN): New macro.
20409         * math/test-double-vlen8.h: Include test-double.h,
20410         test-math-no-inline.h and test-math-vector.h.
20411         (FLOAT): Remove macro.
20412         (FUNC): Likewise.
20413         (MATHCONST): Likewise.
20414         (PRINTF_EXPR): Likewise.
20415         (PRINTF_XEXPR): Likewise.
20416         (PRINTF_NEXPR): Likewise.
20417         (TEST_DOUBLE): Likewise.
20418         (TEST_MATHVEC): Likewise.
20419         (__NO_MATH_INLINES): Likewise.
20420         (CNCT): Likewise.
20421         (CONCAT): Likewise.
20422         (WRAPPER_NAME): Likewise.
20423         (WRAPPER_DECL): Likewise.
20424         (WRAPPER_DECL_ff): Likewise.
20425         (WRAPPER_DECL_fFF): Likewise.
20426         (VECTOR_WRAPPER): Likewise.
20427         (VECTOR_WRAPPER_ff): Likewise.
20428         (VECTOR_WRAPPER_fFF): Likewise.
20429         (VEC_LEN): New macro.
20430         * math/test-float-vlen4.h: Include test-float.h,
20431         test-math-no-inline.h and test-math-vector.h.
20432         (FLOAT): Remove macro.
20433         (FUNC): Likewise.
20434         (MATHCONST): Likewise.
20435         (PRINTF_EXPR): Likewise.
20436         (PRINTF_XEXPR): Likewise.
20437         (PRINTF_NEXPR): Likewise.
20438         (TEST_FLOAT): Likewise.
20439         (TEST_MATHVEC): Likewise.
20440         (__NO_MATH_INLINES): Likewise.
20441         (CNCT): Likewise.
20442         (CONCAT): Likewise.
20443         (WRAPPER_NAME): Likewise.
20444         (WRAPPER_DECL): Likewise.
20445         (WRAPPER_DECL_ff): Likewise.
20446         (WRAPPER_DECL_fFF): Likewise.
20447         (VECTOR_WRAPPER): Likewise.
20448         (VECTOR_WRAPPER_ff): Likewise.
20449         (VECTOR_WRAPPER_fFF): Likewise.
20450         (VEC_LEN): New macro.
20451         * math/test-float-vlen8.h: Include test-float.h,
20452         test-math-no-inline.h and test-math-vector.h.
20453         (FLOAT): Remove macro.
20454         (FUNC): Likewise.
20455         (MATHCONST): Likewise.
20456         (PRINTF_EXPR): Likewise.
20457         (PRINTF_XEXPR): Likewise.
20458         (PRINTF_NEXPR): Likewise.
20459         (TEST_FLOAT): Likewise.
20460         (TEST_MATHVEC): Likewise.
20461         (__NO_MATH_INLINES): Likewise.
20462         (CNCT): Likewise.
20463         (CONCAT): Likewise.
20464         (WRAPPER_NAME): Likewise.
20465         (WRAPPER_DECL): Likewise.
20466         (WRAPPER_DECL_ff): Likewise.
20467         (WRAPPER_DECL_fFF): Likewise.
20468         (VECTOR_WRAPPER): Likewise.
20469         (VECTOR_WRAPPER_ff): Likewise.
20470         (VECTOR_WRAPPER_fFF): Likewise.
20471         (VEC_LEN): New macro.
20472         * math/test-float-vlen16.h: Include test-float.h,
20473         test-math-no-inline.h and test-math-vector.h.
20474         (FLOAT): Remove macro.
20475         (FUNC): Likewise.
20476         (MATHCONST): Likewise.
20477         (PRINTF_EXPR): Likewise.
20478         (PRINTF_XEXPR): Likewise.
20479         (PRINTF_NEXPR): Likewise.
20480         (TEST_FLOAT): Likewise.
20481         (TEST_MATHVEC): Likewise.
20482         (__NO_MATH_INLINES): Likewise.
20483         (CNCT): Likewise.
20484         (CONCAT): Likewise.
20485         (WRAPPER_NAME): Likewise.
20486         (WRAPPER_DECL): Likewise.
20487         (WRAPPER_DECL_ff): Likewise.
20488         (WRAPPER_DECL_fFF): Likewise.
20489         (VECTOR_WRAPPER): Likewise.
20490         (VECTOR_WRAPPER_ff): Likewise.
20491         (VECTOR_WRAPPER_fFF): Likewise.
20492         (VEC_LEN): New macro.
20493         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20494         test-vec-loop.h.
20495         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20496         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20497         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20498         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20499         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20500         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20501         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20503 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20505         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20506         (__getlogin_r): ... this.
20508 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20510         [BZ #18594]
20511         * math/s_ccosh.c (__ccosh): Compare with least normal value
20512         instead of comparing class with FP_SUBNORMAL.
20513         * math/s_ccoshf.c (__ccoshf): Likewise.
20514         * math/s_ccoshl.c (__ccoshl): Likewise.
20515         * math/s_cexp.c (__cexp): Likewise.
20516         * math/s_cexpf.c (__cexpf): Likewise.
20517         * math/s_cexpl.c (__cexpl): Likewise.
20518         * math/s_csin.c (__csin): Likewise.
20519         * math/s_csinf.c (__csinf): Likewise.
20520         * math/s_csinh.c (__csinh): Likewise.
20521         * math/s_csinhf.c (__csinhf): Likewise.
20522         * math/s_csinhl.c (__csinhl): Likewise.
20523         * math/s_csinl.c (__csinl): Likewise.
20524         * math/s_ctan.c (__ctan): Likewise.
20525         * math/s_ctanf.c (__ctanf): Likewise.
20526         * math/s_ctanh.c (__ctanh): Likewise.
20527         * math/s_ctanhf.c (__ctanhf): Likewise.
20528         * math/s_ctanhl.c (__ctanhl): Likewise.
20529         * math/s_ctanl.c (__ctanl): Likewise.
20530         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20531         csin, csinh, ctan and ctanh.
20532         * math/auto-libm-test-out: Regenerated.
20533         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20534         * sysdeps/i386/fpu/libm-test-ulps: Update.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20539         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20540         return value is wrong, print the expected value too.
20542 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20544         [BZ #18585]
20545         * elf/readlib.c (is_gdb_python_file): New.
20546         (process_file): Don't issue errors on filenames with -gdb.py
20547         suffix.
20549 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20551         * math/auto-libm-test-in: Add more tests of csin and csinh.
20552         * math/auto-libm-test-out: Regenerated.
20553         * math/libm-test.inc (csin_test_data): Remove tests moved to
20554         auto-libm-test-in.
20555         (csinh_test_data): Likewise.
20557         [BZ #18593]
20558         * math/s_csin.c (__csin): Negate before rather than after possibly
20559         overflowing multiplication.
20560         * math/s_csinf.c (__csinf): Likewise.
20561         * math/s_csinh.c (__csinh): Likewise.
20562         * math/s_csinhf.c (__csinhf): Likewise.
20563         * math/s_csinhl.c (__csinhl): Likewise.
20564         * math/s_csinl.c (__csinl): Likewise.
20565         * math/auto-libm-test-in: Add some tests of csin and csinh.
20566         * math/auto-libm-test-out: Regenerated.
20567         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20568         (csinh_test_data): Likewise.
20569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20571         [BZ #18586]
20572         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20573         underflow exception for small results.
20575 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20579         variable and included header.
20580         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20582         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20588         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20589         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20590         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20591         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20592         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20593         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20594         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20595         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20597 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20599         [BZ #16526]
20600         [BZ #16538]
20601         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20602         (__sin): Force underflow exception for arguments with small
20603         absolute value.
20604         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20605         (__kernel_sinf): Force underflow exception for arguments with
20606         small absolute value.
20607         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20608         (__kernel_sincosl): Force underflow exception for arguments with
20609         small absolute value.
20610         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20611         (__kernel_sinl): Force underflow exception for arguments with
20612         small absolute value.
20613         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20614         (__kernel_sincosl): Force underflow exception for arguments with
20615         small absolute value.
20616         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20617         (__kernel_sinl): Force underflow exception for arguments with
20618         small absolute value.
20619         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20620         (__kernel_sinl): Force underflow exception for arguments with
20621         small absolute value.
20622         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20623         (__kernel_sinf): Force underflow exception for arguments with
20624         small absolute value.
20625         * math/auto-libm-test-in: Add more tests of sin and sincos.
20626         * math/auto-libm-test-out: Regenerated.
20628         [BZ #18245]
20629         [BZ #18583]
20630         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20631         (__kernel_standard_l): Use feholdexcept and fesetenv around
20632         conversion to double instead of special-casing overflow and
20633         underflow.
20634         * math/libm-test.inc (fmod_test_data): Add more tests.
20635         (remainder_test_data): Likewise.
20636         (sqrt_test_data): Likewise.
20638 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20640         [BZ #17403]
20641         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20642         atomic_read_barrier, atomic_write_barrier): Define.
20643         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20644         atomic_read_barrier, atomic_write_barrier): Define.
20646 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20648         * math/Makefile [$(PERL) != no]
20649         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20650         dependency on libm-test.stmp below the inclusion of Rules.
20652 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20656         and included header.
20657         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20665         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20666         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20667         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20668         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20669         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20670         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20671         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20672         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20673         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20674         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20675         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20677 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20679         [BZ #18371]
20680         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20681         intermediate but not final result might underflow.
20682         * math/s_csqrtf.c (__csqrtf): Likewise.
20683         * math/s_csqrtl.c (__csqrtl): Likewise.
20684         * math/auto-libm-test-in: Add more tests of csqrt.
20685         * math/auto-libm-test-out: Regenerated.
20686         * sysdeps/i386/fpu/libm-test-ulps: Update.
20688         [BZ #18219]
20689         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20690         threshold on absolute value of exponent for which scaling is used.
20691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20692         * math/auto-libm-test-in: Add more tests of exp2.
20693         * math/auto-libm-test-out: Regenerated.
20695 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20697         [BZ #17977]
20698         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20699         when initializing interface list, based on the bug analysis
20700         and the patch proposed by Eric Newton.
20701         * resolv/tst-res_hconf_reorder.c: New test.
20702         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20703         tst-res_hconf_reorder.
20704         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20705         and $(shared-thread-library).
20706         (tst-res_hconf_reorder-ENV): New variable.
20708         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20709         in comment.
20711 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20713         [BZ #16353]
20714         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20715         (__expm1): Force underflow exception for arguments with small
20716         absolute value.
20717         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20718         (__expm1f): Force underflow exception for arguments with small
20719         absolute value.
20720         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20721         (__expm1): Force underflow exception for arguments with small
20722         absolute value.
20723         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20724         (__expm1f): Force underflow exception for arguments with small
20725         absolute value.
20726         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20727         Check for small arguments before calling __expm1.
20728         * math/auto-libm-test-in: Do not mark underflow exceptions as
20729         possibly missing for bug 16353.
20730         * math/auto-libm-test-out: Regenerated.
20732 2015-06-22  Andreas Schwab  <schwab@suse.de>
20734         [BZ #18513]
20735         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20736         PTR queries.
20738 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20740         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20742         * string/strcoll_l.c: Remove unused struct element idxnow.
20744 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20746         [BZ #18569]
20747         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20748         underflow and return argument in case of subnormal argument.
20749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20750         Likewise.
20751         * math/auto-libm-test-in: Add more tests of expm1.
20752         * math/auto-libm-test-out: Regenerated.
20754         [BZ #16361]
20755         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20756         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20757         tiny results.
20758         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20759         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20760         tiny results.
20761         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20762         mark underflow exceptions as possibly missing for bug 16361.
20763         * math/auto-libm-test-out: Regenerated.
20765 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20767         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20768         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20769         Remove variable.
20770         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20771         (test-xfail-XOPEN2K8/utmpx.h/conform).
20773         * conform/conformtest.pl ($xerrors): New variable.
20774         (note_error): New function.
20775         (compiletest): New argument $xfail.  Use not_error.
20776         (runtest): Likewise.
20777         (top level): Handle xfail- lines.  Update calls to compiletest and
20778         runtest.  Handle xfail- and optional- in headers listed with
20779         allow-header.
20780         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20781         (O_EXEC): Likewise.
20782         (O_SEARCH): Likewise.
20783         * conform/data/stropts.h-data (ioctl): Likewise.
20784         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20785         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20786         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20787         (msghdr.msg_controllen): Likewise.
20788         (cmsghdr.cmsg_len): Likewise.
20789         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20790         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20791         variable.
20792         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20793         (test-xfail-XPG4/stropts.h/conform): Likewise.
20794         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20795         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20796         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20797         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20798         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20799         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20800         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20801         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20802         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20803         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20804         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20805         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20806         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20807         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20808         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20809         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20810         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20811         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20812         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20814 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20816         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20817         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20818         definitions for proper unfolding of __MATHDECL_VEC.
20820 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20822         * benchtests/bench-strcoll.c:
20823         Include string.h.
20824         (main): Remove unused variable res.
20826 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20828         * timezone/Makefile (%/UTC %/Universal):
20829         Generate test-result files for UTC and Universal.
20831 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20833         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20835 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20837         [BZ #16350]
20838         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20839         for arguments with small absolute value.
20840         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20841         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20842         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20843         (__asinh): Force underflow exception for arguments with small
20844         absolute value.
20845         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20846         (__asinhf): Force underflow exception for arguments with small
20847         absolute value.
20848         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20849         (__asinhl): Force underflow exception for arguments with small
20850         absolute value.
20851         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20852         (__asinhl): Force underflow exception for arguments with small
20853         absolute value.
20854         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20855         (__asinhl): Force underflow exception for arguments with small
20856         absolute value.
20857         * math/auto-libm-test-in: Do not mark underflow exceptions as
20858         possibly missing for bug 16350.
20859         * math/auto-libm-test-out: Regenerated.
20861         * include/bits/ipc.h: Remove file.
20862         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20863         variable.
20864         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20865         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20866         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20867         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20868         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20869         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20870         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20871         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20872         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20874         * math/auto-libm-test-in: Remove spurious underflow allowance for
20875         tests of cexp.
20876         * math/auto-libm-test-out: Regenerated.
20878         [BZ #18558]
20879         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20880         unconditional definition.
20881         (MCAST_BLOCK_SOURCE): Likewise.
20882         (MCAST_UNBLOCK_SOURCE): Likewise.
20883         (MCAST_LEAVE_GROUP): Likewise.
20884         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20885         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20886         (MCAST_MSFILTER): Likewise.
20887         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20888         Remove variable.
20889         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20890         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20891         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20892         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20893         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20895 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20897         * NEWS: Mention addition of x86_64 vector sincosf.
20898         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20899         * math/test-float-vlen4.h: Likewise.
20900         * math/test-float-vlen8.h: Likewise.
20901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20902         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20904         * sysdeps/x86_64/fpu/Versions: New versions added.
20905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20907         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20914         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20915         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20916         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20917         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20918         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20919         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20921         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20923         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20924         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20925         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20927         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20928         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20930         * NEWS: Mention addition of x86_64 vector sincos.
20931         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20932         * math/math.h (__MATHDECL_VEC): New macro.
20933         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20934         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20935         declaration under condition.
20936         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20937         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20938         TEST_VEC_LOOP change.
20939         * math/test-double-vlen4.h: Likewise.
20940         * math/test-double-vlen8.h: Likewise.
20941         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20942         * math/test-float-vlen4.h: Likewise.
20943         * math/test-float-vlen8.h: Likewise.
20944         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20945         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20947         * sysdeps/x86_64/fpu/Versions: New versions added.
20948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20949         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20950         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20957         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20958         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20959         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20960         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20961         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20962         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20963         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20965         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20968         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20969         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20970         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20971         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20975         redirections for powf.
20976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20977         * sysdeps/x86_64/fpu/Versions: New versions added.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20980         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20981         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20983         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20988         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20989         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20990         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20991         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20992         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20993         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20994         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20995         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20996         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20997         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21000         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21001         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21002         * math/test-float-vlen16.h: Fixed 2 argument macro.
21003         * math/test-float-vlen4.h: Likewise.
21004         * math/test-float-vlen8.h: Likewise.
21005         * NEWS: Mention addition of x86_64 vector powf.
21007 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21009         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21010         and redefine.
21011         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21012         and redefine.
21013         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21014         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21015         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21017         [BZ #18553]
21018         * resource/getpriority.c (getpriority): Rename to __getpriority
21019         and define as weak alias of __getpriority.
21020         * resource/setpriority.c (setpriority): Rename to __setpriority
21021         and define as weak alias of __setpriority.
21022         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21023         __getpriority and define as weak alias of __getpriority.
21024         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21025         __setpriority and define as weak alias of __setpriority.
21026         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21027         strong name.
21028         (setpriority): Use __setpriority as strong name.
21029         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21030         __getpriority and define as weak alias of __getpriority.
21031         * include/sys/resource.h (__getpriority): Declare.  Use
21032         libc_hidden_proto.
21033         (__setpriority): Likewise.
21034         (getpriority): Don't use libc_hidden_proto.
21035         (setpriority): Likewise.
21036         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21037         getpriority.  Call __setpriority instead of setpriority.
21038         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21039         Remove variable.
21041         [BZ #18547]
21042         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21043         as weak alias of __getttynam.  Use prototype function definition.
21044         Call __setttyent, __getttyent and __endttyent instead of
21045         setttyent, getttyent and endttyent.
21046         (getttyent): Rename to __getttyent and define as weak alias of
21047         __getttyent.  Call __setttyent instead of setttyent.  Call
21048         __fgets_unlocked instead of fgets_unlocked.
21049         (setttyent): Rename to __setttyent and define as weak alias of
21050         __setttyent.
21051         (endttyent): Rename to __endttyent and define as weak alias of
21052         __endttyent.
21053         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21054         (__setttyent): Likewise.
21055         (__endttyent): Likewise.
21056         (getttyent): Don't use libc_hidden_proto.
21057         (setttyent): Likewise.
21058         (endttyent): Likewise.
21059         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21060         __endttyent instead of setttyent, getttyent and endttyent.
21061         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21062         Remove variable.
21064         [BZ #18546]
21065         * socket/recv.c (__recv): Use libc_hidden_def.
21066         * socket/socket.c (__socket): Likewise.
21067         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21068         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21069         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21070         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21071         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21072         libc_hidden_def.
21073         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21074         libc_hidden_weak.
21075         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21076         Use libc_hidden_proto.
21077         (__recv): Likewise.
21078         * socket/Versions (libc): Export __recv and __socket at version
21079         GLIBC_PRIVATE.
21080         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21081         instead of recv.
21082         (init_mq_netlink): Call __socket instead of socket.
21083         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21084         Remove variable.
21086         [BZ #18545]
21087         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21088         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21089         hidden_weak.
21090         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21091         define as alias of __mq_timedsend.  Use hidden_weak.
21092         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21093         __mq_timedsend as strong name.
21094         (mq_timedreceive): Use __mq_timedreceive as strong name.
21095         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21096         (__mq_timedreceive): Likewise.
21097         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21098         __mq_timedreceive instead of mq_timedreceive.
21099         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21100         instead of mq_timedsend.
21101         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21102         Remove variable.
21104         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21105         hidden_def and hidden_weak instead of libc_hidden_def and
21106         libc_hidden_weak.
21107         (top level): Refer to hidden_def in comment.
21108         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21109         macro.  Use it instead of libc_hidden_def.
21110         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21111         specify __GI_* name explicitly.
21112         (mq_timedreceive): Likewise.
21113         (mq_setattr): Likewise.
21115         [BZ #18544]
21116         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21117         __pthread_barrier_init and define as weak alias of
21118         __pthread_barrier_init.
21119         * sysdeps/sparc/nptl/pthread_barrier_init.c
21120         (pthread_barrier_init): Likewise.
21121         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21122         __pthread_barrier_wait and define as weak alias of
21123         __pthread_barrier_wait.
21124         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21125         (pthread_barrier_wait): Likewise.
21126         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21127         (pthread_barrier_wait): Likewise.
21128         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21129         (pthread_barrier_wait): Likewise.
21130         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21131         (pthread_barrier_wait): Likewise.
21132         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21133         __pthread_barrier_wait at version GLIBC_PRIVATE.
21134         * include/pthread.h (__pthread_barrier_init): Declare.
21135         (__pthread_barrier_wait): Likewise.
21136         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21137         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21138         (helper_thread): Likewise.
21139         (init_mq_netlink): Call __pthread_barrier_init instead of
21140         pthread_barrier_init.
21142         [BZ #18542]
21143         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21144         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21145         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21146         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21147         vswscanf.
21148         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21149         Remove variable.
21151         [BZ #18540]
21152         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21153         strong alias of _IO_fflush.  Use libc_hidden_def.
21154         * libio/iofflush_u.c (fflush_unlocked): Rename to
21155         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21156         Use libc_hidden_weak.
21157         * include/stdio.h (__fflush_unlocked): Declare.  Use
21158         libc_hidden_proto.
21159         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21160         fflush_unlocked.
21161         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21162         Remove variable.
21164         [BZ #18539]
21165         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21166         define as weak alias of __addseverity.
21167         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21168         Remove variable.
21169         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21170         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21171         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21173         [BZ #18536]
21174         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21175         (__tfind): Likewise.
21176         (__tdelete): Likewise.
21177         (__twalk): Likewise.
21178         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21179         __twalk to GLIBC_PRIVATE.
21180         * include/search.h (__tsearch): Use libc_hidden_proto.
21181         (__tfind): Likewise.
21182         (__tdelete): Likewise.
21183         (__twalk): Likewise.
21184         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21185         Call __tdelete instead of tdelete.
21186         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21187         tfind.  Call __tsearch instead of tsearch.
21188         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21189         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21190         Remove variable.
21191         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21193         [BZ #18534]
21194         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21195         (dprintf): Define as a weak alias of __dprintf, not a strong
21196         alias.
21197         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21198         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21199         dprintf.
21200         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21201         Remove variable.
21202         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21203         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21205         [BZ #18533]
21206         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21207         not a strong alias.
21208         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21209         Remove variable.
21211         [BZ #18532]
21212         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21213         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21214         (in6addr_loopback): Rename to __in6addr_loopback and define as
21215         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21216         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21217         libc_hidden_proto.
21218         (__in6addr_any): Likewise.
21219         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21220         in6addr_any.
21221         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21222         variable.
21223         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21225 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21227         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21228         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21229         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21230         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21231         redirections for pow.
21232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21233         * sysdeps/x86_64/fpu/Versions: New versions added.
21234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21235         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21236         build of SSE, AVX2 and AVX512 IFUNC versions.
21237         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21238         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21239         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21244         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21245         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21246         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21247         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21248         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21249         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21250         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21251         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21252         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21254         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21255         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21256         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21257         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21258         * NEWS: Mention addition of x86_64 vector pow.
21260         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21261         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21262         redirections for expf.
21263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21264         * sysdeps/x86_64/fpu/Versions: New versions added.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21267         build of SSE, AVX2 and AVX512 IFUNC versions.
21268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21273         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21274         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21275         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21276         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21277         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21278         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21279         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21280         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21281         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21282         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21283         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21284         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21286         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21287         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21288         * NEWS: Mention addition of x86_64 vector expf.
21290         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21291         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21293         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21294         redirections for exp.
21295         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21296         * sysdeps/x86_64/fpu/Versions: New versions added.
21297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21299         build of SSE, AVX2 and AVX512 IFUNC versions.
21300         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21301         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21303         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21306         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21307         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21308         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21309         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21310         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21311         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21312         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21313         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21314         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21316         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21317         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21318         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21319         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21320         * NEWS: Mention addition of x86_64 vector exp.
21322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21323         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21324         redirections for logf.
21325         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21326         * sysdeps/x86_64/fpu/Versions: New versions added.
21327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21329         build of SSE, AVX2 and AVX512 IFUNC versions.
21330         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21331         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21334         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21336         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21337         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21338         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21339         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21340         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21341         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21342         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21343         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21344         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21345         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21348         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21349         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21350         * NEWS: Mention addition of x86_64 vector logf.
21352         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21353         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21354         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21355         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21356         redirections for log.
21357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21358         * sysdeps/x86_64/fpu/Versions: New versions added.
21359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21361         build of SSE, AVX2 and AVX512 IFUNC versions.
21362         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21363         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21364         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21365         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21366         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21367         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21368         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21369         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21370         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21371         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21372         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21373         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21374         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21375         test.
21376         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21379         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21380         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21381         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21382         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21383         * NEWS: Mention addition of x86_64 vector log.
21385 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21387         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21388         cfi_adjust_cfa_offset argument.
21389         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21390         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21392         [BZ #18034]
21393         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21394         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21395         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21396         ordering using ldar.
21397         (_dl_tlsdesc_dynamic): Likewise.
21398         (_dl_tlsdesc_return_lazy): Likewise.
21399         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21400         relaxed atomics instead of volatile and synchronize with release store.
21401         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21402         volatile.
21403         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21405 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21407         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21408         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21409         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21410         * sysdeps/x86_64/fpu/Versions: New versions added.
21411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21412         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21413         build of SSE, AVX2 and AVX512 IFUNC versions.
21414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21415         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21420         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21421         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21422         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21423         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21424         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21425         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21426         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21427         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21429         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21432         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21433         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21434         * NEWS: Mention addition of x86_64 vector sinf.
21436 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21438         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21439         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21440         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21441         Remove variable.
21442         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21443         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21445 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21447         [BZ #18530]
21448         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21449         strong alias of _IO_fputs.  Use libc_hidden_def.
21450         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21451         and define as weak alias of __fputs_unlocked.  Use
21452         libc_hidden_weak.
21453         * include/stdio.h (__fputs_unlocked): Declare.  Use
21454         libc_hidden_proto.
21455         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21456         fputs_unlocked.
21458         [BZ #18529]
21459         * resolv/netdb.h [__USE_POSIX]: Change condition to
21460         [__USE_XOPEN2K].
21461         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21462         not expect.
21463         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21464         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21465         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21466         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21467         [XPG4 || UNIX98] (AI_ALL): Likewise.
21468         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21469         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21470         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21471         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21472         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21473         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21474         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21475         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21476         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21477         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21478         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21479         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21480         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21481         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21482         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21483         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21484         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21485         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21486         [XPG4 || UNIX98] (gai_strerror): Likewise.
21487         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21488         [XPG4 || UNIX98] (getnameinfo): Likewise.
21490         [BZ #18528]
21491         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21492         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21493         __USE_XOPEN2K8].
21494         (getgrent): Likewise.
21495         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21496         expect.
21497         [XPG3 || POSIX2008] (endgrent): Likewise.
21498         [XPG3] (setgrent): Likewise.
21499         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21500         variable.
21501         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21503         [BZ #18527]
21504         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21505         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21506         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21507         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21508         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21509         * include/unistd.h (__getlogin_r): Declare.  Use
21510         libc_hidden_proto.
21511         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21512         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21513         variable.
21514         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21515         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21516         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21518 2015-06-12  Martin Sebor  <msebor@redhat.com>
21520         [BZ #18512]
21521         * Makerules (check-install-supported): New target.
21522         (install): Add check-install-supported as a dependency.
21523         * manual/install.texi (Installing the C Library): Document
21524         that overriding prefix and exec_prefix is not supported.
21525         Mention DESTDIR.
21526         * INSTALL: Regenerate from the above.
21528 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21530         [BZ #18519]
21531         * posix/Versions (libc): Export __libc_pread at version
21532         GLIBC_PRIVATE.
21533         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21534         instead of pread.
21535         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21536         variable.
21538         [BZ #18522]
21539         * misc/efgcvt_r.c
21540         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21541         (cvt_symbol): Use weak_alias instead of strong_alias.
21542         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21543         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21544         Remove variable.
21545         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21546         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21548         [BZ #18520]
21549         * inet/herrno.c (h_errno): Rename to __h_errno.
21550         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21551         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21552         to __h_errno instead of h_errno.
21553         * nptl/herrno.c (h_errno): Rename to __h_errno.
21554         (__h_errno_location): Refer to __h_errno not h_errno.
21555         * resolv/Versions (h_errno): Rename to __h_errno.
21556         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21557         Remove variable.
21558         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21560 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21562         * configure.ac: More strict check for AVX512 assembler support.
21563         * configure: Regenerated.
21565         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21566         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21567         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21568         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21569         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21570         * sysdeps/x86_64/fpu/Versions: New versions added.
21571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21572         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21573         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21574         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21575         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21580         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21581         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21582         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21583         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21584         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21585         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21586         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21587         test.
21588         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21589         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21591         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21592         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21593         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21594         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21595         * NEWS: Mention addition of x86_64 vector sin.
21597 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21599         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21600         comment.
21602 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21604         [BZ #18479]
21605         * nptl/pt-interp.c: New file.
21606         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21607         Add pt-interp.
21608         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21609         $(common-objpfx)runtime-linker.h.
21611 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21613         * Makeconfig (+interp): Remove unused variable.
21614         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21615         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21616         $(elf-objpfx)runtime-linker.h.
21617         ($(elf-objpfx)runtime-linker.h): Rename to
21618         $(common-objpfx)runtime-linker.h and move ...
21619         * Makerules [$(build-shared) = yes]: ... here.
21620         * elf/interp.c: Include <runtime-linker.h> instead of
21621         <elf/runtime-linker.h>.
21623 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21625         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21626         (__gettimeofday_syscall): Remove vsyscall fallback.
21627         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21628         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21629         Add syscall fallback function.
21630         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21631         if vDSO is not present.
21632         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21633         fallback function.
21634         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21635         present.
21636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21637         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21639 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21641         [BZ #18497]
21642         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21643         of wcscmp.
21644         (wcscmp): Define as weak alias of WCSCMP.
21645         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21646         wcscoll.
21647         (USE_HIDDEN_DEF): Define.
21648         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21649         __wcscoll.  Don't use libc_hidden_weak.
21650         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21651         wcscmp.
21652         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21653         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21654         __GI_wcscmp.
21655         (weak_alias): Undefine and redefine.
21656         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21657         __wcscmp and define as weak alias of __wcscmp.
21658         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21659         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21660         (__wcscoll): Likewise.
21661         (wcscmp): Don't use libc_hidden_proto.
21662         (wcscoll): Likewise.
21663         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21664         wcscoll.
21665         * posix/regexec.c (check_node_accept_bytes): Likewise.
21666         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21667         variable.
21668         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21669         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21671         [BZ #18507]
21672         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21673         __fstatvfs and define as weak alias of __fstatvfs.  Use
21674         libc_hidden_weak.
21675         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21676         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21677         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21678         Define as alias of __fstatvfs, not fstatvfs.
21679         (fstatvfs64): Likewise.
21680         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21681         Define as alias of __statvfs, not statvfs.
21682         (statvfs64): Likewise.
21683         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21684         Remove variable.
21686 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21689         (HAVE_GETCPU_VSYSCALL): Define.
21690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21691         (HAVE_GETCPU_VSYSCALL): Likewise.
21692         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21693         * sysdeps/unix/sysv/linux/sched_getcpu.c
21694         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21695         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21696         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21697         prototype.
21698         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21699         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21700         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21702         Define.
21703         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21704         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21706         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21708 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21710         * sysdeps/x86_64/fpu/Makefile: New file.
21711         * sysdeps/x86_64/fpu/Versions: New file.
21712         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21713         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21714         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21715         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21716         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21717         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21718         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21721         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21726         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21727         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21728         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21729         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21730         * sysdeps/x86_64/configure: Regenerated.
21731         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21733         * manual/install.texi (Configuring and compiling): Document
21734         --disable-mathvec.
21735         * INSTALL: Regenerated.
21736         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21738         * math/Makefile: Added rules for vector tests.
21739         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21740         declaration under condition.
21741         * math/test-double-vlen2.h: New file.
21742         * math/test-double-vlen4.h: New file.
21743         * math/test-double-vlen8.h: New file.
21744         * math/test-vec-loop.h: Added initialization macro.
21745         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21747         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21749         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21752         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21753         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21754         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21755         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21757         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21758         * sysdeps/x86_64/fpu/Versions: New versions added.
21759         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21762         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21763         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21766         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21769         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21770         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21771         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21772         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21773         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21775         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21776         * NEWS: Mention addition of x86_64 vector cosf.
21778         * math/Makefile: Added CFLAGS for new tests.
21779         * math/test-float-vlen16.h: New file.
21780         * math/test-float-vlen4.h: New file.
21781         * math/test-float-vlen8.h: New file.
21782         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21783         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21785         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21786         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21787         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21788         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21791         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21792         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21794 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21796         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21797         * locale/programs/ld-ctype.c: Likewise.
21799 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21801         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21802         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21803         bit_ZMM16_31_state): New macro.
21804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21805         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21807 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21809         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21811 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21813         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21815 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21817         [BZ #18498]
21818         * libio/memstream.c (open_memstream): Rename to __open_memstream
21819         and define as weak alias of __open_memstream.
21820         * include/stdio.h (__open_memstream): Declare.  Use
21821         libc_hidden_proto.
21822         (open_memstream): Don't use libc_hidden_proto.
21823         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21824         open_memstream.
21825         * posix/getopt.c (_getopt_internal_r): Likewise.
21826         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21827         variable.
21828         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21829         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21830         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21832         [BZ #18496]
21833         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21834         instead of wcrtomb.
21836         [BZ #18483]
21837         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21838         [__USE_XOPEN2K8].  Remove redundant #endif.
21839         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21840         Remove redundant #if.
21841         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21842         Remove variable.
21843         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21844         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21846         [BZ #18495]
21847         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21848         (__iswlower): Likewise.
21849         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21850         (__iswlower): Likewise.
21851         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21852         instead of towlower.
21853         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21854         instead of iswlower.  Call __towupper instead of towupper.
21855         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21856         instead of iswalnum.
21858 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21860         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21861         errors to stderr.
21863 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21865         [BZ #15661]
21866         [BZ #17322]
21867         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21868         Check for overflow properly.  Check for O_APPEND.  Ignore large
21869         file system block sizes.  Add comments about problems.
21870         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21871         * manual/filesys.texi (Storage Allocation): New node.
21873 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21875         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21876         cancellable syscalls.
21877         (SYS_ify): Add guard to no redefine it.
21878         (INLINE_SYSCALL): Likewise.
21879         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21880         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21881         SYSCALL_CANCEL instead.
21882         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21883         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21884         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21885         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21886         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21887         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21888         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21889         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21890         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21891         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21892         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21893         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21894         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21895         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21896         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21898         Likewise.
21899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21900         (__libc_pread64): Likewise.
21901         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21902         (__libc_preadv): Likewise.
21903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21904         (__libc_readv64): Likewise.
21905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21906         (__libc_pwrite): Likewise.
21907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21908         (__libc_pwrite64): Likewise.
21909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21910         (__libc_pwritev): Likewise.
21911         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21912         (__libc_pwritev64): Likewise.
21913         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21914         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21915         (sync_file_range): Likewise.
21916         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21917         Likewise.
21918         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21919         Likewise.
21920         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21921         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21922         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21923         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21924         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21925         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21926         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21927         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21929         Likewise.
21930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21931         (__libc_read64): Likewise.
21932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21933         Likewise.
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21935         Likewise.
21936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21937         Likewise.
21938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21939         Likewise.
21940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21941         (__libc_pread64): Likewise.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21943         Likewise.
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21945         (__libc_pwrite64): Likewise.
21946         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21947         (sync_file_range): Likewise.
21948         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21949         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21950         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21951         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21952         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21953         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21954         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21955         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21956         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21957         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21958         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21959         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21960         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21961         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21962         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21963         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21964         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21965         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21966         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21967         Likewise.
21968         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21969         Likewise.
21970         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21971         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21972         Likewise.
21973         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21974         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21975         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21976         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21977         Likewise.
21978         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21979         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21980         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21981         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21982         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21984 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21986         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21987         Include dl-vdso.
21988         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21989         Use VDSO routines for gettimeofday, clock_gettime if
21990         available.
21991         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21992         Declare VDSO symbols.
21993         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21994         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21995         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21996         * sysdeps/unix/sysv/linux/arm/Versions: Add
21997         __vdso_clock_gettime.
21999 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22001         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22002         be an inline implementation regardless of library is built within.
22003         (open_not_cancel_2): Likewise.
22004         (__read_nocancel): Likewise.
22005         (__write_nocancel): Likewise.
22006         (openat_not_cancel): Likewise.
22007         (openat_not_cancel_3): Likewise.
22008         (openat64_not_cancel): Likewise.
22009         (openat64_not_cancel_3): Likewise.
22010         (__close_nocancel): Likewise.
22011         (pause_not_cancel): Likewise.
22012         (nanosleep_not_cancel): Likewise.
22013         (sigsuspend_not_cancel): Likewise.
22015 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22017         [BZ #14958]
22018         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22019         wake-up.
22020         (__pthread_rwlock_rdlock_slow): Likewise.
22021         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22022         Likewise.
22023         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22024         Likewise.
22025         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22026         * nptl/tst-rwlock16.c: New file.
22027         * nptl/Makefile (tests): Add new test.
22029 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22031         [BZ #18324]
22032         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22033         missing wake-up of readers.
22034         * nptl/tst-rwlock15.c: New file.
22035         * nptl/Makefile (tests): Add new test.
22037 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22039         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22040         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22041         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22042         and __nacl_supply_interface_rtld.
22043         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22044         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22045         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22046         Add __nacl_supply_interface_rtld.
22047         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22049 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22051         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22052         isfinite.
22053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22054         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22056 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22058         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22059         __signbit* with standard C99 macros.
22060         * math/e_exp10l.c: Likewise.
22061         * math/e_exp2l.c: Likewise.
22062         * math/e_scalb.c: Likewise.
22063         * math/e_scalbf.c: Likewise.
22064         * math/e_scalbl.c: Likewise.
22065         * math/s_ldexp.c: Likewise.
22066         * math/s_ldexpf.c: Likewise.
22067         * math/s_ldexpl.c: Likewise.
22068         * math/w_atan2.c: Likewise.
22069         * math/w_atan2f.c: Likewise.
22070         * math/w_atan2l.c: Likewise.
22071         * math/w_cosh.c: Likewise.
22072         * math/w_coshf.c: Likewise.
22073         * math/w_coshl.c: Likewise.
22074         * math/w_exp10.c: Likewise.
22075         * math/w_exp10f.c: Likewise.
22076         * math/w_exp10l.c: Likewise.
22077         * math/w_exp2.c: Likewise.
22078         * math/w_exp2f.c: Likewise.
22079         * math/w_exp2l.c: Likewise.
22080         * math/w_fmod.c: Likewise.
22081         * math/w_fmodf.c: Likewise.
22082         * math/w_fmodl.c: Likewise.
22083         * math/w_hypot.c: Likewise.
22084         * math/w_hypotf.c: Likewise.
22085         * math/w_hypotl.c: Likewise.
22086         * math/w_jnl.c: Likewise.
22087         * math/w_lgamma.c: Likewise.
22088         * math/w_lgamma_r.c: Likewise.
22089         * math/w_lgammaf.c: Likewise.
22090         * math/w_lgammaf_r.c: Likewise.
22091         * math/w_lgammal.c: Likewise.
22092         * math/w_lgammal_r.c: Likewise.
22093         * math/w_pow.c: Likewise.
22094         * math/w_powf.c: Likewise.
22095         * math/w_powl.c: Likewise.
22096         * math/w_remainder.c: Likewise.
22097         * math/w_remainderf.c: Likewise.
22098         * math/w_remainderl.c: Likewise.
22099         * math/w_scalb.c: Likewise.
22100         * math/w_scalbf.c: Likewise.
22101         * math/w_scalbl.c: Likewise.
22102         * math/w_scalbln.c: Likewise.
22103         * math/w_scalblnf.c: Likewise.
22104         * math/w_scalblnl.c: Likewise.
22105         * math/w_sinh.c: Likewise.
22106         * math/w_sinhf.c: Likewise.
22107         * math/w_sinhl.c: Likewise.
22108         * math/w_tgamma.c: Likewise.
22109         * math/w_tgammaf.c: Likewise.
22110         * math/w_tgammal.c: Likewise.
22111         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22112         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22113         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22114         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22115         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22117         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22118         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22119         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22120         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22121         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22122         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22123         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22124         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22125         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22126         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22127         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22128         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22129         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22130         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22132         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22134         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22135         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22136         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22137         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22138         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22139         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22140         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22141         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22142         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22143         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22144         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22145         * stdio-common/printf_fp.c: Likewise.
22146         * stdio-common/printf_fphex.c: Likewise.
22147         * stdio-common/printf_size.c: Likewise.
22149 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22151         [BZ #18470]
22152         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22153         strnlen.
22154         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22155         Remove variable.
22156         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22157         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22158         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22159         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22160         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22161         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22162         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22163         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22164         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22165         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22167         [BZ #18468]
22168         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22169         weak alias of __wmemchr.  Use libc_hidden_weak.
22170         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22171         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22172         instead of wmemchr.
22174 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22176         [BZ #18383]
22177         * elf/tst-tlsalign-extern.c: New file.
22178         * elf/tst-tlsalign-extern-static.c: New file.
22179         * elf/tst-tlsalign-vars.c: New file.
22180         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22181         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22182         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22183         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22184         (test-xfail-tst-tlsalign-extern-static): New variable.
22186 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22188         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22189         Use variable name _sc_err instead of err.
22190         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22191         instead of ret.
22192         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22193         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22194         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22195         (INLINE_SYSCALL): Likewise.
22197         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22198         * include/string.h (__strnlen): Use libc_hidden_proto.
22199         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22200         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22201         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22202         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22203         (libc_hidden_def): Undefine and redefine.
22204         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22205         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22206         __GI_strnlen.
22207         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22208         libc_hidden_def.
22209         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22211         [BZ #18469]
22212         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22213         weak alias of __towlower.  Use libc_hidden_weak.
22214         (towupper): Rename to __towupper and define as weak alias of
22215         __towupper.  Use libc_hidden_weak.
22216         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22217         (__towupper): Likewise.
22218         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22219         __towlower instead of towlower.
22221 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22223         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22224         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22226 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22228         * sysdeps/aarch64/libm-test-ulps: Update.
22230 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22232         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22233         Define.
22234         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22236         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22237         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22238         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22239         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22240         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22242 2015-06-01  Martin Sebor  <msebor@redhat.com>
22244         [BZ #18116]
22245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22246         (__setcontext): Use extended four-operand version of mtsf whenever
22247         possible.
22248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22249         (__novec_swapcontext): Likewise.
22251 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253         * benchtests/scripts/compare_bench.py: New file.
22254         * benchtests/scripts/import_bench.py (mean): New function.
22255         (split_list): Likewise.
22256         (do_for_all_timings): Likewise.
22257         (compress_timings): Likewise.
22259         * benchtests/scripts/import_bench.py: New file.
22260         * benchtests/scripts/validate_benchout.py: Import import_bench
22261         instead of jsonschema.
22262         (validate_bench): Remove function.
22263         (main): Use import_bench.
22265 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22267         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22268         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22270 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22274 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22276         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22277         set THREAD_SELF->tid to a magic value and futex-wake it.
22278         Pass its address to the thread_exit system call.
22279         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22280         bit is clear.
22281         * sysdeps/nacl/lowlevellock.h: New file.
22282         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22284         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22285         Add TIMEOUT to current time, don't subtract it.
22287 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22289         [BZ #2981]
22290         [BZ #18422]
22291         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22292         ($(objpfx)tst-audit2.out): Also depend on
22293         $(objpfx)tst-auditmod9b.so.
22294         * elf/tst-audit2.c: Include <dlfcn.h>.
22295         (calloc_called): New.
22296         (calloc): Allow to be called more than once.
22297         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22299 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22301         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22302         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22304 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22306         * stdlib/monetary.h: Fix comment.
22308 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22310         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22311         Avoid using variables in #defines that might cause shadowing.
22312         (INTERNAL_VSYSCALL_CALL): Likewise.
22314 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22316         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22318         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22319         * nptl/lll_timedlock_wait.c: ... to this new file.
22320         * nptl/Makefile (libpthread-routines): Add it.
22321         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22322         * nptl/lll_timedwait_tid.c: ... to this new file.
22323         * nptl/Makefile (libpthread-routines): Add it.
22324         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22325         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22326         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22327         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22328         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22329         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22330         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22331         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22332         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22333         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22335 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22337         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22338         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22339         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22341         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22343         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22345         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22346         * sysdeps/unix/sysv/linux/tile/sysdep.h
22347         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22348         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22349         using vDSO syscall macro.
22351 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22353         [BZ #17293]
22354         * uk_UA: Fix sorting order for Ukrainian locale
22356 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22358         * stdlib/monetary.h: Fix comment.
22360 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22362         [BZ #18234]
22363         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22364         st_mtim and st_ctim members.
22365         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22366         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22367         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22368         (struct stat64): Likewise.
22369         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22370         (struct stat64): Likewise.
22371         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22372         (struct stat64): Likewise.
22374 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22376         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22377         Define and include sysdep-vdso.h.
22378         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22379         Likewise.
22380         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22381         Likewise.
22382         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22383         Define with VDSO_SYMBOL and use PTR_MANGLE.
22384         (__vdso_clock_gettime): Likewise.
22385         (__vdso_clock_getres): Likewise.
22386         (_libc_vdso_platform_setup): Likewise.
22387         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22388         Likewise.
22389         (_libc_vdso_platform_setup): Likewise.
22390         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22391         Likewise.
22392         (__vdso_clock_gettime): Likewise.
22393         (__vdso_clock_getres): Likewise.
22394         (__vdso_get_tbfreq): Likewise.
22395         (__vdso_getcpu): Likewise.
22396         (__vdso_time): Likewise.
22397         (__vdso_sigtramp_rt64): Likewise.
22398         (__vdso_signtramp32): Likewise.
22399         (__vdso_sigtramp_rt32): Likewise.
22400         (_libc_vdso_platform_setup): Likewise.
22401         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22402         Likewise.
22403         (__vdso_clock_gettime): Likewise.
22404         (__vdso_clock_getres): Likewise.
22405         (_libc_vdso_platform_setup): Likewise.
22406         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22407         Likewise.
22408         (__vdso_clock_gettime): Likewise.
22409         (_libc_vdso_platform_setup): Likewise.
22410         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22411         Likewise.
22412         (__vdso_getcpu): Likewise.
22413         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22414         Use VDSO_SYMBOL macro to define.
22415         (__vdso_clock_gettime): Likewise.
22416         (__vdso_clock_getres): Likewise.
22417         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22418         Likewise.
22419         (__vdso_clock_gettime): Likewise.
22420         (__vdso_clock_getres): Likewise.
22421         (__vdso_get_tbfreq): Likewise.
22422         (__vdso_getcpu): Likewise.
22423         (__vdso_time): Likewise.
22424         (__vdso_sigtramp_rt64): Likewise.
22425         (__vdso_signtramp32): Likewise.
22426         (__vdso_sigtramp_rt32): Likewise.
22427         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22428         Likewise.
22429         (__vdso_clock_gettime): Likewise.
22430         (__vdso_clock_getres): Likewise.
22431         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22432         Likewise.
22433         (__vdso_clock_gettime): Likewise.
22434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22435         Likewise.
22436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22437         macro.
22438         (INTERNAL_VSYSCALL): Likewise.
22439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22440         Remove macro.
22441         (INTERNAL_VSYSCALL): Likewise.
22442         (INTERNAL_VSYSCALL_NCS): Likewise.
22443         (INTERNAL_VSYSCALL_CALL): New macro.
22444         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22446         Likewise.
22447         (INTERNAL_VSYSCALL): Likewise.
22448         (INTERNAL_VSYSCALL_NCS): Likewise.
22449         (INTERNAL_VSYSCALL_CALL): New macro.
22450         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22452         (INLINE_VSYSCALL): Remove macro.
22453         (INTERNAL_VSYSCALL): Remove macro.
22454         (INTERNAL_VSYSCALL_NCS): Remove macro.
22455         (INTERNAL_VSYSCALL_CALL): New macro.
22456         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22457         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22458         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22459         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22460         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22462         (INLINE_VSYSCALL): Remove macro.
22463         (INTERNAL_VSYSCALL): Likewise.
22464         (INTERNAL_VSYSCALL_NCS): Likewise.
22465         (INTERNAL_VSYSCALL_CALL): New macro.
22466         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22467         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22468         PTR_DEMANGLE on vDSO pointer.
22469         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22470         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22471         macro.
22472         (INTERNAL_SYSCALL): Likewise.
22473         (INTERNAL_VSYSCALL_NCS): Remove macro.
22474         (INTERNAL_VSYSCALL_CALL): New macro.
22475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22476         Remove macro.
22477         (INTERNAL_VSYSCALL): Likewise.
22478         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22479         sysdep-vdso.h instead of libc-vdso.h.
22480         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22481         definition.
22482         (INLINE_VSYSCALL): Likewise.
22483         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22484         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22485         definition.
22486         (INLINE_VSYSCALL): Likewise.
22487         (INTERNAL_VSYSCALL): Likewise.
22488         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22489         * sysdeps/unix/sysv/linux/timespec_get.c
22490         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22491         (timespec_get): Use ANSI prototype.
22492         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22493         and definition for Linux.
22495 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22497         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22498         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22500 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22502         [BZ #2981]
22503         [BZ #18410]
22504         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22505         for missing DT_PLTRELSZ.
22507 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22509         Remove obsolete aliases that broke 'locale -a'
22510         [BZ #18412]
22511         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22512         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22513         breaking some applications that use 'locale -a' output.
22514         Change the encoding of this file from Latin-1 to ASCII to avoid
22515         other potential problems with people grepping this file.
22517 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22519         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22520         -fasynchronous-unwind-tables.
22521         (CFLAGS-sendto.c): Likewise.
22522         (CFLAGS-sendmsg.c): Likewise.
22523         (CFLAGS-connect.c): Likewise.
22524         (CFLAGS-recvmsg.c): Likewise.
22525         (CFLAGS-recvfrom.c): Likewise.
22526         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22527         (SOCKETCALL): New macro: non-cancellable socketcall.
22528         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22529         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22530         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22531         * sysdeps/unix/sysv/linux/accept.c: New file.
22532         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22533         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22534         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22535         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22536         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22537         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22538         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22539         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22540         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22541         * sysdeps/unix/sysv/linux/send.c: Likewise.
22542         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22543         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22544         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22545         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22546         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22547         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22548         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22549         prototype.
22550         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22551         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22552         instead of __internal_xxx function.
22553         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22554         prototype.
22555         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22556         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22557         instead of __internal_xxx function.
22558         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22559         prototype.
22560         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22561         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22562         instead of __internal_xxx function.
22563         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22564         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22565         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22566         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22567         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22568         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22569         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22570         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22571         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22572         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22573         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22574         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22575         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22576         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22577         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22578         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22579         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22580         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22581         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22582         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22585         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22586         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22587         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22588         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22589         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22590         * sysdeps/unix/sysv/linux/send.S: Likewise.
22591         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22592         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22593         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22594         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22595         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22596         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22597         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22598         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22599         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22600         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22601         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22602         socketcall is implemented in GLIBC.
22604 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22606         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22607         (__fma): Ignore uninitialized warnings around packing.
22608         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22609         (__fmaf): Ignore uninitialized warnings around packing.
22610         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22611         (__fmal): Ignore uninitialized warnings around packing.
22613         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22614         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22615         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22616         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22618         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22619         switch statement into default case.
22620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22622         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22623         a conditional in forcing "inexact".
22624         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22625         Likewise.
22627 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22629         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22630         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22631         for each INTERNAL_SYSCALL use.
22633 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22635         [BZ #438]
22636         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22637         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22638         variable.
22640         [BZ #18444]
22641         * string/basename.c (basename): Rename to __basename and define as
22642         weak alias of __basename.  Use libc_hidden_weak.
22643         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22644         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22645         __basename instead of basename.
22646         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22647         Remove variable.
22648         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22650 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22652         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22653         (_IO_JUMPS_FILE_plus): New.
22654         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22655         _IO_CAST_FIELD_ACCESS.
22656         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22657         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22658         * libio/freopen.c (freopen): Likewise.
22659         * libio/freopen64.c (freopen64): Likewise.
22660         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22661         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22662         * libio/iofwide.c (_IO_fwide): Likewise.
22663         * libio/memstream.c (open_memstream): Likewise.
22664         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22665         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22666         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22668 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22670         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22671         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22672         NADJ.
22673         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22674         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22675         NADJ.
22676         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22677         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22678         NADJ.
22680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22681         (p == 4) case.
22683         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22684         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22685         Remove variable.
22686         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22687         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22688         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22690 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22692         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22693         Adjust jump table label generation macros.
22695 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22697         * stdio-common/vfprintf.c (vfprintf): Move local variables
22698         args_malloced, specs, specs_malloced, and the code after
22699         do_positional to the printf_positional function.
22700         (printf_positional): New function.
22702 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22704         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22705         function.
22706         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22707         STEP4_TABLE, process_arg): Move macro definitions
22708         out of the vfprintf function.  (Cosmetic change only.)
22710 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22712         * benchtests/Makefile (stdio-common-bench): Define.
22713         (benchset): Add stdio-common-bench.
22714         * sprintf-inputs: New file.
22715         * sprintf-source.c: New file.
22717 2015-05-21  Andreas Schwab  <schwab@suse.de>
22719         [BZ #13028]
22720         [BZ #17053]
22721         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22722         of struct __res_state.
22723         * resolv/res_send.c (__libc_res_nsend): Likewise.
22724         (get_nsaddr): New function.
22725         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22726         statp directly.
22728 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22730         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22731         -D_POSIX_C_SOURCE=199506L.
22733         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22735         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22736         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22737         Do not mention otherwise.
22738         [POSIX] (_XOPEN_VERSION): Do not expect.
22739         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22740         [POSIX] (_POSIX2_C_BIND): Likewise.
22741         [POSIX] (_POSIX2_VERSION): Likewise.
22742         [POSIX] (_XOPEN_XPG2): Likewise.
22743         [POSIX] (_XOPEN_XPG3): Likewise.
22744         [POSIX] (_XOPEN_XPG4): Likewise.
22745         [POSIX] (_XOPEN_UNIX): Likewise.
22746         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22747         [POSIX] (_POSIX_BARRIERS): Likewise.
22748         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22749         [POSIX] (_POSIX_CPUTIME): Likewise.
22750         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22751         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22752         [POSIX] (_POSIX_SHELL): Likewise.
22753         [POSIX] (_POSIX_SPAWN): Likewise.
22754         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22755         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22756         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22757         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22758         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22759         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22760         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22761         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22762         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22763         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22764         [POSIX] (_POSIX2_PBS): Likewise.
22765         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22766         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22767         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22768         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22769         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22770         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22771         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22772         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22773         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22774         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22775         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22776         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22777         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22778         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22779         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22780         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22781         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22782         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22783         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22784         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22785         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22786         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22787         [POSIX] (_SC_2_C_BIND): Likewise.
22788         [POSIX] (_SC_2_C_VERSION): Likewise.
22789         [POSIX] (_SC_2_PBS): Likewise.
22790         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22791         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22792         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22793         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22794         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22795         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22796         [POSIX] (_SC_BARRIERS): Likewise.
22797         [POSIX] (_SC_BASE): Likewise.
22798         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22799         [POSIX] (_SC_DEVICE_IO): Likewise.
22800         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22801         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22802         [POSIX] (_SC_FD_MGMT): Likewise.
22803         [POSIX] (_SC_FIFO): Likewise.
22804         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22805         [POSIX] (_SC_FILE_LOCKING): Likewise.
22806         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22807         [POSIX] (_SC_IOV_MAX): Likewise.
22808         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22809         [POSIX] (_SC_NETWORKING): Likewise.
22810         [POSIX] (_SC_PAGE_SIZE): Likewise.
22811         [POSIX] (_SC_PASS_MAX): Likewise.
22812         [POSIX] (_SC_PIPE): Likewise.
22813         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22814         [POSIX] (_SC_REGEXP): Likewise.
22815         [POSIX] (_SC_SHELL): Likewise.
22816         [POSIX] (_SC_SIGNALS): Likewise.
22817         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22818         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22819         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22820         [POSIX] (_SC_USER_GROUPS): Likewise.
22821         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22822         [POSIX] (_SC_STREAMS): Likewise.
22823         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22824         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22825         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22826         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22827         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22828         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22829         [POSIX] (_PC_FILESIZEBITS): Likewise.
22830         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22831         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22832         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22833         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22834         [POSIX] (uid_t): Likewise.
22835         [POSIX] (gid_t): Likewise.
22836         [POSIX] (off_t): Likewise.
22837         [POSIX] (pid_t): Likewise.
22838         [POSIX] (cuserid): Allow.
22839         (_SC_2_CHAR_TERM): Require constant.
22840         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22841         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22842         variable.
22844 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22846         * sysdeps/nacl/pthread-pids.h: New file.
22847         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22848         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22850         * nptl/pthread-pids.h: New file.
22851         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22852         * nptl/nptl-init.c: Include <pthread-pids.h>.
22853         (__pthread_initialize_minimal_internal):
22854         Call __pthread_initialize_pids instead of set_tid_address syscall.
22856         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22857         * sysdeps/posix/usleep.c: ... here.
22859 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22861         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22862         call_pselect6 object.
22863         [$(subdir) = io]: Remove call_sync_file_range object.
22864         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22865         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22866         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22867         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22869 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22871         * math/s_cproj.c: Add include "math_private.h".
22872         * math/s_cprojf.c: Likewise.
22873         * math/s_cprojl.c: Likewise.
22875 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22877         [BZ #18244]
22878         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22879         high mantissa bit when testing whether P is a NaN.
22880         * math/libm-test.inc (remainder_test_data): Add more tests.
22881         (remquo_test_data): Likewise.
22883         [BZ #18049]
22884         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22885         below -32, return the argument, with underflow if subnormal.
22886         * math/auto-libm-test-in: Add more tests of atanh.
22887         * math/auto-libm-test-out: Regenerated.
22889 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22891         [BZ #18434]
22892         * nptl/tst-sem15.c: New file.
22893         * nptl/Makefile (tests): Add it.
22894         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22895         s/<</>>/ to fix typo in EOVERFLOW check.
22896         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22898 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900         * manual/strings.texi (envz_remove): Fix typo in safety
22901         annotations.
22903 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22904             Steve Ellcey  <sellcey@imgtec.com>
22906         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22907         in order to avoid strict alias warnings.
22908         (iruserok_af): Ditto for ra.
22910 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22912         [BZ #17581]
22913         * malloc/hooks.c
22914         (magicbyte): Convert to a function and avoid returning 0x01.
22915         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22916         (mem2chunk_check): Fix unsigned comparisons to zero.
22917         Hoist defs of sz and magic.
22919 2015-05-19  Richard Henderson  <rth@redhat.com>
22921         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22923         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22925 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22927         [BZ #16159]
22928         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22929         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22930         (reused_arena): Find a non-corrupt arena.
22931         (heap_trim): Pass arena to unlink.
22932         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22933         malloc_printerr.
22934         (top_check): Likewise.
22935         (free_check): Likewise.
22936         (realloc_check): Likewise.
22937         * malloc/malloc.c (malloc_printerr): Add arena argument.
22938         (unlink): Likewise.
22939         (munmap_chunk): Adjust.
22940         (ARENA_CORRUPTION_BIT): New macro.
22941         (arena_is_corrupt): Likewise.
22942         (set_arena_corrupt): Likewise.
22943         (sysmalloc): Use mmap if there are no usable arenas.
22944         (_int_malloc): Likewise.
22945         (__libc_malloc): Don't fail if arena_get returns NULL.
22946         (_mid_memalign): Likewise.
22947         (__libc_calloc): Likewise.
22948         (__libc_realloc): Adjust for additional argument to
22949         malloc_printerr.
22950         (_int_free): Likewise.
22951         (malloc_consolidate): Likewise.
22952         (_int_realloc): Likewise.
22953         (_int_memalign): Don't touch corrupt arenas.
22954         * malloc/tst-malloc-backtrace.c: New test case.
22956         * Makefile (summarize-tests): Fix return value on success.
22958         * manual/string.texi (Envz Functions): Add envz_remove.
22960 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22962         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22963         (invalid_name): New function, broken out of ...
22964         (__opendirat): ... here.  Call it.
22965         (need_isdir_precheck): New function, broken out of ...
22966         (__opendirat): ... here.  Call it.
22967         Use __fxstatat64, not __xstatat64.
22968         (opendir_oflags): New function, broken out of ...
22969         (__opendirat): ... here.  Call it.
22970         (opendir_tail): New function, broken out of ...
22971         (__opendirat): ... here.  Call it.
22972         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22973         opendir_tail, rather than punting to __opendirat.
22974         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22976 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22978         * .gitignore: Ignore generated *.pyc.
22980 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22982         * include/stdio.h: Define __need_wint_t.
22983         * test-skeleton.c: Avoid `for' loop initial declaration.
22984         * nptl/tst-initializers1.c: Use test-skeleton.c.
22986 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22988         [BZ #18418]
22989         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22991 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22993         [BZ #16352]
22994         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22995         (__ieee754_atanh): Force underflow exception for results with
22996         small absolute value.
22997         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22998         (__ieee754_atanhf): Force underflow exception for results with
22999         small absolute value.
23000         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23001         (__ieee754_atanh): Force underflow exception for results with
23002         small absolute value.
23003         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23004         (__ieee754_atanhf): Force underflow exception for results with
23005         small absolute value.
23006         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23007         (__ieee754_atanhl): Force underflow exception for results with
23008         small absolute value.
23009         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23010         (__ieee754_atanhl): Force underflow exception for results with
23011         small absolute value.
23012         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23013         (__ieee754_atanhl): Force underflow exception for results with
23014         small absolute value.
23015         * math/auto-libm-test-in: Do not allow missing underflow
23016         exceptions from atanh.
23017         * math/auto-libm-test-out: Regenerated.
23019         [BZ #18221]
23020         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23021         2**-28 as threshold for returning x or +/- 1/x.
23022         * math/auto-libm-test-in: Add more tests of tan.
23023         * math/auto-libm-test-out: Regenerated.
23025         [BZ #18220]
23026         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23027         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23028         * math/auto-libm-test-in: Add another test of lgamma.
23029         * math/auto-libm-test-out: Regenerated.
23031 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23033         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23034         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23035         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23036         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23037         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23038         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23039         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23042         (log1): Use fabs.  (my_log2): Use fabs.
23043         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23044         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23045         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23046         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23048         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23049         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23050         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23051         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23052         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23053         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23055 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23057         [BZ #18217]
23058         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23059         as threshold for returning 1 - x.
23060         * math/auto-libm-test-in: Add more tests of erfc.
23061         * math/auto-libm-test-out: Regenerated.
23063 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23065         [BZ #18196]
23066         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23067         threshold for large arguments.
23068         * math/auto-libm-test-in: Add another test of atan.
23069         * math/auto-libm-test-out: Regenerated.
23071         [BZ #16339]
23072         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23073         (__log1p): Force underflow exception for results with small
23074         absolute value.
23075         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23076         (__log1pf): Force underflow exception for results with small
23077         absolute value.
23078         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23079         (__log1p): Force underflow exception for results with small
23080         absolute value.
23081         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23082         (__log1pf): Force underflow exception for results with small
23083         absolute value.
23084         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23085         (__log1pl): Force underflow exception for results with small
23086         absolute value.
23087         * math/auto-libm-test-in: Do not allow missing underflow
23088         exceptions from log1p.
23089         * math/auto-libm-test-out: Regenerated.
23091 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23092             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23094         [BZ #16704]
23095         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23097 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23099         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23100         (libmvec): New variable.
23101         * configure.ac: Added option for mathvec build.
23102         * configure: Regenerated.
23103         * mathvec/Depend: New file.
23104         * mathvec/Makefile: New file.
23105         * shlib-versions: Added libmvec.
23106         * math/Makefile: Added rule for libm.so installation.
23108         * bits/math-vector.h: New file.
23109         * bits/libm-simd-decl-stubs.h: New header.
23110         * math/Makefile (headers): Added new header
23111         libm-simd-decl-stubs.h.
23112         * math/math.h (__MATHCALL_VEC): New macro.
23114         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23115         for conditions in testing functions.
23116         * math/Makefile: Added call of libm-have-vector-test.sh.
23117         * math/libm-test.inc (HAVE_VECTOR): New macros.
23119         * math/libm-test.inc: START refactored.
23120         * math/test-double.c (TEST_MATHVEC): Add define.
23121         * math/test-float.c: Likewise.
23122         * math/test-idouble.c: Likewise.
23123         * math/test-ifloat.c: Likewise.
23124         * math/test-ildoubl.c: Likewise.
23125         * math/test-ldouble.c: Likewise.
23126         * sysdeps/generic/math-tests-arch.h
23127         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23128         architecture check.
23130         * math/test-double.c (FUNC_TEST): New macro.
23131         * math/test-float.c: Likewise.
23132         * math/test-idouble.c: Likewise.
23133         * math/test-ifloat.c: Likewise.
23134         * math/test-ildoubl.c: Likewise.
23135         * math/test-ldouble.c: Likewise.
23136         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23138 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23140         * sysdeps/nacl/fdopendir.c: New file.
23142         * dirent/scandir-tail.c: New file.
23143         * dirent/scandir64-tail.c: New file.
23144         * dirent/Makefile (routines): Add them.
23145         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23146         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23147         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23148         [!SCANDIR] (SCANDIR_TAIL): New macro.
23149         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23150         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23151         (SCANDIRAT): Macro removed.
23152         (SCANDIR_TAIL): New macro.
23153         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23154         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23155         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23156         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23157         (READDIR): Macro removed.
23158         (SCANDIR_TAIL): New macro.
23159         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23160         (SCANDIR_TAIL): New macro.
23162         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23163         * dirent/scandir-cancel.c: ... to this new file.
23164         * dirent/Makefile (routines): Add it.
23165         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23166         * sysdeps/unix/sysv/linux/i386/scandir64.c
23167         (SKIP_SCANDIR_CANCEL): Macro removed.
23168         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23170         * dirent/tst-scandir.c: New file.
23171         * dirent/tst-scandir64.c: New file.
23172         * dirent/Makefile (tests): Add them.
23174 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23176         [BZ #18409]
23177         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23179 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23181         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23182         list.
23184 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23186         * benchtests/bench-strcoll.c: New benchmark.
23187         * benchtests/Makefile: Generate locales and run benchmark.
23188         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23189         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23190         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23191         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23192         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23193         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23194         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23195         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23196         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23197         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23198         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23199         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23200         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23201         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23202         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23203         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23204         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23205         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23206         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23207         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23208         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23209         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23210         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23211         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23213 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23215         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23216         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23218 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23220         * posix/uname-values.h: New file.
23221         * posix/uname.c: Include that instead of <config-name.h>.
23222         * sysdeps/nacl/uname-values.h: New file.
23223         * sysdeps/arm/nacl/uname-values.h: New file.
23225 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23227         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23228         splitting into fields.
23230 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23232         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23233         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23234         * locale/localeinfo.h: Add enum collation_encoding_type.
23235         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23236         * programs/ld-collate.c (collate_output): Add encoding type info.
23237         * string/strcoll_l.c (STRDIFF): New function.
23238         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23239         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23241 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23243         [BZ #18397]
23244         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23245         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23246         <fpu_control.h> instead of <math/fpu_control.c>.
23247         * sysdeps/mips/mips32/fpu/Makefile: New file.
23249 2015-05-11  Andreas Schwab  <schwab@suse.de>
23251         [BZ #18007]
23252         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23253         nss_endgrent.
23254         (_nss_compat_endgrent): Call nss_endgrent.
23255         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23256         nss_endpwent.
23257         (_nss_compat_endpwent): Call nss_endpwent.
23258         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23259         needent, call nss_setspent only if non-zero.
23260         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23261         (internal_endspent): Don't call nss_endspent.
23262         (_nss_compat_endspent): Call nss_endspent.
23263         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23264         Remove.  All uses removed.
23265         (internal_setent): Remove parameter stayopen, add parameter
23266         stream.  Use it instead of global variable.
23267         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23268         (internal_endent, internal_getent): Add parameter stream.  Use it
23269         instead of global variable.
23270         (CONCAT(_nss_files_end,ENTNAME))
23271         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23272         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23273         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23274         uses removed.
23275         (internal_setent, internal_endent): Add parameter stream.  Use it
23276         instead of global variable.
23277         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23278         stream.
23279         (get_next_alias): Add parameter stream.
23280         (_nss_files_getaliasent_r): Pass global stream.
23281         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23282         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23283         (_nss_files_gethostbyname4_r): Pass local stream to
23284         internal_setent, internal_getent and internal_endent.  Remove
23285         locking.
23287 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23289         * tst-strfmon1.c (tests): Update expected currency symbol.
23291 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23293         * sysdeps/nacl/gethostname.c: New file.
23295 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23297         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23298         and sinh.
23299         * math/auto-libm-test-out: Regenerated.
23300         * sysdeps/i386/fpu/libm-test-ulps: Update.
23301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23303 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23305         [BZ #18125]
23306         * stdlib/tst-setcontext3.c: New file.
23307         * stdlib/tst-setcontext3.sh: New file.
23308         * stdlib/Makefile (tests): Add tst-setcontext3.
23309         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23310         to verify test program created output file.
23311         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23312         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23313         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23314         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23316 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23318         [BZ #18383]
23319         * elf/tst-tlsalign.c: New file.
23320         * elf/tst-tlsalign-static.c: New file.
23321         * elf/tst-tlsalign-lib.c: New file.
23322         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23323         (tests-static): Add tst-tlsalign-static.
23324         (modules-names): Add tst-tlsalign-lib.
23325         (test-xfail-tst-tlsalign): New variable.
23326         (test-xfail-tst-tlsalign-static): New variable.
23328         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23329         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23331 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23333         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23334         csqrt, erfc, sin and sincos.
23335         * math/auto-libm-test-out: Regenerated.
23336         * sysdeps/i386/fpu/libm-test-ulps: Update.
23337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23341         * sysdeps/aarch64/libm-test-ulps: Update.
23343 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23345         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23346         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23347         * math/auto-libm-test-out: Regenerated.
23348         * sysdeps/i386/fpu/libm-test-ulps: Update.
23349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23353         [BZ #18265]
23354         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23355         (wcsncpy): Likewise.
23357 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23359         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23360         Assume __ASSUME_FALLOCATE is always true.
23361         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23362         (__posix_fallocate64_l64): Likweise.
23363         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23364         (posix_fallocate): Likewise.
23365         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23366         (__posix_fallocate64_l64): Likewise.
23367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23368         [!__ASSUME_FALLOCATE]: Add comment.
23370 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23372         * sysdeps/unix/sysv/linux/i386/Makefile
23373         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23374         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23375         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23376         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23377         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23378         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23379         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23381 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23383         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23384         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23385         tgamma.
23386         * math/auto-libm-test-out: Regenerated.
23387         * sysdeps/i386/fpu/libm-test-ulps: Update.
23388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23390 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23392         * math/auto-libm-test-in: Add more tests of tgamma.
23393         * math/auto-libm-test-out: Regenerated.
23394         * sysdeps/i386/fpu/libm-test-ulps: Update.
23395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23397         * math/auto-libm-test-in: Add more tests of tanh.
23398         * math/auto-libm-test-out: Regenerated.
23399         * sysdeps/i386/fpu/libm-test-ulps: Update.
23400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23402         * math/auto-libm-test-in: Add more tests of tan.
23403         * math/auto-libm-test-out: Regenerated.
23404         * sysdeps/i386/fpu/libm-test-ulps: Update.
23405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23407         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23408         * math/auto-libm-test-out: Regenerated.
23409         * sysdeps/i386/fpu/libm-test-ulps: Update.
23410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23412         * math/auto-libm-test-in: Add another test of pow.
23413         * math/auto-libm-test-out: Regenerated.
23414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23416         * math/auto-libm-test-in: Add more tests of lgamma.
23417         * math/auto-libm-test-out: Regenerated.
23418         * sysdeps/i386/fpu/libm-test-ulps: Update.
23419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23421         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23422         log1p.
23423         * math/auto-libm-test-out: Regenerated.
23424         * sysdeps/i386/fpu/libm-test-ulps: Update.
23425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23429         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23430         Elf64_Chdr structs and ELFCOMPRESS constants.
23432 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23434         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23435         expm1.
23436         * math/auto-libm-test-out: Regenerated.
23437         * sysdeps/i386/fpu/libm-test-ulps: Update.
23438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23440         * math/auto-libm-test-in: Add more tests of erf and erfc.
23441         * math/auto-libm-test-out: Regenerated.
23442         * sysdeps/i386/fpu/libm-test-ulps: Update.
23443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23445 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23447         * config.h.in (HAVE_AARCH64_BE): Add.
23449 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23451         * math/auto-libm-test-in: Add more tests of csqrt.
23452         * math/auto-libm-test-out: Regenerated.
23453         * sysdeps/i386/fpu/libm-test-ulps: Update.
23454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23456         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23457         * math/auto-libm-test-out: Regenerated.
23458         * sysdeps/i386/fpu/libm-test-ulps: Update.
23459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23461         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23463 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23465         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23466         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23468         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23469         (euidaccess, eaccess): Define as weak aliases.
23471         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23472         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23473         but __suseconds_t is often 'long int' so some sources assume that
23474         type is being used (e.g. they use %ld to print tv_usec).
23476 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23478         [BZ #18007]
23479         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23480         (CVE-2014-8121)
23481         * nss/tst-nss-getpwent.c: New file.
23482         * nss/Makefile (tests): Add new test.
23484 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23486         [BZ #18346]
23487         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23488         exponents less than 48 as cases where high part of mantissa needs
23489         examining to determine whether argument is integral.
23490         * math/libm-test.inc (round_test_data): Add more tests.
23492 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23494         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23496 2015-04-27  David S. Miller  <davem@davemloft.net>
23498         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23499         __tls_get_addr.
23500         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23502 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23504         [BZ#18333]
23505         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23507 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23509         [BZ#18333]
23510         * time/tzset.c (parse_tzname): Return error on memory allocation
23511         failure.
23512         * test-skeleton.c (struct temp_name_list): Change type of name
23513         member to non-const.
23514         (add_temp_file): Create a copy of the file name.
23515         (delete_temp_files): Deallocate memory.
23516         (create_temp_file): Add comment.
23518 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23520         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23521         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23523 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23525         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23526         * sysdeps/arm/configure: Regenerated.
23528 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23530         [BZ #17715]
23531         * time/tzfile.c (__tzfile_read): Check for large values of
23532         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23533         * time/tzset.c (__tzstring_len): New function, based on the old
23534         __tzstring function.
23535         (__tzstring): Call __tzstring_len.
23536         (parse_tzname): New helper function extracted from
23537         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23538         the input string.
23539         (parse_offset): New helper function extracted from
23540         __tzset_parse_tz.  Replace switch with fallthrough with
23541         initialization before sscanf.
23542         (parse_rule): Likewise.
23543         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23544         new-style function definition.
23545         * timezone/Makefile (tests): Add tst-tzset.
23546         (tst-tzset.out): Dependencies on time zone files.
23547         (tst-tzset-ENV): Set TZDIR.
23548         (testdata/XT%): Copy crafted time zone files.
23549         * timezone/README: Mention crafted time zone files.
23550         * timezone/testdata/XT1, timezone/testdata/XT2,
23551         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23552         files.
23553         * timezone/tst-tzset.c: New test.
23555 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23557         * Makeconfig (+gccwarn): Remove -Winline.
23559 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23561         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23563 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23565         * NEWS: Mention sysconf() cache information support for s390.
23566         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23568 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23570         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23571         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23572         (__nearbyint): Likewise.
23573         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23574         (copysignl): Likewise.
23576 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23578         [BZ #18287]
23579         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23580         based on padding.  (CVE-2015-1781)
23582 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23584         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23585         libc-vdso.h.
23586         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23587         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23588         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23589         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23590         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23591         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23592         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23593         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23594         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23595         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23596         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23597         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23598         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23599         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23600         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23601         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23602         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23603         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23604         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23605         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23606         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23607         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23608         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23610 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23612         * stdlib/setenv.c (__add_to_environ):
23613         Dump core quickly if setenv (..., NULL, ...) is called.
23614         This time, do it the right way, and pacify GCC with a pragma.
23616 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23618         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23619         IMAP->l_prev cannot be null, and #if out the code for the contrary
23620         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23621         believe that NS (&_dl_ns[NSID]) could point outside the array.
23623         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23624         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23625         before using NSID as an index.
23627 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23629         [BZ #17825]
23630         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23631         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23632         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23634 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23636         Add preliminary port to Google Native Client on ARM.
23637         * abi-tags (.*-.*-nacl.*): New entry.
23638         * sysdeps/arm/nacl: New directory.
23639         * sysdeps/nacl: New directory.
23641 2015-04-16  David S. Miller  <davem@davemloft.net>
23643         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23644         lowlevellock-futex.h
23646 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23648         * sysdeps/tile/configure.ac: New file.
23649         * sysdeps/tile/configure: Regenerated.
23651 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23653         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23654         conditionals for weak_alias and libc_hidden_weak.
23655         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23656         libc_hidden_weak and weak_alias.
23657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23658         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23659         and weak_alias for static one.
23661 2015-04-15  David S. Miller  <davem@davemloft.net>
23663         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23665 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23667         [BZ #18206]
23668         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23669           Use signed comparision instead of substraction to avoid
23670           overflow bug.
23671         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23672           Take the sign of ret.
23673         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23674           Do not expect precise return values. Only the sign matters.
23675         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23676         * wcsmbs/test-wcsncmp.c: New File.
23677         * string/test-strncmp.c: Add wcsncmp support.
23679 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23681         [BZ #6792]
23682         * math/w_log1p.c: New file.
23683         * math/w_log1pf.c: Likewise.
23684         * math/w_log1pl.c: Likewise.
23685         * math/Makefile (libm-calls): Add w_log1p.
23686         * math/s_log1pl.c (log1pl): Remove weak_alias.
23687         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23688         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23689         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23690         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23691         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23692         [NO_LONG_DOUBLE] (log1pl): Likewise.
23693         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23694         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23695         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23696         (log1p): Remove long_double_symbol.
23697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23698         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23699         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23700         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23701         remove weak_alias for corresponding log1p function.
23702         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23703         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23704         * sysdeps/ia64/fpu/w_log1p.c: New file.
23705         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23706         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23707         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23709 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23711         [BZ #18247]
23712         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23713         decimal exponent by 1.
23714         * stdlib/tst-strtod-round-data: Add more tests.
23715         * stdlib/tst-strtod-round.c (tests): Regenerated.
23717 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23719         * math/auto-libm-test-in: Add more tests of clog and clog10.
23720         * math/auto-libm-test-out: Regenerated.
23721         * sysdeps/i386/fpu/libm-test-ulps: Update.
23722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23724 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23726         * Makeconfig (module-cppflags): Exclude all .v.i files.
23727         (skip-module-cppflags): Variable removed.
23729         * configure.ac (libc_config_ok): Initialize before reading
23730         preconfigure scripts, not after.
23731         * configure: Regenerated.
23733         * test-skeleton.c (TIMEOUT): Move #define to top level.
23734         (main): Grok environment variable TEST_DIRECT.  If set, print
23735         test expectation details into that file and then behave as if
23736         given --direct.
23738 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23740         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23741         warning on 32-bit.
23743 2015-04-08  David S. Miller  <davem@davemloft.net>
23745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23747 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23749         * math/auto-libm-test-in: Add more tests of atanh.
23750         * math/auto-libm-test-out: Regenerated.
23751         * sysdeps/i386/fpu/libm-test-ulps: Update.
23752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754         * math/auto-libm-test-in: Add more tests of atan.
23755         * math/auto-libm-test-out: Regenerated.
23756         * sysdeps/i386/fpu/libm-test-ulps: Update.
23757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23759 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23761         * elf/pldd.c (main): Rewrite to use struct
23762         scratch_buffer instead of extend_alloca.
23763         * elf/pldd-xx.c (find_maps): Likewise.
23764         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23765         <alloca.h>.
23766         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23767         scratch_buffer instead of extend_alloca.
23768         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23769         grp/compat-initgroups.c.
23770         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23771         Rewrite to use struct scratch_buffer instead of extend_alloca.
23772         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23773         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23775 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23777         * math/auto-libm-test-in: Add more tests of cbrt.
23778         * math/auto-libm-test-out: Regenerated.
23779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23781         * math/auto-libm-test-in: Add more tests of cabs.
23782         * math/auto-libm-test-out: Regenerated.
23783         * sysdeps/i386/fpu/libm-test-ulps: Update.
23784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23786         [BZ #18210]
23787         [BZ #18211]
23788         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23789         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23790         computations.
23791         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23792         clog10.
23793         * math/auto-libm-test-out: Regenerated.
23794         * sysdeps/i386/fpu/libm-test-ulps: Update.
23795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797         [BZ #18197]
23798         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23799         (atan): Set FE_TONEAREST mode for internal computations.
23800         * math/auto-libm-test-in: Add more tests of atan.
23801         * math/auto-libm-test-out: Regenerated.
23803 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23805         [BZ #17930]
23806         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23808 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23810         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23812 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23814         * include/scratch_buffer.h: New file.
23815         * malloc/scratch_buffer_grow.c: Likewise.
23816         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23817         * malloc/scratch_buffer_set_array_size.c: Likewise.
23818         * malloc/tst-scratch_buffer.c: Likewise.
23819         * malloc/Makefile (routines): Add scratch_buffer_grow.
23820         (tests): Add test case.
23821         * malloc/Versions (GLIBC_PRIVATE): Export
23822         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23823         __libc_scratch_buffer_set_array_size.
23825 2015-04-06  Richard Henderson  <rth@redhat.com>
23827         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23828         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23830         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23831         unsigned int before printing.
23833 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23835         [BZ #17596]
23836         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23837         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23839 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23841         * include/libc-internal.h (libc_max_align_t): Define.
23843 2015-04-02  Andreas Schwab  <schwab@suse.de>
23845         [BZ #16850]
23846         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23848 2015-04-02  Mel Gorman  <mgorman@suse.de>
23850         [BZ #17195]
23851         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23852         as well as the main arena.
23854 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23856         [BZ #18185]
23857         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23858         sharing L2 cache to 2 for Silvermont/Knights Landing.
23860 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23862         [BZ #17711]
23863         * config.make.in (have-protected-data): New.
23864         * configure.ac: Check linker support for protected data symbol.
23865         * configure: Regenerated.
23866         * elf/Makefile (modules-names): Add tst-protected1moda and
23867         tst-protected1modb if $(have-protected-data) is yes.
23868         (tests): Add tst-protected1a and tst-protected1b if
23869         $(have-protected-data) is yes.
23870         ($(objpfx)tst-protected1a): New.
23871         ($(objpfx)tst-protected1b): Likewise.
23872         (tst-protected1modb.so-no-z-defs): Likewise.
23873         * elf/tst-protected1a.c: New file.
23874         * elf/tst-protected1b.c: Likewise.
23875         * elf/tst-protected1mod.h: Likewise.
23876         * elf/tst-protected1moda.c: Likewise.
23877         * elf/tst-protected1modb.c: Likewise.
23879 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23881         [BZ #17711]
23882         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23883         indicates it is called from do_lookup_x on relocation against
23884         protected data, skip the data definion in the executable from
23885         copy reloc.
23886         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23887         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23888         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23889         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23890         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23891         otherwise to 0.
23892         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23893         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23894         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23895         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23896         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23897         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23899 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23901         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23902         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23904 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23906         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23907         THREAD_SETMEM_NC.
23908         * sysdeps/x86_64/nptl/tls.h: Ditto.
23910 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23912         * dlfcn/tststatic.c (main): Converted to ...
23913         (do_test): ... this.
23914         (TEST_FUNCTION): New macro.
23915         Include test-skeleton.c.
23917 2015-03-26  Alan Modra  <amodra@gmail.com>
23919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23920         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23921         zero for undefined weak.
23922         (elf_machine_plt_conflict): Similarly.
23924 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23926         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23927         atanh.
23928         * math/auto-libm-test-out: Regenerated.
23929         * sysdeps/i386/fpu/libm-test-ulps: Update.
23930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23932         * math/auto-libm-test-in: Add another test of asin.
23933         * math/auto-libm-test-out: Regenerated.
23934         * sysdeps/i386/fpu/libm-test-ulps: Update.
23935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23937         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23938         Remove macro.
23939         (LLL_EBX_REG): Likewise.
23940         (LLL_ENTER_KERNEL): Likewise.
23942         * math/auto-libm-test-in: Add more tests of asin.
23943         * math/auto-libm-test-out: Regenerated.
23944         * sysdeps/i386/fpu/libm-test-ulps: Update.
23945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23947         [BZ #18138]
23948         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23949         libc_do_syscall_args): New structure.
23950         (INTERNAL_SYSCALL_MAIN_0): New macro.
23951         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23952         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23953         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23954         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23955         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23956         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23957         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23958         Replace conditional definitions by conditional definitions of ....
23959         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23960         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23961         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23962         (libpthread-sysdep_routines): Add libc-do-syscall.
23963         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23965         to __NR_futex not 240.
23967 2015-03-25  Alan Modra  <amodra@gmail.com>
23969         * NEWS: Advertise TLS optimization.
23970         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23971         (DT_PPC_NUM): Increment.
23972         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23973         (CHECK_STATIC_TLS): Use here.
23974         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23975         TLS descriptors.
23976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23977         * sysdeps/powerpc/dl-tls.c: New file.
23978         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23979         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23980         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23981         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23986 2015-03-25  Alan Modra  <amodra@gmail.com>
23988         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23989         for overlapping .opd entries" to "support...".
23990         * sysdeps/powerpc/powerpc64/configure: Regenerate
23992 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23994         * math/auto-libm-test-in: Add more tests of acos.
23995         * math/auto-libm-test-out: Regenerated.
23996         * sysdeps/i386/fpu/libm-test-ulps: Update.
23997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999         * math/auto-libm-test-in: Add more tests of expm1.
24000         * math/auto-libm-test-out: Regenerated.
24001         * sysdeps/i386/fpu/libm-test-ulps: Update.
24002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24004 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24006         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24007         * math/auto-libm-test-out: Regenerated.
24008         * sysdeps/i386/fpu/libm-test-ulps: Update.
24009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24011         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014         * math/auto-libm-test-in: Add more tests of log2.
24015         * math/auto-libm-test-out: Regenerated.
24016         * sysdeps/i386/fpu/libm-test-ulps: Update.
24017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24019 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24021         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24022         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24023         _IO_IS_APPENDING bit in READ_WRITE instead.
24025 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24027         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24028         (__determine_cpumask_size): Replace extend_alloca with a
24029         variable-length array.  Do not treat res == 0 as an error.
24031 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24033         [BZ #18100]
24034         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24035         and integer overflow.
24036         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24037         (main): Add integer overflow tests.
24038         * manual/pattern.texi (Calling Wordexp): Document additional use
24039         for WRDE_SYNTAX.
24041 2015-03-23  Alan Modra  <amodra@gmail.com>
24043         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24044         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24045         and false branch of conditional.
24046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24047         Likewise.
24049 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24051         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24052         libc-modules.h
24053         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24054         unused declaration of _hurd_intr_rpc_msg_in_trap.
24055         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24056         defined instead of whether it is non-zero.
24057         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24058         input constraint instead of both input and output constraint.  Use ecx
24059         clobber instead of %ecx.
24060         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24061         mutex_unlock): Use a statement expression instead of an expression list.
24062         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24063         type to vm_size_t instead of vm_address_t.
24064         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24065         defined instead of whether it is non-zero.
24066         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24067         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24068         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24069         comparisons with mapaddr.
24070         * nscd/nscd-client.h: Include <time.h>.
24071         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24072         9th parameter to __vm_region instead of int.
24073         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24074         * scripts/check-local-headers.sh (exclude): Add device/,
24075         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24076         cthreads.h.
24078 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24080         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24081         to account for alignment padding.
24082         * sysdeps/arm/memmove.S: Likewise.
24084 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24086         * sysdeps/unix/sysv/linux/generic/README: New file.
24088 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24090         [BZ #18138]
24091         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24092         (futex_abstimed_wait)
24093         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24094         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24095         of lll_futex_timed_wait.
24097 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24099         [BZ #17542]
24100         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24102 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24104         [BZ #17090]
24105         [BZ #17620]
24106         [BZ #17621]
24107         [BZ #17628]
24108         * NEWS: Update.
24109         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24110         entries with Static TLS too.  Skip entries past the end of the
24111         allocated DTV, from Alan Modra.
24112         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24113         Static TLS DTV entry set up from...
24114         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24115         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24116         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24117         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24118         for Static TLS.
24119         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24120         that the slot we find is associated with the given map before
24121         using its generation count.
24122         * nptl_db/db_info.c: Include ldsodefs.h.
24123         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24124         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24125         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24126         (link_map::l_tls_offset): New struct field.
24127         (dtv_t::counter): Likewise.
24128         (rtld_global): New struct.
24129         (_rtld_global): New rtld variable.
24130         (dl_tls_dtv_slotinfo_list): New rtld global field.
24131         (dtv_slotinfo_list): New struct.
24132         (dtv_slotinfo): Likewise.
24133         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24134         (td_lookup): Rename to...
24135         (td_mod_lookup): ... this.  Use new mod parameter instead of
24136         LIBPTHREAD_SO.
24137         * nptl_db/td_thr_tlsbase.c: Include link.h.
24138         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24139         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24140         addresses even if the DTV is out of date or missing them.
24141         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24142         index zero-length arrays.
24143         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24144         (td_lookup): Make it a macro implemented in terms of...
24145         (td_mod_lookup): ... this declaration.
24146         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24147         (DB_MAIN_VARIABLE): Likewise.
24149 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24151         [BZ #18134]
24152         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24154 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24156         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24158 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24160         [BZ #18128]
24161         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24162         (atomic_add, atomic_increment_and_test)
24163         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24165 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24167         * stdlib/setenv.c (__add_to_environ):
24168         Dump core quickly if setenv (..., NULL, ...) is called.
24170 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24172         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24173         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24174         all the necessary asm magic in one place.
24175         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24176         using those.
24178 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24180         [BZ #14906]
24181         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24182         traced file mtime. Use consistent log message.
24183         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24184         (register_traced_file): Call install_watches. Always set mtime.
24185         (invalidate_cache): Iterate over all trace files. Call install_watches.
24186         (inotify_check_files): Don't inline. Handle watching parent
24187         directories and configuration file movement in and out.
24188         (handle_inotify_events): New function.
24189         (main_loop_poll): Call handle_inotify_events.
24190         (main_loop_epoll): Likewise.
24191         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24192         (struct traced_file): Use array of inotify fds. Add parent directory,
24193         and basename.
24194         (struct database_dyn): Remove unused file_mtime.
24195         (init_traced_file): New inline function.
24196         (define_traced_file): New macro.
24197         * nss/nss_db/db-init.c: Use define_traced_file.
24198         (_nss_db_init): Use init_traced_file.
24199         * nss/nss_files/files-init.c: Use define_traced_file.
24200         (_nss_files_init): Use init_traced_file.
24202 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24204         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24205         [_LIBC]: Do not include <stdlib.h>.
24206         [!_LIBC] (abort): Remove declaration.
24207         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24208         _FP_STATIC_ASSERT instead of conditionally calling abort.
24209         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24210         (_FP_EXTEND_CNAN): Likewise.
24211         (FP_TRUNC): Likewise.
24212         (__FP_CLZ): Likewise.
24213         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24215 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24217         * manual/string.texi (XPG basename): Fix prototype.
24219 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24221         [BZ #18080]
24222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24223         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24224         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24225         (__setcontext): Likewise.
24226         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24227         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24228         Call rt_sigprocmask syscall one time to set new signal mask
24229         and retrieve the current signal mask instead of two calls.
24230         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24231         (__swapcontext): Likewise.
24232         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24233         * stdlib/tst-setcontext2.c: New file.
24235 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24237         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24239 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24241         [BZ #18093]
24242         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24243         the wrong size.
24245 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24247         [BZ #18043]
24248         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24250 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24252         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24253         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24254         Remove define.
24255         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24256         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24257         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24258         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24259         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24260         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24261         define.
24262         * nptl_db/td_symbol_list.c (td_lookup): Remove
24263         HAVE_ASM_GLOBAL_DOT_NAME code.
24264         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24265         HAVE_ASM_GLOBAL_DOT_NAME check.
24266         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24267         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24268         (DOT_LABEL): Remove define.
24269         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24270         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24271         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24272         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24273         (__TLS_GET_ADDR): Likewise.
24274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24275         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24277 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24279         [BZ #18111]
24280         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24281         (_FPU_SETCW): Initialize cw from fpsr before storing.
24282         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24283         (fesetexceptflag): Rewrite using fpu_control.h.
24284         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24286 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24288         [BZ #18110]
24289         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24290         asms.
24291         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24293 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24295         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24296         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24297         abort.
24298         (_FP_FMA): Likewise.
24299         (_FP_DIV): Likewise.
24301 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24303         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24304         with 0 in that case.
24305         * Makefile (summarize-tests): New canned sequence, factored out of
24306         commands for targets tests and xtests.  Display summary lines that
24307         don't start with PASS: or XFAIL: rather than ones that do start with
24308         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24309         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24310         do start with ERROR: or FAIL:.
24311         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24312         (except for [$(build-shared) = yes]).
24313         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24314         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24315         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24316         * nptl/Makefile: Revert 2015-03-04 changes.
24317         [$(CXX) empty] (tests-unsupported): New variable.
24318         * debug/Makefile: Likewise.
24320         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24321         gnulib file.  Replace __attribute with __attribute__ throughout.
24323 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24325         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24327 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24329         [BZ #18104]
24330         * math/auto-libm-test-in: Add another test of pow.
24331         * math/auto-libm-test-out: Regenerated.
24333 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24335         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24336         $(config-cflags-nofma).
24338 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24340         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24341         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24342         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24343         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24344         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24345         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24346         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24347         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24348         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24349         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24350         Add comment on closing #endif.
24352 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24354         * posix/wordexp.c (CHAR_IN_SET): New macro.
24355         (parse_param): Use it.
24357 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24359         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24361 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24363         [BZ #18043]
24364         * posix/wordexp.c (parse_param): Fix buffer overflow.
24365         * posix/wordexp-test.c (test_case): Add test case.
24367 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24369         [BZ #18042]
24370         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24371         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24373 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24375         [BZ #18043]
24376         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24377         (do_bz18043): Delete.
24378         (at_page_end): New.
24379         (testit): Refactor to have words at the edge of unreadable page.
24381 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24383         [BZ #16734]
24384         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24385         Cleanup read-only streams as well.
24386         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24388 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24390         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24391         <bits/libc-lockP.h>
24393 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24395         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24396         on [__KERNEL__].
24397         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24398         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24399         * soft-fp/op-common.h (_FP_DECL): Likewise.
24401 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24403         * elf/ifuncdep2.c (global): Replace
24404         __attribute__((visibility("protected"))) with
24405         asm (".protected global").
24406         * elf/ifuncmod1.c (global): Likewise.
24407         * elf/ifuncmod5.c (global): Likewise.
24409 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24411         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24412         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24414 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24416         * manual/install.texi (Configuring and compiling):
24417         Document test-wrapper-env-only.
24418         * INSTALL: Regenerated.
24420 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24422         [BZ #18043]
24423         * posix/wordexp.c (parse_param): Fix buffer overflow.
24424         * posix/wordexp-test.c (do_bz18043): Add test case.
24426 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24428         * time/tst-strptime2.c (do_test): Ensure failing tests are
24429         reported correctly.
24430         * time/tst-strptime3.c (do_test): Likewise.
24432 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24434         Fix aio_error thread-safety.
24435         * sysdeps/pthread/aio_error.c: New file
24436         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24437         synchronization.
24439 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24441         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24442         (group_number, vfprintf): Use it.
24443         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24444         (JUMP, REF): Use it.
24445         (WORK_BUFFER_SIZE): New enum constant.
24446         (process_arg, vfprintf): Use it.
24448 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24450         * manual/errno.texi (Error Messages): Complete example function
24451         by adding missing #define.
24452         (program_invocation_name): Add statement indicating GNU
24453         extension and reference which header file declares the variable.
24454         (program_invocation_short_name): Likewise.
24456 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24458         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24459         compatibility note.
24461 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24463         * Makeconfig (test-wrapper-env-only): New variable.
24464         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24465         then use that with $(test-wrapper-env-only) rather than using
24466         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24468 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24470         [BZ #18082]
24471         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24472         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24473         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24474         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24475         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24476         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24477         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24478         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24479         Likewise.
24480         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24481         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24482         Likewise.
24483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24484         Likewise.
24485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24486         Likewise.
24487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24488         Likewise.
24489         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24491         Likewise.
24492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24493         Likewise.
24494         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24495         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24497 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24499         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24500         (ETH_ALEN): New macro.
24501         (struct ether_addr): Use it for length of ether_addr_octet.
24503         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24504         (setdb): Don't call __nss_configure_lookup for "rpc".
24505         (do_test): Don't call test_rpc.
24506         (output_rpcent, test_rpc): Functions moved ...
24507         * sunrpc/test-rpcent.c: ... to this new file.
24508         * sunrpc/Makefile (tests): Add it.
24510         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24511         __xpg_sigpause.
24512         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24513         * nptl/tst-signal6.c: Likewise.
24514         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24515         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24517         * configure.ac (libc_cv_cxx_link_ok): New check.
24518         Reset CXX to empty if it fails to link.
24519         * configure: Regenerated.
24520         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24521         bug-atexit3-lib only if $(CXX) is nonempty.
24522         * nptl/Makefile (tests): Likewise for tst-cancel24.
24523         (tests, tests-static): Likewise for tst-cancel24-static.
24524         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24525         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24526         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24527         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24529 2015-03-04  Andreas Schwab  <schwab@suse.de>
24531         [BZ #17631]
24532         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24533         for non-GCC compilers.
24534         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24535         Likewise.
24537 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24539         [BZ #17776]
24540         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24541         integer before bitwise and assembly operations.
24542         (feclearexcept): Likewise.
24543         * math/test-fenvinline.c: New file.
24544         * math/Makefile: Add test-fenvinline test.
24546 2015-03-03  Alan Modra  <amodra@gmail.com>
24548         [BZ #16512]
24549         * scripts/localplt.awk: Strip off symbol version.
24550         * NEWS: Mention bug fix.
24552 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24554         * sysdeps/pthread/timer_routines.c
24555         (timer_free_list, thread_free_list, thread_active_list): Make static.
24557 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24559         [BZ #17779]
24560         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24561         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24562         Undefine.
24563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24564         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24565         Likewise.
24566         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24567         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24568         Likewise.
24570 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24572         [BZ #18036]
24573         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24574         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24576 2015-03-02  Andreas Schwab  <schwab@suse.de>
24578         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24579         variable name.
24581 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24583         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24584         Return error status.
24586 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24588         [BZ #15969]
24589         * locale/findlocale.c (_nl_find_locale): Introduce const
24590         version of loc_name and drop unsafe type casts.
24592 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24594         * dlfcn/tststatic2.c (main): Converted to ...
24595         (do_test): ... this.
24596         (TEST_FUNCTION): New macro.
24597         Include test-skeleton.c.
24599 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24601         [BZ #17711]
24602         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24603         (tests-pie): Add vismain.
24604         (CFLAGS-vismain.c): New.
24605         * elf/vismain.c: Add comments for PIE requirement.
24607 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24609         [BZ #18046]
24610         [BZ #18047]
24611         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24612         0x1p-56L as threshold for just returning the argument.
24613         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24614         0x1p-32L as threshold for just returning the argument.
24615         * math/auto-libm-test-in: Add more tests of atanh.
24616         * math/auto-libm-test-out: Regenerated.
24617         * sysdeps/i386/fpu/libm-test-ulps: Update.
24618         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24620 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24622         * string/bcopy.c (bcopy): Call memmove for performance.
24624 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24626         * string/bzero.c (__bzero): Call memset for performance.
24628 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24630         [BZ #18068]
24631         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24632         to 00100000.
24634 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24636         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24638 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24640         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24641         (__kernel_standard): Use CSTR macro when setting exc.name.
24642         * sysdeps/ieee754/Makefile [$(subdir) = math]
24643         (CFLAGS-k_standard.c): Remove variable.
24645         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24646         setting p and q from "else if" to "else".
24647         (qzero): Likewise.
24648         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24649         (qone): Likewise.
24650         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24651         (qzerof): Likewise.
24652         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24653         (qonef): Likewise.
24654         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24655         (qzero): Likewise.
24656         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24657         (qone): Likewise.
24659         [BZ #18038]
24660         [BZ #18039]
24661         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24662         return pi/2 for arguments below 0x1p-113L.
24663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24664         return pi/2 for arguments below 0x1p-106L.
24665         * math/auto-libm-test-in: Add more tests of acos.
24666         * math/auto-libm-test-out: Regenerated.
24668         [BZ #16351]
24669         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24670         (MO): New macro.
24671         (__ieee754_asin): Force underflow exception for results with small
24672         absolute value.
24673         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24674         (MO): New macro.
24675         (__ieee754_asinf): Force underflow exception for results with
24676         small absolute value.
24677         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24678         (__ieee754_asin): Force underflow exception for results with small
24679         absolute value.
24680         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24681         (__ieee754_asinf): Force underflow exception for results with
24682         small absolute value.
24683         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24684         (__ieee754_asinl): Force underflow exception for results with
24685         small absolute value.
24686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24687         (__ieee754_asinl): Force underflow exception for results with
24688         small absolute value.
24689         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24690         (__ieee754_asinl): Force underflow exception for results with
24691         small absolute value.
24692         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24693         Include <math.h>.
24694         * math/auto-libm-test-in: Do not mark underflow exceptions as
24695         possibly missing for bug 16351.
24696         * math/auto-libm-test-out: Regenerated.
24698         [BZ #18030]
24699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24700         of power of 2 down when low part has opposite sign.
24701         * math/libm-test.inc (logb_test_data): Add more tests.
24703 2015-02-26  Andreas Schwab  <schwab@suse.de>
24705         [BZ #18032]
24706         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24707         over collating symbol inside a bracket expression.  Minor cleanup.
24708         * posix/tst-fnmatch3.c (do_test): Add test case.
24710 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24712         [BZ #18029]
24713         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24714         Adjust exponent of power of 2 down when low part has opposite
24715         sign.
24716         * math/libm-test.inc (ilogb_test_data): Add more tests.
24718 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24720         [BZ #15969]
24721         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24722         the previous change.
24724         [BZ #15969]
24725         * locale/findlocale.c (_nl_find_locale): Retry archive search
24726         after alias expansion.
24728 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24730         * iconv/tst-iconv3.c (main): Converted to ...
24731         (do_test): ... this.
24732         (TEST_FUNCTION): New macro.
24733         Include test-skeleton.c.
24735         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24736         (convert): Make function static.
24737         (test_unalign): Likewise.  Add const to argument pointee types.
24738         (main): Replace with static function do_test.
24739         Print "Succeeded." only if RET is zero.
24740         (TEST_FUNCTION): New macro.
24741         Include test-skeleton.c.
24743         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24744         returns a null pointer.
24746 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24748         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24749         to __memcpy_ppc only for static builds.
24751 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #18020]
24754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24755         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24756         * math/auto-libm-test-in: Add more tests of asinh.
24757         * math/auto-libm-test-out: Regenerated.
24758         * sysdeps/i386/fpu/libm-test-ulps: Update.
24759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24761 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24763         [BZ #15850]
24764         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24765         and ip6_mtuinfo definitions here.
24766         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24767         in this define too.  Update comment.
24769 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24771         * elf/sprof.c (load_shobj): Tweak error message to match others.
24773 2015-02-24  Kevin Easton  <kevin@guarana.org>
24775         [BZ #16145] (partial fix)
24776         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24777         to reduce lock contention.
24779 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24781         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24782         (struct timex): Update time comment.
24783         (ADJ_SETOFFSET): Define.
24785 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24787         [BZ #18019]
24788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24789         2**56 not 2**28 as threshold for log (2x) formula.
24790         * math/auto-libm-test-in: Add more tests of acosh.
24791         * math/auto-libm-test-out: Regenerated.
24792         * sysdeps/i386/fpu/libm-test-ulps: Update.
24793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24795 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24797         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24798         parenthesis around the buf assignment.
24799         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24801 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24803         [BZ #16783]
24804         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24805         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24806         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24807         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24808         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24809         * math/libm-test.inc (scalb_test_data): Add more tests.
24811 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24813         [BZ #17916]
24814         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24815         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24817 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24819         [BZ #17523]
24820         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24821         * io/bits/fcntl2.h (open): Use it.
24822         (openat): Likewise.
24823         * io/open.c (__libc_open): Likewise.
24824         * io/open64.c (__libc_open64): Likewise.
24825         * io/open64_2.c (__open64_2): Likewise.
24826         * io/open_2.c (__open_2): Likewise.
24827         * io/openat.c (__openat): Likewise.
24828         * io/openat64.c (__openat64): Likewise.
24829         * io/openat64_2.c (__openat64_2): Likewise.
24830         * io/openat_2.c (__openat_2): Likewise.
24831         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24832         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24833         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24834         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24835         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24836         (__open_nocancel): Likewise.
24837         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24838         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24839         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24841 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24843         [BZ #14841]
24844         * resolv/gethnamaddr.c (getanswer): Skip logging if
24845         RES_USE_DNSSEC is set.
24846         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24848 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24850         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24852 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24854         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24855         201304L, for Unicode 7.
24857 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24859         [BZ #17836]
24860         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24861         shared library.  Add gmon-start.os otherwise.
24862         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24863         $(objpfx)gmon-start.os if builing shared library.
24864         ($(objpfx)g$(static-start-installed-name)): Likewise.
24866 2015-02-23  Andreas Schwab  <schwab@suse.de>
24868         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24870 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24872         [BZ #17269]
24873         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24874         (enlarge_userbuf): Likewise.
24876 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24878         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24879         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24880         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24881         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24883 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24885         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24886         expression inside statement expression.
24888 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24891         <sysdeps/nptl/lowlevellock.h> and remove macros and
24892         functions that are now defined there.
24893         (SYS_futex): Remove.
24894         (lll_compare_and_swap): Remove.
24895         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24897 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24899         [BZ #17999]
24900         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24901         instead of scandirat.
24902         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24903         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24904         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24905         __scandirat.
24906         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24907         (__scandirat): Declare.  Use libc_hidden_proto.
24908         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24909         Remove variable.
24910         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24912 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24914         [BZ #15319]
24915         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24916         (MO): New macro.
24917         (__ieee754_atan2): For results with small absolute value, force
24918         underflow exception and remove excess range and precision from
24919         return value.
24920         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24921         (MO): New macro.
24922         (__ieee754_atan2f): For results with small absolute value, force
24923         underflow exception and remove excess range and precision from
24924         return value.
24925         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24926         (MO): New macro.
24927         (__atan): For results with small absolute value, force underflow
24928         exception and remove excess range and precision from return value.
24929         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24930         (MO): New macro.
24931         (__atanf): For results with small absolute value, force underflow
24932         exception and remove excess range and precision from return value.
24933         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24934         <math.h>.
24935         (__ieee754_atan2): Force underflow exception for results with
24936         small absolute value.
24937         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24938         <math_private.h>.
24939         (atan): Force underflow exception for results with small absolute
24940         value.
24941         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24942         (__atanf): Force underflow exception for results with small
24943         absolute value.
24944         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24945         <math.h>.
24946         (__atanl): Force underflow exception for results with small
24947         absolute value.
24948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24949         (__atanl): Force underflow exception for results with small
24950         absolute value.
24951         * sysdeps/x86/fpu/bits/mathinline.h
24952         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24953         (__ieee754_atan2): Only define inline for long double.
24954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24955         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24956         * math/auto-libm-test-in: Do not mark underflow exceptions as
24957         possibly missing for bug 15319.  Add more tests of atan2.
24958         * math/auto-libm-test-out: Regenerated.
24959         * math/libm-test.inc (casin_test_data): Do not mark underflow
24960         exceptions as possibly missing for bug 15319.
24961         (casinh_test_data): Likewise.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update.
24964 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24966         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24967         * sysdeps/mips/bits/endian.h: Fix comments.
24969 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24971         [BZ #17996]
24972         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24973         (hdestroy_r): Likewise.
24974         (hsearch_r): Likewise.
24975         (__hcreate_r): Declare and use libc_hidden_proto.
24976         (__hdestroy_r): Likewise.
24977         (__hsearch_r): Likewise.
24978         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24979         (hcreate): Call __hcreate_r instead of hcreate_r.
24980         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24981         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24982         as weak alias of __hcreate_r.
24983         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24984         __hdestroy_r.
24985         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24986         __hsearch_r.
24987         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24988         Remove variable.
24989         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24990         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24991         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24992         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24994 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24996         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24997         arena_lock into a single arena_get.
24999 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25001         * dl-reloc.c: Inlucde libc-internal.h.
25002         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25003         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25004         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25005         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25006         (grow_heap): Likewise.
25007         * malloc/malloc.c: Include libc-internal.h.
25008         (do_check_malloc): Call powerof2.
25009         (sysmalloc): Use pagesize. Call ALIGN_UP.
25010         (systrim): Use pagesize.
25011         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25012         (__libc_valloc): Use pagesize.
25013         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25015 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25017         [BZ #17991]
25018         * include/sys/resource.h (__getrlimit64): Declare.  Use
25019         libc_hidden_proto.
25020         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25021         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25022         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25023         getrlimit64.
25024         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25025         __getrlimit64.
25026         [!getrlimit64] (getrlimit64): Define as weak alias of
25027         __getrlimit64.  Use libc_hidden_weak.
25028         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25029         using __getrlimit64 not __new_getrlimit64.
25030         (__GI_getrlimit64): Likewise.
25031         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25032         Likewise.
25033         (__GI_getrlimit64): Likewise.
25034         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25036         (getrlimit): Add __getrlimit64 alias.
25037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25038         Likewise.
25039         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25040         Remove variable.
25041         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25042         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25044 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25046         * libio/fileops.c: Add missing sys/mman.h
25047         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25049 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25051         * manual/math.texi (Errors in Math Functions): Clarify goals
25052         regarding inexact and underflow exceptions.
25054 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25056         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25057         * sysdeps/mips/memset.S: Ditto.
25059 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25061         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25063 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25065         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25066         (__v1longjmp): Remove versioned symbol.
25067         (__v1siglongjmp): Remove alias and versioned symbol.
25068         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25069         (__v2siglongjmp): Likewise.
25071 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25073         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25075 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25077         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25079 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25081         [BZ #17987]
25082         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25083         zero result does not depend on the sign resulting from
25084         subtraction.
25085         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25086         Likewise.
25087         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25088         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25089         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25090         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25091         * math/libm-test.inc (remquo_test_data): Add more tests.
25093 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25095         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25096         Problem reported by J William Piggott.
25098 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25100         [BZ #17978]
25101         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25102         products 4 * y and 2 * y where those would overflow.
25103         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25104         Likewise.
25105         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25106         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25108         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25109         * math/libm-test.inc (remquo_test_data): Add more tests.
25111         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25113         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25114         [defined _COMPILING_NEWLIB].
25115         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25116         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25118         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25119         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25121 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25123         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25124         acquired.
25126 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25128         [BZ #17792]
25129         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25130         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25131         HOST_STACK_END_ADDR): Likewise.
25133 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25135         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25136         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25137         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25139 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25141         * sysdeps/generic/c++-types.data: New file.
25142         * sysdeps/generic/ld.abilist: New file.
25143         * sysdeps/generic/libBrokenLocale.abilist: New file.
25144         * sysdeps/generic/libanl.abilist: New file.
25145         * sysdeps/generic/libc.abilist: New file.
25146         * sysdeps/generic/libcrypt.abilist: New file.
25147         * sysdeps/generic/libdl.abilist: New file.
25148         * sysdeps/generic/libm.abilist: New file.
25149         * sysdeps/generic/libpthread.abilist: New file.
25150         * sysdeps/generic/libresolv.abilist: New file.
25151         * sysdeps/generic/librt.abilist: New file.
25153 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25155         [BZ #17569]
25156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25157         Compute absolute value of x as modified by fmod, not original
25158         value of x.
25159         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25160         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25161         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25162         RUN_TEST_ffI_f1_mod8.
25163         (remquo_test_data): Add more tests.
25165 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25167         * sysdeps/init_array/pt-crti.S: New file.
25169 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25171         [BZ #17967]
25172         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25173         __builtin_fmaf instead of relying on contraction of a * b + c.
25175 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25177         [BZ #17969]
25178         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25179         node.
25181 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25183         [BZ #17964]
25184         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25185         __builtin_fma instead of relying on contraction of a * b + c.
25187 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25189         * Makeconfig (ASFLAGS): Add -Werror=undef.
25190         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25191         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25192         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25194         * Makeconfig (after-link): New variable.
25195         (+link-pie, +link-pie-tests): Use it.
25196         (+link-static, +link-static-tests): Likewise.
25197         (+link, +link-tests): Likewise.
25198         * Makerules (build-module, build-module-asneeded): Likewise.
25199         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25200         Likewise.
25201         * elf/Makefile ($(objpfx)ld.so): Likewise.
25203 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25205         [BZ #17965]
25206         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25207         both struct timeval and struct timespec.
25209 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25211         [BZ #16560]
25212         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25213         and redefine.
25214         (__ieee754_exp2l): Do not multiply small fractional parts by
25215         M_LN2l.
25216         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25217         small argument.
25218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25219         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25220         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25221         * math/auto-libm-test-in: Add more tests of exp2.
25222         * math/auto-libm-test-out: Regenerated.
25224 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25226         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25227         unaligned path.
25229 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25231         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25232         little endian.
25234 2015-02-12  Andreas Schwab  <schwab@suse.de>
25236         [BZ #15790]
25237         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25238         Filter out elision flags from value returned in kind.
25239         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25240         * nptl/tst-pthread-mutexattr.c: New file.
25242 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25244         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25245         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25246         into gnu-gnu, and update comment to refer to abi-tags.
25248 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25250         [BZ #15467]
25251         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25252         (__sincos): Set errno to EDOM for infinite argument.
25253         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25254         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25255         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25256         (__sincosl): Set errno to EDOM for infinite argument.
25257         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25258         (__sincosl): Set errno to EDOM for infinite argument.
25259         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25260         (__sincosl): Set errno to EDOM for infinite argument.
25261         * math/libm-test.inc (sincos_test_data): Test errno setting.
25263 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25265         * string/strxfrm_l.c: Remove #define STRCMP.
25266         * string/strcoll_l.c: Remove #define STRLEN.
25267         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25268         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25270 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25272         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25273         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25274         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25275         * sysdeps/mips/mips64/Makefile: ... here.
25276         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25277         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25278         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25279         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25280         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25281         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25282         * sysdeps/mips/mips64/n64/Implies: Likewise.
25284 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25286         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25287         <sys/time.h>, <string.h>, and <errno.h>.
25288         (dest_offset, dest_address, value, zero): Remove unused variables.
25289         (ldouble): Remove typedef.
25290         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25291         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25292         1).  Fix code style.
25293         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25294         (check): Function removed.
25295         (CHECK): New macro.
25296         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25297         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25298         Don't call set_sigaction_FP and remove_sigaction_FP here.
25299         (ldouble_test): Just use 'long double' as macro argument, no need for
25300         the 'ldouble' typedef.
25301         (do_test): Set up SIGFPE handler at start, using plain signal rather
25302         than sigaction.  Fix code style.
25304 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25306         [BZ #17949]
25307         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25308         jump label.
25310 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25312         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25313         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25315         * sysdeps/powerpc/configure.ac: Remove file.
25316         * sysdeps/powerpc/configure: Likewise.
25318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25319         [sysdep_routines]: Remove wordcopy-power6 object.
25320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25321         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25323         (__memmove_ppc32): Likewise.
25324         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25325         file.
25326         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25327         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25328         Remove preprocessor.
25330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25331         [sysdep_routines]: Remove wide chars objects.
25332         [wcsmbs]: New rule for wide char objects.
25334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25335         Remove wordcopy-power6 obejct.
25336         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25337         Use local call for wordcopy and memcpy symbols.
25338         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25339         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25340         implementation for loader.
25341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25344         Remove wordcopy-power7 object.
25345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25347         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25348         (_wordcopy_fwd_dest_aligned): Likewise.
25349         (_wordcopy_bwd_aligned): Likewise.
25350         (_wordcopy_bwd_dest_aligned): Likewise.
25352         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25353         Rewrite to call __memmove_ppc instead of include default
25354         implementation.
25356         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25357         Remove wide chars objects.
25358         [wcsmbs]: New rule for wide char objects.
25360 2015-02-09  Andreas Schwab  <schwab@suse.de>
25362         [BZ #17912]
25363         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25364         in terms of __O_DIRECTORY.
25366 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25368         * time/getdate.c: Include <stdbool.h>.
25369         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25370         call PTR_MANGLE.
25371         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25372         PTR_DEMANGLE.
25374 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25376         Add ersatz _Static_assert on older C hosts
25377         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25378         pre-C11 C platform that is not known to support _Static_assert.
25380 2015-02-07  Richard Braun  <rbraun@sceen.net>
25382         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25383         sigstate.
25384         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25386 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25388         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25389         priority against unexistent AIO_PRIO_DELTA_MAX.
25390         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25391         instead of int.
25392         * misc/fchflags.c (fchflags): Likewise.
25393         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25394         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25395         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25396         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25397         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25398         Declare macros.
25399         [__USE_MISC] (chflags, fchflags): Declare functions.
25400         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25401         EINVAL when nfds is greater than FD_SETSIZE.
25402         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25403         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25404         45.
25405         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25406         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25407         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25408         MACH_RCV_TIMED_OUT.
25409         * hurd/hurd/signal.h (_hurd_self_sigstate,
25410         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25411         Explicit casts from void *.
25412         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25413         * abi-tags: Rename gnu-gnu os into gnu.
25415         [BZ #4719]
25416         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25417         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25418         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25419         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25420         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25421         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25423         [BZ #17944]
25424         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25425         duplicates ADDR->sun_path with sockaddr LEN limitation.
25426         * sysdeps/mach/hurd/connect.c: Include <string.h>
25427         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25428         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25429         * sysdeps/mach/hurd/sendto.c: Likewise.
25430         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25431         implementing it by hand.
25433 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25435         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25436         Use sfi_breg on ldr.
25437         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25438         Likewise.
25440         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25441         it's defined.
25442         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25443         Test SIGSETXID only if it's defined.
25445         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25447         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25448         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25450         * nptl/tst-align2.c: Moved ...
25451         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25452         * nptl/Makefile (tests): Remove tst-align2.
25453         * sysdeps/unix/sysv/linux/Makefile
25454         [$(subdir) = nptl] (tests): Add tst-align-clone.
25455         * nptl/tst-getpid1.c: Moved ...
25456         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25457         * nptl/tst-getpid2.c: Moved ...
25458         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25459         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25460         * sysdeps/unix/sysv/linux/Makefile
25461         [$(subdir) = nptl] (tests): ... here.
25462         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25463         * sysdeps/unix/sysv/linux/Makefile
25464         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25466         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25467         Drop trailing \n from perror argument.  Use return rather than exit.
25469         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25470         on [SA_SIGINFO].
25471         * nptl/tst-cancel21.c (do_test): Likewise.
25472         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25473         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25474         [!SA_SIGINFO]: Make it a stub test.
25476         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25477         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25479         * posix/tst-getlogin.c: Move to ...
25480         * login/tst-getlogin.c: ... here.
25481         * posix/Makefile (tests): Move tst-getlogin to ...
25482         * login/Makefile (tests): ... here.
25484         * libio/tst-atime.c (do_test): Move local variables SV and E
25485         inside [ST_NOATIME] conditional.
25487         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25489         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25491         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25492         (wait_code): New function replaces macro.
25493         Call nanosleep rather than syscall.
25495         * nptl/pt-system.c: Rewritten.  Put everything under
25496         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25497         Use IFUNC to redirect when possible.
25499         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25500         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25501         Use IFUNC to redirect when possible.
25503         * nptl/pt-fork.c: Rewritten.  Put everything under
25504         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25505         Use IFUNC to redirect when possible.
25506         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25509         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25510         unconditionally nowadays.  This included the only reference to
25511         __vdso_clock_gettime that appears outside libc proper.
25512         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25513         Remove version set (containing only __vdso_clock_gettime).
25514         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25515         Add attribute_hidden.
25516         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25517         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25518         libc_hidden_data_def.
25519         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25520         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25522         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25523         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25524         setrpcent, and getrpcport to ...
25525         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25526         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25527         getrpcbynumber_r, and getrpcent_r to ...
25528         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25529         * inet/getrpcbyname.c: Moved ...
25530         * sunrpc/getrpcbyname.c: ... here.
25531         * inet/getrpcbyname_r.c: Moved ...
25532         * sunrpc/getrpcbyname_r.c: ... here.
25533         * inet/getrpcbynumber.c: Moved ...
25534         * sunrpc/getrpcbynumber.c: ... here.
25535         * inet/getrpcbynumber_r.c: Moved ...
25536         * sunrpc/getrpcbynumber_r.c: ... here.
25537         * inet/getrpcent.c: Moved ...
25538         * sunrpc/getrpcent.c: ... here.
25539         * inet/getrpcent_r.c: Moved ...
25540         * sunrpc/getrpcent_r.c: ... here.
25541         * inet/Makefile (routines): Move those to ...
25542         * sunrpc/Makefile (routines): ... here.
25543         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25544         the $(subdirs) list.
25545         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25546         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25547         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25548         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25550         * elf/Makefile (routines): Include $(all-dl-routines), not just
25551         $(dl-routines).
25552         (rtld-routines): Likewise.  Use = rather than :=.
25553         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25554         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25555         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25556         * sysdeps/arm/Makefile: Likewise.
25557         * sysdeps/i386/Makefile: Likewise.
25558         * sysdeps/x86_64/Makefile: Likewise.
25559         * sysdeps/hppa/Makefile [$(subdir) = elf]
25560         (sysdep_routines, sysdep-rtld-routines): Don't add
25561         $(sysdep-dl-routines) to these.
25562         * sysdeps/ia64/Makefile: Likewise.
25563         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25564         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25565         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25566         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25567         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25568         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25569         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25570         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25571         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25572         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25573         these; sysdep-dl-routines alone is enough.
25575 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25577         [BZ #17932]
25578         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25579         where multiplication results in zero and third argument is finite
25580         and nonzero.
25581         * math/auto-libm-test-in: Add more tests of fma.
25582         * math/auto-libm-test-out: Regenerated.
25584         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25585         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25586         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25587         (_FP_CMP_EQ): Likewise.
25588         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25590         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25591         extra argument CHECK_NAN.  Redefine as wrapper around
25592         _FP_EXTEND_CNAN.
25594 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25596         * version.h (RELEASE): Set to "stable".
25597         (VERSION): Set to "2.21"
25598         * include/features.h (__GLIBC_MINOR__): Set to 21.
25600         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25602 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25603             Paul Eggert  <eggert@cs.ucla.edu>
25605         [BZ #16618]
25606         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25607         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25608         size in bytes. Store needed elements in wpmax. Use needed size
25609         in bytes for extend_alloca.
25611 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25613         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25614         binutls 2.25, and texinfo 5.2.
25615         * INSTALL: Regenerate.
25616         * sysdeps/nios2/configure: Regenerate.
25617         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25618         * manual/contrib.texi: Update.
25619         * po/be.po: Update.
25620         * po/bg.po: Update.
25621         * po/ca.po: Update.
25622         * po/cs.po: Update.
25623         * po/da.po: Update.
25624         * po/de.po: Update.
25625         * po/el.po: Update.
25626         * po/eo.po: Update.
25627         * po/es.po: Update.
25628         * po/fi.po: Update.
25629         * po/fr.po: Update.
25630         * po/gl.po: Update.
25631         * po/hr.po: Update.
25632         * po/hu.po: Update.
25633         * po/ia.po: Update.
25634         * po/id.po: Update.
25635         * po/it.po: Update.
25636         * po/ja.po: Update.
25637         * po/ko.po: Update.
25638         * po/lt.po: Update.
25639         * po/nb.po: Update.
25640         * po/nl.po: Update.
25641         * po/pl.po: Update.
25642         * po/pt_BR.po: Update.
25643         * po/ru.po: Update.
25644         * po/rw.po: Update.
25645         * po/sk.po: Update.
25646         * po/sl.po: Update.
25647         * po/sv.po: Update.
25648         * po/tr.po: Update.
25649         * po/uk.po: Update.
25650         * po/vi.po: Update.
25651         * po/zh_CN.po: Update.
25652         * po/zh_TW.po: Update.
25654         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25655         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25656         * sysdeps/hppa/dl-irel.h: Remove #warning.
25657         * sysdeps/hppa/entry.h: Provide prototype for
25658         __canonicalize_funcptr_for_compare and cast argument.
25659         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25660         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25661         * sysdeps/hppa/sotruss-lib.c: New file.
25662         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25663         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25664         (atomic_compare_and_exchange_bool_acq): Likewise.
25665         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25666         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25668         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25669         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25670         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25672 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25674         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25675         called function in non-PIC case.
25677 2015-01-31  David S. Miller  <davem@davemloft.net>
25679         * sysdeps/sparc/sparc32/bits/atomic.h
25680         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25681         unlock not after it.
25682         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25683         volatile register usage warnings from the compiler.
25685         * sysdeps/sparc/nptl/sem_init.c: Delete.
25686         * sysdeps/sparc/nptl/sem_post.c: Delete.
25687         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25688         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25689         * sysdeps/sparc/sparc32/sem_init.c: New file.
25690         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25691         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25692         padding explicitly initialized.
25693         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25694         padding for in-semaphore spinlock.
25695         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25696         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25697         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25698         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25699         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25700         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25701         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25702         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25703         version.
25704         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25705         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25707 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25709         [BZ #17801]
25710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25711         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25712         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25713         New.
25714         (index_AVX_Fast_Unaligned_Load): Likewise.
25715         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25716         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25717         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25718         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25719         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25720         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25721         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25722         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25723         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25725 2015-01-29  Andreas Schwab  <schwab@suse.de>
25727         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25729 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25731         [BZ #17892]
25732         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25734 2015-01-28  Martin Sebor  <msebor@redhat.com>
25736         * math/README.libm-test: Clarify. Add "How to read the test output."
25738 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25740         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25741         Define to 0.
25743 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25745         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25746         (__HAVE_64B_ATOMICS): Define to 0.
25748 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25750         [BZ #17885]
25751         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25752         value to set as new flag.
25754         [BZ #16576]
25755         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25756         and use _ARCH_PPCSQ instead.
25757         (__ieee754_sqrt): Likewise.
25758         (__ieee754_sqrtf): Likewise.
25759         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25760         _ARCH_PPCSQ is defined.
25761         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25762         fsqrt instruction.
25763         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25764         _ARCH_PPCSQ is defined.
25765         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25766         fsqrts instruction.
25767         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25769 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25771         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25772         bug (GCC BZ #64739).
25774 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25777         Mark _retval as used.
25778         (lll_futex_wake_unlock): Likewise.
25779         (lll_futex_timed_wait_requeue_pi): Likewise.
25781         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25782         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25783         register variables.
25785         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25786         libm_hidden_def.
25788         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25789         (__bswap_64): Mark as __always_inline.
25791 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25793         [BZ #15378]
25794         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25795         when none of the search directories exist.
25797 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25799         [BZ #17869]
25800         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25801         power8 in .machine directive.
25803         [BZ #17868]
25804         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25805         set dependency from opd value.
25807 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25810         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25811         architecture.
25813 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25815         [BZ #17870]
25816         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25817         with uint64_t.
25818         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25819         (uint64_t) 1.
25820         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25821         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25822         Replace 1UL with (uint64_t) 1.
25823         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25824         int with uint64_t.
25826 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25828         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25829         (if_freenameindex): Likewise.
25831         * resource/getrlimit64.c: Add missing libc_hidden_def.
25833 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25835         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25836         __label__.
25837         (_FP_FMA): Likewise.
25838         (_FP_TO_INT_ROUND): Likewise.
25839         (_FP_FROM_INT): Likewise.
25841 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         [BZ #16418]
25844         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25845         Make code racy and cancel safe.
25847 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25849         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25850         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25851         attribution.
25853         * pwd/tst-getpw.c: Rewrite.
25855         [BZ #17702]
25856         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25857         (modules-names): Add moddummy1 and moddummy2.
25858         ($(objpfx)tst-rec-dlopen): Define.
25859         * dlfcn/moddummy1.c: New file.
25860         * dlfcn/moddummy2.c: New file.
25861         * dlfcn/tst-rec-dlopen.c: New file.
25862         * elf/dl-cache.c (_dl_load_cache_lookup):
25863         Return char*. Copy result with alloca/strcpy/strdup.
25864         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25865         returns char*. Free cached. If not saving realname
25866         free cached.
25867         * elf/dl-open.c (dl_open_worker): Do not assert that
25868         _r_debug->r_state is RT_CONSISTENT.
25869         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25870         returns char*.
25872 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25873             Carlos O'Donell  <carlos@redhat.com>
25875         [BZ #12674]
25876         * nptl/sem_waitcommon.c: New file.
25877         * nptl/sem_wait.c: Include sem_waitcommon.c.
25878         (__sem_wait_cleanup, do_futex_wait): Remove.
25879         (__new_sem_wait): Adapt.
25880         (__new_sem_trywait): New function.
25881         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25882         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25883         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25884         (sem_timedwait): Adapt.
25885         * nptl/sem_post.c (__new_sem_post): Adapt.
25886         (futex_wake): New function.
25887         (__old_sem_post): Add release MO fence.
25888         * nptl/sem_open.c (sem_open): Adapt.
25889         * nptl/sem_init.c (__new_sem_init): Adapt.
25890         (futex_private_if_supported): New function.
25891         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25892         (__old_sem_getvalue): Add using previous code.
25893         * sysdeps/nptl/internaltypes.h: Adapt.
25894         * nptl/tst-sem13.c (do_test): Adapt.
25895         * nptl/tst-sem11.c (main): Adapt.
25896         * nptl/sem_trywait.c: Remove.
25897         * nptl/DESIGN-sem.txt: Remove.
25898         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25899         (gen-as-const-headers): Remove structsem.sym.
25900         * nptl/structsem.sym: Remove.
25901         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25902         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25903         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25904         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25905         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25906         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25907         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25908         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25909         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25910         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25911         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25912         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25913         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25914         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25915         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25916         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25917         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25918         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25919         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25920         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25921         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25922         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25924 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25926         * INSTALL: Regenerated.
25928         * po/libc.pot: Regenerated.
25930 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25931             Sandra Loosemore  <sandra@codesourcery.com>
25932             Andrew Jenner  <andrew@codesourcery.com>
25933             Joseph Myers  <joseph@codesourcery.com>
25934             Nathan Sidwell  <nathan@codesourcery.com>
25936         * NEWS: Mention new Nios II port.
25937         * sysdeps/nios2/Implies: New file.
25938         * sysdeps/nios2/Makefile: New file.
25939         * sysdeps/nios2/Subdirs: New file.
25940         * sysdeps/nios2/Versions: New file.
25941         * sysdeps/nios2/__longjmp.S: New file.
25942         * sysdeps/nios2/abort-instr.h: New file.
25943         * sysdeps/nios2/backtrace.c: New file.
25944         * sysdeps/nios2/bits/endian.h: New file.
25945         * sysdeps/nios2/bits/fenv.h: New file.
25946         * sysdeps/nios2/bits/link.h: New file.
25947         * sysdeps/nios2/bits/setjmp.h: New file.
25948         * sysdeps/nios2/bsd-_setjmp.S: New file.
25949         * sysdeps/nios2/bsd-setjmp.S: New file.
25950         * sysdeps/nios2/configure: New generated file.
25951         * sysdeps/nios2/configure.ac: New file.
25952         * sysdeps/nios2/crti.S: New file.
25953         * sysdeps/nios2/crtn.S: New file.
25954         * sysdeps/nios2/dl-init.c: New file.
25955         * sysdeps/nios2/dl-machine.h: New file.
25956         * sysdeps/nios2/dl-sysdep.h: New file.
25957         * sysdeps/nios2/dl-tls.h: New file.
25958         * sysdeps/nios2/dl-trampoline.S: New file.
25959         * sysdeps/nios2/gccframe.h: New file.
25960         * sysdeps/nios2/gmp-mparam.h: New file.
25961         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25962         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25963         * sysdeps/nios2/ldsodefs.h: New file.
25964         * sysdeps/nios2/libc-tls.c: New file.
25965         * sysdeps/nios2/libm-test-ulps: New file.
25966         * sysdeps/nios2/machine-gmon.h: New file.
25967         * sysdeps/nios2/math-tests.h: New file.
25968         * sysdeps/nios2/math_private.h: New file.
25969         * sysdeps/nios2/memusage.h: New file.
25970         * sysdeps/nios2/nptl/Makefile: New file.
25971         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25972         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25973         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25974         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25975         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25976         * sysdeps/nios2/nptl/tls.h: New file.
25977         * sysdeps/nios2/preconfigure: New file.
25978         * sysdeps/nios2/s_fma.c: New file.
25979         * sysdeps/nios2/s_fmaf.c: New file.
25980         * sysdeps/nios2/setjmp.S: New file.
25981         * sysdeps/nios2/sfp-machine.h: New file.
25982         * sysdeps/nios2/sotruss-lib.c: New file.
25983         * sysdeps/nios2/stackguard-macros.h: New file.
25984         * sysdeps/nios2/stackinfo.h: New file.
25985         * sysdeps/nios2/start.S: New file.
25986         * sysdeps/nios2/sysdep.h: New file.
25987         * sysdeps/nios2/tls-macros.h: New file.
25988         * sysdeps/nios2/tst-audit.h: New file.
25989         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25990         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25991         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25992         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25993         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25994         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25995         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25996         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25997         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25998         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25999         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26000         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26001         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26002         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26003         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26004         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26005         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26006         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26007         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26008         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26009         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26010         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26011         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26012         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26013         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26014         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26015         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26016         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26017         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26018         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26019         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26020         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26021         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26022         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26023         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26024         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26026         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26027         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26028         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26029         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26030         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26031         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26032         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26034 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26036         [BZ #17844]
26037         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26038         (getutent): Use weak_alias in non SHARED case
26039         and default_symbol_version in SHARED case.
26040         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26041         (getutent_r, pututline): Likewise.
26042         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26043         (getutid): Likewise.
26044         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26045         (getutid_r): Likewise.
26046         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26047         (getutline): Likewise.
26048         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26049         (getutline_r): Likewise.
26050         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26051         (updwtmp): Likewise.
26053 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26055         [BZ #17848]
26056         * sysdeps/s390/s390-32/memcmp.S
26057         (memcmp_g5): Rename to __memcmp_g5.
26058         * sysdeps/s390/s390-32/memcpy.S
26059         (memcpy_g5): Rename to __memcpy_g5.
26060         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26061         (memcpy_mvcle) Rename to __memcpy_mvcle.
26062         * sysdeps/s390/s390-32/memset.S
26063         (memset_g5): Rename to __memset_g5.
26064         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26065         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26066         and use prefixed functions.
26067         * sysdeps/s390/s390-32/multiarch/memcmp.S
26068         (memcmp_z196): Rename to __memcmp_z196.
26069         (memcmp_z10): Rename to __memcmp_z10.
26070         (memcmp): Set alias to __memcmp_g5.
26071         (bcmp): Set alias to __memcmp_g5.
26072         * sysdeps/s390/s390-32/multiarch/memcpy.S
26073         (memcpy_z196): Rename to __memcpy_z196.
26074         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26075         (memcpy_z10): Rename to __memcpy_z10.
26076         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26077         (memcpy): Set alias to __memcpy_g5.
26078         * sysdeps/s390/s390-32/multiarch/memset.S
26079         (memset_z196): Rename to __memset_z196.
26080         Jump to __memset_mvcle instead of memset_mvcle.
26081         (memset_z10): Rename to __memset_z10.
26082         Jump to __memset_mvcle instead of memset_mvcle.
26083         (memset_mvcle) Rename to __memset_mvcle.
26084         (memset): Set alias to __memset_g5.
26085         * sysdeps/s390/s390-64/memcmp.S
26086         (memcmp_z900): Rename to __memcmp_z900.
26087         * sysdeps/s390/s390-64/memcpy.S
26088         (memcpy_z900): Rename to __memcpy_z900.
26089         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26090         (memcpy_mvcle) Rename to __memcpy_mvcle.
26091         * sysdeps/s390/s390-64/memset.S
26092         (memset_z900): Rename to __memset_z900.
26093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26094         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26095         and use prefixed functions.
26096         * sysdeps/s390/s390-64/multiarch/memcmp.S
26097         (memcmp_z196): Rename to __memcmp_z196.
26098         (memcmp_z10): Rename to __memcmp_z10.
26099         (memcmp): Set alias to __memcmp_z900.
26100         (bcmp): Set alias to __memcmp_z900.
26101         * sysdeps/s390/s390-64/multiarch/memcpy.S
26102         (memcpy_z196): Rename to __memcpy_z196.
26103         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26104         (memcpy_z10): Rename to __memcpy_z10.
26105         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26106         (memcpy): Set alias to __memcpy_z900.
26107         * sysdeps/s390/s390-64/multiarch/memset.S
26108         (memset_z196): Rename to __memset_z196.
26109         Jump to __memset_mvcle instead of memset_mvcle.
26110         (memset_z10): Rename to __memset_z10.
26111         Jump to __memset_mvcle instead of memset_mvcle.
26112         (memset_mvcle) Rename to __memset_mvcle.
26113         (memset): Set alias to __memset_z900.
26115 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26117         [BZ #17748]
26118         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26119         __fesetenv instead of fesetenv.
26121 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26123         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26124         macro.
26126 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26128         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26129         regression on LE.
26131         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26132         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26134         strncmp-power8 object.
26135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26136         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26137         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26138         * NEWS: Update.
26140 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26141             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26143         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26144         trailing byte check.
26146 2015-01-13  David S. Miller  <davem@davemloft.net>
26148         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26150 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26152         * login/logout.c (logout): Use memset rather than bzero.
26153         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26154         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26155         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26156         (_gethtbyaddr): Likewise.
26157         * locale/programs/simple-hash.c (bcopy): Macro removed.
26159 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26162         Add strcmp-power8 object.
26163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26164         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26165         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26166         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26167         __strcmp_power8 implementation.
26168         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26169         * NEWS: Update.
26171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26172         Add strncpy-power8 and stpncpy-power8 objects.
26173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26174         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26175         implementations.
26176         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26177         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26178         __stpncpy_power8 implementation.
26179         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26180         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26181         __strncpy_power8 implementation.
26182         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26183         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26184         * NEWS: Update.
26186         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26187         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26188         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26191         strncat-power8 object.
26192         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26193         __strcat_power8 implementation.
26194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26195         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26196         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26197         optimized strcat for power8.
26199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26200         strcpy-power8 and stpcpy-power8 objects.
26201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26202         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26203         implementations.
26204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26205         multiarch stpcpy implementation for POWER8.
26206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26207         multiarch strcpy implementation for POWER8.
26208         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26209         __strcpy_power8 function.
26210         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26211         stpcpy for POWER8.
26212         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26213         strcpy for POWER8.
26214         * NEWS: Update.
26216 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26218         [BZ #16009]
26219         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26220         weights and rules. Use do_xfrm_cached if data fits in cache,
26221         do_xfrm otherwise.  Moved former main loop to...
26222         * (do_xfrm_cached): New function.
26223         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26224         find_idx, find_position and stack_push.
26225         * (find_idx): New function.
26226         * (find_position): Likewise.
26227         * localedata/sort-test.sh: Added test run for do_xfrm.
26228         * localedata/xfrm-test.c (main): Added command line option
26229         -nocache to run the test with strings that are too large for
26230         the STRXFRM cache.
26232 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26234         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26235         variable to lll_futex_wake call, not the value itself.
26237 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26239         [BZ #17803]
26240         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26241         twom64.  Adjust value to 0x1p-64L.
26242         (__scalblnl): Only return standard underflowing result for K <=
26243         -64 not K <= -63; adjust exponent for underflowing result by 64
26244         not 63.
26245         * math/libm-test.inc (scalbn_test_data): Add more tests.
26246         (scalbln_test_data): Likewise.
26248         [BZ #17834]
26249         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26250         0x1p63L.
26251         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26252         not HX.
26253         * math/libm-test.inc (scalbn_test_data): Add more tests.
26254         (scalbln_test_data): Likewise.
26256 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26257             Stefani Seibold  <stefani@seibold.net>
26259         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26260         (sysdep_routines): Add dl-vdso here, ...
26261         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26262         (sysdep_routines): ... not here.
26263         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26264         fallback when vDSO is not presented.
26265         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26266         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26267         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26268         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26269         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26270         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26271         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26273         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26275         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26276         fallback configurable symbol when vDSO is not available.
26277         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26278         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26279         be able to redefine fallback symbol when vDSO is not available.
26280         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26281         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26283 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26285         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26286         (TLS_INIT_TP): Add tm_capable initialization.
26287         (TLS_DEFINE_INIT_TP): Likewise.
26288         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26289         TCB.
26290         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26291         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26292         calculation.
26293         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26294         transactoion is lock elision is built and TCB tm_capable is set.
26295         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26297         (INTERNAL_SYSCALL_NCS): Likewise.
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26299         (INTERNAL_SYSCALL_NCS): Likewise.
26300         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26302         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26303         for powerpc.
26304         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26305         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26306         and remove it for 32 bits case.
26307         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26309         initialization.
26310         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26311         Disable lock elision with rdlocks if elision is not available.
26313         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26314         (sysdep_routines): Add lock elision objects.
26315         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26316         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26317         [pthread_mutex_t] (__elision): Add field.
26318         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26319         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26320         elision definitions for powerpc.
26321         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26322         implementation of lock elision for powerpc.
26323         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26324         implementation of timed lock elision for powerpc.
26325         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26326         implementation of trylock with lock elision for powerpc.
26327         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26328         implementaion of unlock for lock elision for powerpc.
26329         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26330         automatic enable lock elision for mutexes.
26331         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26332         transaction execution definitions for powerpc.
26333         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26334         definitions.
26335         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26336         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26337         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26338         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26339         * NEWS: Update.
26341 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26343         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26344         for #include of <shm-directory.h>.
26346 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26348         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26349         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26351 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26353         [BZ #17791]
26354         * NEWS: Mention bug fix.
26355         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26356         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26357         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26359 2015-01-09  Torvald Riegel <triegel@redhat.com>
26361         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26363 2015-01-09  Torvald Riegel <triegel@redhat.com>
26365         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26367 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26369         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26370         pointer and cast to uintptr_t.
26372 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26374         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26375         removed.
26376         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26378 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26380         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26381         of 0.
26383 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26385         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26386         <nptl/pthreadP.h> instead.
26387         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26389         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26390         already defined.
26391         [__SIGRTMIN] (init): Function removed.
26392         [__SIGRTMIN] (initialized): Variable removed.
26393         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26394         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26395         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26396         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26397         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26398         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26399         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26400         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26401         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26402         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26403         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26404         * sysdeps/nptl/allocrtsig.c: New file.
26405         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26406         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26407         * sysdeps/generic/testrtsig.h: File removed.
26409         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26410         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26412         * nptl/nptl-init.c (pthread_functions): Conditionalize
26413         .ptr__nptl_setxid initialization on [SIGSETXID].
26415         * sysdeps/nptl/sys/procfs.h: New file.
26416         * nptl_db/Makefile (headers): Add it.
26417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26419         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26420         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26421         * nptl/pthread_attr_setaffinity.c: Include it.
26422         * nptl/pthread_setattr_default_np.c: Likewise.
26423         * nptl/check-cpuset.h: New file.
26425 2015-01-08  Richard Henderson  <rth@redhat.com>
26427         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26428         (CFLAGS-tst-execstack-prog.c): Likewise.
26429         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26431 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26432             Sandra Loosemore  <sandra@codesourcery.com>
26433             Andrew Jenner  <andrew@codesourcery.com>
26434             Joseph Myers  <joseph@codesourcery.com>
26435             Nathan Sidwell  <nathan@codesourcery.com>
26437         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26438         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26439         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26440         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26441         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26442         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26443         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26444         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26445         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26446         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26447         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26448         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26449         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26450         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26451         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26452         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26453         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26455 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26457         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26458         timespec struct member in syscall macro.
26459         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26460         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26461         first timeval struct member in syscall macro.
26462         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26464 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26466         [BZ #17748]
26467         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26468         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26469         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26470         __feupdateenv and define as weak alias of __feupdateenv.  Use
26471         libm_hidden_weak.
26472         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26473         libm_hidden_def.
26474         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26475         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26476         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26477         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26478         libm_hidden_def.
26479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26480         __feupdateenv and define as weak alias of __feupdateenv.  Use
26481         libm_hidden_weak.
26482         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26483         libm_hidden_def.
26484         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26485         __feupdateenv and define as weak alias of __feupdateenv.  Use
26486         libm_hidden_weak.
26487         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26488         libm_hidden_def.
26489         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26490         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26491         (__feupdateenv): Likewise.
26492         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26493         __feupdateenv and define as weak alias of __feupdateenv.  Use
26494         libm_hidden_weak.
26495         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26496         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26497         libm_hidden_def.
26498         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26499         function.
26500         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26501         libm_hidden_def.
26502         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26503         __feupdateenv instead of feupdateenv.
26504         (default_libc_feupdateenv_test): Likewise.
26505         (libc_feresetround_ctx): Likewise.
26507 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26509         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26510         prototype.
26512 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26514         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26515         COLL_SYM in a couple of places to avoid uninitialized variable
26516         wanings on tilegx gcc 4.8.2.
26518 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26520         * sysdeps/aarch64/strcpy.S: New file.
26521         * sysdeps/aarch64/stpcpy.S: New file.
26522         * NEWS: Updated.
26524 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26526         * sysdeps/aarch64/strrchr.S: New file.
26527         * NEWS: Updated.
26529 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26531         [BZ #17658]
26532         * stdlib/setenv.c: Fix memory leak when setting large,
26533         duplicate string.
26535 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26537         [BZ #17273]
26538         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26539         and tabs from buffer before parsing fstab entry.
26540         * misc/tst-mntent.c (main): Add test for mount entry with
26541         trailing spaces and tabs.
26543 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26545         [BZ #17748]
26546         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26547         * math/fesetround.c (fesetround): Rename to __fesetround and
26548         define as weak alias of __fesetround.  Use libm_hidden_weak.
26549         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26550         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26551         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26552         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26553         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26554         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26555         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26556         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26557         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26558         __fesetround_inline.
26559         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26560         __fesetround_inline instead of __fesetround.
26561         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26562         __fesetround and define as weak alias of __fesetround.  Use
26563         libm_hidden_weak.  Call __fesetround_inline instead of
26564         __fesetround.
26565         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26566         __fesetround and define as weak alias of __fesetround.  Use
26567         libm_hidden_weak.
26568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26569         Likewise.
26570         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26572         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26573         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26574         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26575         __fesetround and define as weak alias of __fesetround.  Use
26576         libm_hidden_weak.
26577         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26578         __fesetround instead of fesetround.
26579         (default_libc_feholdexcept_setround): Likewise.
26580         (libc_feholdsetround_ctx): Likewise.
26581         (libc_feholdsetround_noex_ctx): Likewise.
26583         [BZ #17748]
26584         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26585         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26586         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26587         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26588         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26589         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26590         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26591         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26592         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26593         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26594         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26595         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26596         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26597         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26598         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26599         libm_hidden_def.
26600         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26601         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26602         Likewise.
26603         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26604         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26605         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26606         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26607         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26608         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26609         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26610         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26611         __fesetenv instead of fesetenv.
26612         (libc_feresetround_noex_ctx): Likewise.
26613         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26614         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26615         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26616         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26617         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26618         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26619         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26620         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26621         (__feupdateenv): Likewise.
26622         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26623         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26624         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26625         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26627 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26629         [BZ #17806]
26630         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26631         addresses have been freed.
26633 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26635         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26636         and nservall.
26638 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26640         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26641         Clean up check_pf allocation pattern. addresses
26643 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26645         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26646         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26647         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26648         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26649         * nptl/pthread_join.c (pthread_join): Likewise.
26650         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26651         * sysdeps/posix/waitid.c (__waitid): Likewise.
26652         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26653         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26654         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26655         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26657         Likewise.
26658         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26659         (__libc_pread64): Likewise.
26660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26661         (__libc_pwrite): Likewise.
26662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26663         (__libc_pwrite64): Likewsie.
26664         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26665         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26666         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26667         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26668         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26669         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26670         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26672         Likewise.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26674         (__libc_pread64): Likewise.
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26676         Likewise.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26678         (__libc_pwrite64): Likewise.
26679         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26680         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26681         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26682         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26683         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26684         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26685         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26686         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26687         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26688         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26689         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26690         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26691         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26692         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26693         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26694         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26695         Likewise.
26697 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26699         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26700         (CFLAGS-test-double.c): Likewise.
26701         (CFLAGS-test-ldouble.c): Likewise.
26702         (CPPFLAGS-test-ifloat.c): Likewise.
26703         (CPPFLAGS-test-idouble.c): Likewise.
26704         (CPPFLAGS-test-ildoubl.c): Likewise.
26705         (CFLAGS-test-test-fenv.c): Remove variable.
26706         (CFLAGS-test-misc.c): Likewise.
26708 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26710         [BZ #17797]
26711         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26712         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26713         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26714         CLOCKS_PER_SEC == 1000000.
26715         * time/clocktest.c (main): Replace %ld with %jd and cast to
26716         intmax_t.
26718 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26720         * sysdeps/generic/unwind-resume.h: New file.
26721         * sysdeps/gnu/unwind-resume.c: Include it.
26722         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26723         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26724         argument list.
26725         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26726         global rather than static.
26727         (_Unwind_Resume): Update user.
26728         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26729         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26730         rather than static.  Add __attribute__ ((cold)).
26731         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26732         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26733         * sysdeps/arm/arm-unwind-resume.S: New file.
26734         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26735         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26736         * sysdeps/arm/Makefile [$(subdir) = csu]
26737         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26738         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26739         Add rt-arm-unwind-resume.
26740         [$(subdir) = nptl]
26741         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26742         Add pt-arm-unwind-resume.
26743         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26744         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26746 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26748         [BZ #17748]
26749         * include/fenv.h (__feholdexcept): Declare.  Use
26750         libm_hidden_proto.
26751         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26752         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26753         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26754         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26755         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26756         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26757         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26758         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26759         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26760         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26761         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26762         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26763         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26764         (feholdexcept): Likewise.
26765         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26767         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26768         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26769         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26770         __feholdexcept instead of feholdexcept.
26771         (default_libc_feholdexcept_setround): Likewise.
26773 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26775         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26776         to avoid using stl/str to align destination.
26778 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26780         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26782 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26784         [BZ #17796]
26785         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26786         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26787         Define as weak alias not strong alias.
26789 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26791         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26792         bltzal with addiupc.
26793         (RTLD_START): Ditto.
26795 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26797         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26798         for __vdso_* functions in declarations.
26799         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26800         definitions.
26801         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26802         INTERNAL_VSYSCALL): Use struct return types to check for error.
26804         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26805         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26806         function with cast from llround().
26807         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26808         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26809         Define.
26811 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26813         [BZ #17793]
26814         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26815         Define as weak alias not strong alias.
26817         [BZ #17635]
26818         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26819         ...
26820         * ctype/ctype-extn.c: ... here.
26821         (__isblank_l): Move to ...
26822         * ctype/ctype-c99_l.c: ... here.  New file.
26823         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26824         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26825         Remove variable.
26826         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26827         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26828         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26829         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26830         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26832         [BZ #17777]
26833         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26834         (posix_fadvise64): Define as weak alias not strong alias.
26835         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26836         (posix_fallocate64): Likewise.
26837         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26838         Remove variable.
26839         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26840         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26841         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26842         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26843         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26845 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26847         [BZ #16191]
26848         * NEWS: Mention bug fix.
26849         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26850         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26851         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26852         (HOST_STACK_END_ADDR): Likewise.
26854 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26856         [BZ #17748]
26857         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26858         * math/fegetround.c (fegetround): Rename to __fegetround and
26859         define as weak alias of __fegetround.  Use libm_hidden_weak.
26860         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26861         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26862         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26863         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26864         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26865         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26866         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26867         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26868         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26869         Undefine after rather than before function definition; use
26870         parentheses around function name in definition.
26871         (__fegetround): Also undefine macro after function definition.
26872         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26873         __fegetround and define as weak alias of __fegetround.  Use
26874         libm_hidden_weak.  Do not undefine as macro.
26875         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26876         Likewise.
26877         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26878         __fegetround and define as weak alias of __fegetround.  Use
26879         libm_hidden_weak.
26880         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26881         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26882         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26883         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26884         __fegetround and define as weak alias of __fegetround.  Use
26885         libm_hidden_weak.
26886         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26887         __fegetround instead of fegetround.
26889         [BZ #17782]
26890         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26891         Condition macro definition on [__USE_MISC].
26893         [BZ #17781]
26894         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26895         (struct sigaction): Change type of sa_flags field to int.
26897         [BZ #17780]
26898         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26899         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26900         __glibc_reserved0.
26902         * nptl/version.c (banner): Use single year in copyright notice.
26904         * NEWS: Update copyright dates.
26905         * catgets/gencat.c (print_version): Likewise.
26906         * csu/version.c (banner): Likewise.
26907         * debug/catchsegv.sh: Likewise.
26908         * debug/pcprofiledump.c (print_version): Likewise.
26909         * debug/xtrace.sh (do_version): Likewise.
26910         * elf/ldconfig.c (print_version): Likewise.
26911         * elf/ldd.bash.in: Likewise.
26912         * elf/pldd.c (print_version): Likewise.
26913         * elf/sotruss.sh: Likewise.
26914         * elf/sprof.c (print_version): Likewise.
26915         * iconv/iconv_prog.c (print_version): Likewise.
26916         * iconv/iconvconfig.c (print_version): Likewise.
26917         * locale/programs/locale.c (print_version): Likewise.
26918         * locale/programs/localedef.c (print_version): Likewise.
26919         * login/programs/pt_chown.c (print_version): Likewise.
26920         * malloc/memusage.sh (do_version): Likewise.
26921         * malloc/memusagestat.c (print_version): Likewise.
26922         * malloc/mtrace.pl: Likewise.
26923         * manual/libc.texinfo: Likewise.
26924         * nptl/version.c (banner): Likewise.
26925         * nscd/nscd.c (print_version): Likewise.
26926         * nss/getent.c (print_version): Likewise.
26927         * nss/makedb.c (print_version): Likewise.
26928         * posix/getconf.c (main): Likewise.
26929         * scripts/test-installation.pl: Likewise.
26930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26932 2015-01-02  Will Newton  <will.newton@linaro.org>
26934         * sysdeps/arm/armv7/configure: Removed.
26935         * sysdeps/arm/armv7/configure.ac: Likewise.
26937 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26939         * All files with FSF copyright notices: Update copyright dates
26940         using scripts/update-copyrights.
26941         * intl/plural.c: Regenerated.
26942         * locale/programs/charmap-kw.h: Likewise.
26943         * locale/programs/locfile-kw.h: Likewise.
26945 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26947         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26949 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26951         [BZ #17748]
26952         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26953         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26954         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26955         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26956         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26957         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26958         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26959         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26960         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26961         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26962         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26963         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26964         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26965         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26966         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26967         libm_hidden_def.
26968         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26969         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26970         Likewise.
26971         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26972         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26973         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26974         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26975         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26976         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26977         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26978         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26979         __fegetenv instead of fegetenv.
26980         (libc_feholdsetround_noex_ctx): Likewise.
26982 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26984         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26985         (Elf_MIPS_ABIFlags_v0): New structure.
26986         (EF_MIPS_FP64): Define.
26987         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26988         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26989         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26990         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26991         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26992         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26993         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26994         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26995         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26996         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26997         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26998         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26999         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27000         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27001         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27002         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27003         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27004         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27005         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27006         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27007         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27008         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27009         field.
27010         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27011         EF_MIPS_FP64.
27012         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27013         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27014         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27015         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27016         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27017         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27018         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27019         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27020         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27021         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27022         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27023         record the current FP ABI extension.
27024         (mips-mode-switch): Define to show if kernel headers support mode
27025         switching.
27026         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27027         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27028         supported SYSV ABI version to 3.
27029         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27030         feature.
27032 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27033             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27035         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27036         path.
27037         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27039 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27041         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27042         __fegetround and redefine to call __fegetround.  Remove condition
27043         on [!__NO_MATH_INLINES].
27044         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27045         function.
27046         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27048         Remove macro.
27049         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27050         instead of <fenv_libc.h>.
27051         (__llrintl): Call fegetround instead of __fegetround.
27052         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27053         instead of <fenv_libc.h>.
27054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27055         (__lrintl): Call fegetround instead of __fegetround.
27056         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27057         instead of <fenv_libc.h>.
27058         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27059         (__rintl): Call fegetround instead of __fegetround.
27061 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27064         arrays.
27066 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27068         [BZ #17775]
27069         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27070         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27071         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27073 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27075         * sysdeps/i386/tls-macros.h: Include <features.h>.
27076         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27077         (TLS_IE): Likewise.
27078         (TLS_LD): Likewise.
27079         (TLS_GD): Likewise.
27080         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27081         define for GCC >= 5.0.
27083 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27085         * math/test-fenv.c (test_single_exception, set_single_exc,
27086         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27087         feexcp_mask_test, feenable_test, fe_single_test): Add
27088         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27089         case where they are not used.
27090         * math/libm-test.inc: Likewise.
27091         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27092         unused in the absence of FP rounding/exception support.
27093         * stdio-common/tst-printf-round.c: Likewise.
27094         * stdlib/tst-strtod-round.c: Likewise.
27095         * stdlib/tst-strtod-underflow.c: Likewise.
27097 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27099         [BZ #17723]
27100         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27101         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27102         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27103         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27104         libm_hidden_weak.
27105         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27106         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27107         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27108         libm_hidden_def.
27109         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27110         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27111         libm_hidden_weak.
27112         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27113         Likewise.
27114         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27115         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27116         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27117         libm_hidden_weak.
27118         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27119         libm_hidden_def.
27120         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27121         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27122         (__feraiseexcept): Likewise.
27123         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27124         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27125         libm_hidden_weak.
27126         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27127         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27128         libm_hidden_def.
27129         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27130         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27131         Use libm_hidden_def.
27132         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27133         libm_hidden_def.
27134         (feraiseexcept): Define as weak not strong alias.  Use
27135         libm_hidden_weak.
27136         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27137         New inline function.  Factored out of ...
27138         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27139         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27140         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27141         feraiseexcept.
27142         * math/w_acos.c (__acos): Likewise.
27143         * math/w_asin.c (__asin): Likewise.
27144         * math/w_ilogb.c (__ilogb): Likewise.
27145         * math/w_j0.c (y0): Likewise.
27146         * math/w_j1.c (y1): Likewise.
27147         * math/w_jn.c (yn): Likewise.
27148         * math/w_log.c (__log): Likewise.
27149         * math/w_log10.c (__log10): Likewise.
27150         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27151         * sysdeps/aarch64/fpu/math_private.h
27152         (libc_feupdateenv_test_aarch64): Likewise.
27153         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27154         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27155         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27156         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27157         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27158         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27159         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27160         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27161         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27162         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27164 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27166         [BZ #17732]
27167         * io/test-utime.c (main): Replace %ld with %jd and cast to
27168         intmax_t.
27169         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27170         * nptl/tst-mutex5.c: Include <stdint.h>.
27171         (do_test): Replace %ld with %jd and cast to intmax_t.
27172         * posix/tst-regex.c (run_test): Likewise.
27173         (run_test_backwards): Likewise.
27174         * rt/tst-clock.c: Include <stdint.h>.
27175         (clock_test): Replace %ld with %jd and cast to intmax_t.
27176         * rt/tst-cpuclock1.c: Include <stdint.h>.
27177         (do_test): Replace %lu with %ju and cast to uintmax_t.
27178         * rt/tst-cpuclock2.c: Include <stdint.h>.
27179         (do_test): Replace %lu with %ju and cast to uintmax_t.
27180         * rt/tst-mqueue1.c: Include <stdint.h>.
27181         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27182         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27183         intmax_t.
27184         * rt/tst-mqueue4.c (do_test): Likewise.
27185         * rt/tst-timer4.c: Include <stdint.h>.
27186         (check_ts): Replace %ld with %jd and cast to intmax_t.
27187         (do_test): Likewise.
27188         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27189         and cast to intmax_t.
27190         * sysdeps/pthread/tst-timer.c (main): Likewise.
27191         * time/clocktest.c (main): Likewise.
27192         * time/tst-posixtz.c (do_test): Likewise.
27193         * timezone/tst-timezone.c (main): Likewise.
27195 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27196             H.J. Lu  <hongjiu.lu@intel.com>
27198         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27199         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27200         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27201         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27202         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27203         version if bit_Fast_Unaligned_Load is set.
27204         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27205         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27206         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27207         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27208         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27209         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27211         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27212         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27213         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27214         to 4.
27215         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27216         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27217         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27218         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27220 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27222         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27223         instead of #if to avoid a Wundef warning.
27224         * stdlib/tst-limits.c (do_test): Likewise.
27226         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27227         parallel other exception macros.
27228         (fegetenv): Convert from macro to extern inline so that it applies
27229         retroactively to inline functions already seen by the compiler.
27230         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27232         * posix/Makefile (before-compile): Use $(objpfx) for
27233         posix-conf-vars-def.h.
27235 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27237         * posix/getconf.c (main): Use size_t for type of I.
27238         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27239         NSPEC.
27241         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27242         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27243         * posix/posix-envs.def: Likewise.
27244         * sysdeps/posix/sysconf.c: Likewise.
27245         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27246         (specs): Remove array.
27247         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27248         array.
27250         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27251         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27252         (__sysconf): Use CONF_IS_* macros.
27254         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27255         ($(objpfx)posix-conf-vars-def.h): New target.
27256         * posix/posix-conf-vars.list: New file.
27257         * posix/posix-conf-vars.h: New file.
27258         * posix/confstr.c: Include posix-conf-vars.h.
27259         (confstr): Use CONF_IS_* macros.
27260         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27261         CONF_IS_* macros.
27262         * scripts/gen-posix-conf-vars.awk: New file.
27264 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27266         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27267         fegetround): Add no-op macros to avoid linknamespace issues.
27269         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27270         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27272         * sysdeps/unix/sysv/linux/tile/sysdep.h
27273         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27274         assembly-specific section to avoid a redefinition warning.
27276         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27277         long before casting to pointer to avoid a cast warning.
27279 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27281         * sysdeps/tile/tilegx/Implies: New file.
27283 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27285         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27287 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27289         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27291 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27294         not define.
27295         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27296         <kernel-features.h>.
27297         (__utimes) [__NR_utimes]: Make code unconditional.
27298         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27299         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27300         (__ASSUME_UTIMES): Do not undefine.
27301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27302         (__ASSUME_UTIMES): Likewise.
27303         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27304         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27305         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27306         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27308 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27310         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27312 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27314         [BZ #17747]
27315         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27316         alias to weak alias for j0l, y0l.
27317         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27318         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27320         [BZ #17746]
27321         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27322         conversion.
27324 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27326         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27327         to zero if not already defined.
27329 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #17724]
27332         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27333         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27334         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27335         (char *) casts added.
27336         * sysdeps/ieee754/k_standardf.c: New file.
27337         * sysdeps/ieee754/k_standardl.c: Likewise.
27338         * math/Makefile (libm-support): Remove k_standard.
27339         (libm-calls): Add k_standard.
27341 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27343         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27344         Optimize to avoid an unnecessary FPCR read.
27346 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27348         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27349         Optimize to reduce FPCR/FPSR accesses.
27351 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27353         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27354         Call libc_fetestexcept_aarch64.
27356 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27358         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27359         Call libc_fesetround_aarch64.
27361 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27363         [BZ #17733]
27364         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27365         (__bind): Do not define as weak alias.
27366         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27367         define.
27368         (__getsockname): Do not define as weak alias.
27370 2014-12-22  Will Newton  <will.newton@linaro.org>
27372         * manual/install.texi: Document that we require bison 2.7
27373         or above.
27374         * INSTALL: Regenerate.
27375         * configure.ac: Use AC_CHECK_PROG_VER instead of
27376         AC_PATH_PROG when checking for bison and check for
27377         version 2.7 or above.
27378         * configure: Regenerate.
27380 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27382         [BZ #17745]
27383         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27384         * sysdeps/tile/ffsll.c (ffsll): To here.
27386         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27388 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27390         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27391         if not defined.
27392         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27393         definition.
27394         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27395         hidden ___tls_get_addr.
27396         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27397         hidden __tls_get_addr.
27398         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27399         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27400         Likewise.
27402 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27404         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27405         _dl_init call.
27407 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27409         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27410         from "call _dl_init@PLT".
27411         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27413 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27415         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27416         guarantees.
27418 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27420         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27422 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27424         [BZ #17744]
27425         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27426         strnlen.
27428 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27430         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27431         of multu on MIPSr6.
27432         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27433         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27434         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27435         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27436         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27438 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27440         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27441         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27442         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27443         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27444         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27445         mips32r6/mips64r6.
27446         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27448 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27450         * string/strncat.c (STRNCAT): Simplify implementation.
27452 2014-12-19  David S. Miller  <davem@davemloft.net>
27454         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27455         access the quad as both a long double and as a series of 4 words.
27457         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27458         link_map->l_info array access.
27460 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27462         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27464         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27465         * math/atest-exp2.c (TIMEOUT): Likewise.
27466         * math/atest-sincos.c (TIMEOUT): Likewise.
27468 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27470         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27471         -Wno-error with -fno-builtin-lround.
27473 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27475         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27476         Contains futex constants and functions moved over from ...
27477         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27478         <lowlevellock-futex.h>.
27479         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27480         (lll_timedwait_tid): Add comments and parentheses around macro
27481         arguments.
27483 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27486         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27487         (__lll_private_flag): Remove.
27488         (lll_futex_wait): Likewise.
27489         (lll_futex_timed_wait): Likewise.
27490         (lll_futex_wake): Likewise.
27491         (lll_futex_requeue): Likewise.
27492         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27493         (__lll_timedwait_tid): Spell out argument names.
27494         (lll_timedwait_tid): Add comments and parentheses around macro
27495         arguments.
27496         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27497         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27499 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27501         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27502         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27504         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27505         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27506         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27507         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27508         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27509         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27514         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27515         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27516         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27517         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27518         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27519         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27521 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27523         * sysdeps/x86_64/x32/Makefile: New file.
27525 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27527         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27528         1L with (mp_limb_t) 1.
27530 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27532         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27533         * nptl/libc_pthread_init.c: ... here.
27534         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27535         * nptl/register-atfork.c: ... here.
27537         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27538         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27539         Use assert_perror to check its return value.
27540         (__gai_create_helper_thread): Likewise.
27542         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27544         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27546 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27548         [BZ #17725]
27549         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27550         __profil_counter.
27551         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27552         Likewise.
27553         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27554         Likewise.
27555         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27556         Likewise.
27557         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27558         (profil_counter): Likewise.
27559         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27560         (profil_counter): Likewise.
27561         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27562         Likewise.
27563         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27564         Likewise.
27565         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27566         (profil_counter): Likewise.
27567         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27568         Likewise.
27569         [!__profil_counter] (profil_counter): Define as weak alias of
27570         __profil_counter.
27571         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27572         (profil_counter): Rename to __profil_counter.
27573         [!__profil_counter] (profil_counter): Define as weak alias of
27574         __profil_counter.
27575         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27576         (profil_counter): Rename to __profil_counter.
27577         [!__profil_counter] (profil_counter): Define as weak alias of
27578         __profil_counter.
27579         * sysdeps/posix/profil.c: Update comment referring to
27580         profil_counter.
27581         (__profil): Use __profil_counter instead of profil_counter.
27582         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27583         __profil_counter.  Use __profil_counter_ushort and
27584         __profil_counter_uint in definitions.
27585         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27586         instead of profil_counter_uint and profil_counter_ushort.
27588         [BZ #17722]
27589         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27590         define as weak alias of __inet_makeaddr.
27591         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27592         as weak alias of __inet_addr.
27593         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27594         as weak alias of __inet_pton.  Use libc_hidden_weak.
27595         * include/arpa/inet.h (__inet_pton): Declare.  Use
27596         libc_hidden_proto.
27597         (inet_makeaddr): Don't use libc_hidden_proto.
27598         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27599         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27600         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27601         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27602         Remove variable.
27603         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27604         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27606 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27608         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27610 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27612         * stdio-common/bug-vfprintf-nargs.c (do_test):
27613         Cast value to intptr_t to avoid format warning
27614         for usage with PRIdPTR printing macro.
27616 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27618         * libio/tst-widetext.c (do_test):
27619         Use format type %td instead of %Zd for ptrdiff_t
27620         in order to avoid format warning.
27622 2014-12-17  Andreas Schwab  <schwab@suse.de>
27624         * nscd/mem.c (gc): Add size_t cast to match printf format.
27626 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27628         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27629         (init): Apply PTR_MANGLE to pointers before storing them.
27630         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27631         before using them.
27633 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27635         [BZ #17719]
27636         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27637         define as weak alias of __memrchr.
27638         (__memrchr): Do not define as strong alias of memrchr.
27639         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27640         Remove variable.
27641         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27642         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27643         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27645         [BZ #17717]
27646         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27647         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27648         (if_indextoname): Rename to __if_indextoname and define as weak
27649         alias of __if_indextoname.  Use libc_hidden_weak.
27650         (if_freenameindex): Rename to __if_freenameindex and define as
27651         weak alias of __if_freenameindex.
27652         (if_nameindex): Rename to __if_nameindex and define as weak alias
27653         of __if_nameindex.
27654         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27655         __if_nametoindex and define as weak alias of __if_nametoindex.
27656         Use libc_hidden_weak.
27657         (if_freenameindex): Rename to __if_freenameindex and define as
27658         weak alias of __if_freenameindex.
27659         (if_nameindex): Rename to __if_nameindex and define as weak alias
27660         of __if_nameindex.
27661         (if_indextoname): Rename to __if_indextoname and define as weak
27662         alias of __if_indextoname.  Use libc_hidden_weak.
27663         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27664         __if_nametoindex and define as weak alias of __if_nametoindex.
27665         Use libc_hidden_weak.
27666         (if_freenameindex): Rename to __if_freenameindex and define as
27667         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27668         (if_nameindex_netlink): Use __if_freenameindex instead of
27669         if_freenameindex.
27670         (if_nameindex): Rename to __if_nameindex and define as weak alias
27671         of __if_nameindex.  Use libc_hidden_weak.
27672         (if_indextoname): Rename to __if_indextoname and define as weak
27673         alias of __if_indextoname.  Use libc_hidden_weak.
27674         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27675         libc_hidden_proto.
27676         [!_ISOMAC] (__if_freenameindex): Likewise.
27677         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27678         if_nametoindex.
27679         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27680         variable.
27681         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27682         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27683         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27684         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27685         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27686         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27687         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27689         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27690         Remove variable.
27691         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27692         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27694 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27696         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27697         subscript above bounds'
27699         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27700         bounds.
27702 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27704         * libio/tst-fopenloc.c: Use test-skeleton.c.
27706         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27707         (entry): Rename to ITEM.
27708         (do_test, comp): Adjust.
27710         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27712 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27714         * string/tester.c: Include <libc-internal.h>.
27715         (test_memset): Ignore -Wmemset-transposed-args.
27717 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27719         * misc/tst-mntent2.c (do_test): Fix warning.
27721 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27723         * elf/tst-unique4lib.cc(a): Mark as used.
27725 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27727         [BZ #17630]
27728         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27729         names.
27731 2014-12-16  Allan McRae  <allan@archlinux.org>
27733         * stdio-common/Makefile (tests): Re-add bug26.
27735 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27737         [BZ #17657]
27738         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27739         static array.
27741 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27743         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27744         (__lll_lock_wait): Likewise.
27745         (__lll_timedlock_wait): Likewise.
27746         (__lll_timedwait_tid): Likewise.
27747         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27748         (__lll_robust_timedlock_wait): Likewise.
27749         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27750         (lll_cond_trylock): Likewise.
27751         (__lll_lock): Likewise.
27752         (__lll_robust_lock): Likewise.
27753         (__lll_cond_lock): Likewise.
27754         (lll_robust_cond_lock): Likewise.
27755         (__lll_timedlock): Likewise.
27756         (__lll_robust_timedlock): Likewise.
27757         (__lll_unlock): Likewise.
27758         (__lll_robust_unlock): Likewise.
27759         (lll_wait_tid): Likewise.
27760         (lll_timedwait_tid): Likewise.
27762 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27764         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27766 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27768         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27770 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27772         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27773         * stdio-common/tst-sprintf.c: Likewise.
27775 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27777         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27779 2014-12-15  Jeff Law  <law@redhat.com>
27781         [BZ #16617]
27782         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27783         on the heap.  (CVE-2012-3406)
27784         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27785         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27786         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27788 2014-12-15  Will Newton  <will.newton@linaro.org>
27790         * manual/install.texi: Bump required version of texinfo
27791         to 4.7 from 4.5.
27792         * INSTALL: Regenerated.
27793         * configure.ac: Check for makeinfo version 4.7 and above.
27794         * configure: Regenerated.
27796 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27798         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27799         PREFIX, string constant to insert between directory and name.
27800         * sysdeps/posix/shm_open.c: Update caller.
27801         * sysdeps/posix/shm_unlink.c: Likewise.
27802         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27803         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27804         (SEM_SHM_PREFIX): New macro.
27805         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27806         [$(have-thread-library) = no].
27807         * nptl/Makefile (libpthread-routines): Add shm-directory.
27808         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27809         * sysdeps/nptl/shm-directory.h: New file.
27810         * sysdeps/posix/shm-directory.c
27811         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27812         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27813         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27814         INTERNAL_SYSCALL.
27815         (__where_is_shmfs): Function removed.
27816         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27817         Variables removed.
27818         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27819         Use SHM_GET_NAME.
27820         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27822         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27823         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27824         unconditional for use inside libpthread.
27825         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27827 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27829         * nptl/pthread_getaffinity.c: New file.
27830         * nptl/pthread_setaffinity.c: New file.
27831         * nptl/pthread_getname.c: New file.
27832         * nptl/pthread_setname.c: New file.
27834         * nptl/pthread_create.c (START_THREAD_DEFN)
27835         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27837 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27838             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27840         * resolv/res_send.c (send_vc): Disable warning resplen may
27841         be used uninitialized.
27843 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27845         * nptl/tst-mutex6.c
27846         (ATTR_NULL): New define checks ATTR against NULL.
27847         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27848         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27850 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27852         [BZ #17581]
27853         * malloc/hooks.c
27854         (mem2mem_check): Revert my previous change.
27855         (malloc_check_get_size): Revert my previous change.
27856         (mem2chunk_check): Revert my previous change.
27858 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27860         * sysdeps/posix/shm-directory.c: New file.
27861         * sysdeps/posix/shm-directory.h: New file.
27862         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27863         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27864         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27865         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27866         Transmute EPERM to EACCES.
27867         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27868         from ...
27869         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27870         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27872 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27874         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27875         pointer and cast to uintptr_t.
27876         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27878         Add cast to avoid warning.
27879         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27881 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27883         * nptl/semaphore.h: Move to ...
27884         * sysdeps/pthread/semaphore.h: ... here.
27885         * Makefile (installed-headers): Change nptl/semaphore.h to
27886         sysdeps/pthread/semaphore.h.
27888 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27890         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27891         generated error format strings.
27893         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27894         -Wformat-extra-args warnings for scanf formats.
27895         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27896         test of zero-length format (duh).
27897         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27898         corner-case scanf format test.
27899         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27900         generated fprintf format string.
27901         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27902         corner-case sprintf format tests.
27903         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27904         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27905         -Wformat-extra-args warnings throughout.
27906         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27907         (CFLAGS-scanf4.c): Likewise.
27908         (CFLAGS-scanf7.c): Likewise.
27909         (CFLAGS-tst-sprintf.c): Likewise.
27910         (CFLAGS-tst-printf.c): Likewise.
27911         (CFLAGS-tst-printfsz.c): Likewise.
27913 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27915         * include/cpio.h: New file.
27916         * include/fmtmsg.h: Likewise.
27918         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27919         corresponding format argument to size_t.
27920         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27921         arguments.
27922         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27923         corresponding format argument to size_t.
27924         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27925         arguments.
27926         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27927         corresponding format argument to size_t.
27928         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27929         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27930         (CFLAGS-tst-mbswcs2.c): Likewise.
27931         (CFLAGS-tst-mbswcs3.c): Likewise.
27932         (CFLAGS-tst-mbswcs4.c): Likewise.
27933         (CFLAGS-tst-mbswcs5.c): Likewise.
27934         (CFLAGS-tst-trans.c): Likewise.
27936 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27938         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27939         rather than assuming they won't contain any '%'s.
27941 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27943         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27944         inhibit_loop_to_libcall to avoid recursive calls.
27945         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27946         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27948 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27950         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27951         prototype.
27953 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27955         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27956         integer value instead of boolean.
27958 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27960         * malloc/malloc.c: Fix powerof2 check.
27962 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27964         * locale/programs/locfile.h (maybe_swap_uint32):
27965         Remove inline and add unused attribute.
27967 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27969         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27970         Truncating assembler expression to a .long expression.
27972 2014-12-11  Andreas Schwab  <schwab@suse.de>
27974         * elf/rtld.c (struct map_args): Constify str member.
27975         (do_preload): Constify fname argument.
27977 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27980         constants definition.
27982 2014-12-11  Andreas Schwab  <schwab@suse.de>
27984         [BZ #16657]
27985         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27986         FORCE_ELISION instead of DO_ELISION.
27987         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27988         Remove.
27989         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27990         Likewise.
27992         * iconvdata/gconv-modules: Remove duplicate entry.
27994 2014-12-11  Will Newton  <will.newton@linaro.org>
27996         Merge gettext 0.19.3 into intl/.
27998         This involves a number of cosmetic changes to comments
27999         and ANSI function definitions and prototypes throughout
28000         all the files. The gettext copyright header is used but
28001         with the date ranges taken from the glibc copy.
28003         * NEWS: Add gettext merge to 2.21.
28004         * intl/bindtextdom.c: Switch to gettext copyright.
28005         Use ANSI definitions and prototypes.
28006         Use gl_* locking primitives rather than __libc_* ones.
28007         Use __builtin_expect rather than __glibc_likely/unlikely.
28008         * intl/dcgettext.c: Switch to gettext copyright.
28009         Use ANSI definitions and prototypes.
28010         * intl/dcigettext.c: Switch to gettext copyright.
28011         Use ANSI definitions and prototypes.
28012         (INTDIV0_RAISES_SIGFPE): New define.
28013         Use gl_* locking primitives rather than __libc_* ones.
28014         Include eval-plural.h instead of plural-eval.c.
28015         Use __builtin_expect rather than __glibc_likely/unlikely.
28016         * intl/dcngettext.c: Switch to gettext copyright.
28017         Use ANSI definitions and prototypes.
28018         * intl/dgettext.c: Likewise.
28019         * intl/dngettext.c: Likewise.
28020         * intl/plural-eval.c: Renamed to...
28021         * intl/eval-plural.h: ...this.
28022         * intl/explodename.c: Switch to gettext copyright.
28023         Use ANSI definitions and prototypes.
28024         (_nl_explode_name): Use strchr instead of __rawmemchr.
28025         * intl/finddomain.c: Switch to gettext copyright.
28026         Use ANSI definitions and prototypes.
28027         Use gl_* locking primitives rather than __libc_* ones.
28028         (_nl_find_domain): Use malloc rather than alloca for
28029         allocation of temporary locale name.
28030         * intl/gettext.c: Switch to gettext copyright.
28031         Use ANSI definitions and prototypes.
28032         * intl/gettextP.h: Switch to gettext copyright.
28033         Use ANSI definitions and prototypes.
28034         Use gl_* locking primitives rather than __libc_* ones.
28035         * intl/gmo.h: Switch to gettext copyright.
28036         (struct sysdep_string): Move struct segment_pair outside of
28037         struct definition.
28038         * intl/hash-string.c: Use ANSI definitions and prototypes.
28039         * intl/hash-string.h: Switch to gettext copyright.
28040         Use ANSI definitions and prototypes.
28041         * intl/l10nflist.c: Switch to gettext copyright.
28042         Use ANSI definitions and prototypes.
28043         (_nl_normalize_codeset): Avoid integer overflow.
28044         * intl/loadinfo.h: Switch to gettext copyright.
28045         Use ANSI definitions and prototypes.
28046         (LIBINTL_DLL_EXPORTED): New define.
28047         (PATH_SEPARATOR): New define.
28048         * intl/loadmsgcat.c: Switch to gettext copyright.
28049         * intl/localealias.c: Switch to gettext copyright.
28050         Use ANSI definitions and prototypes.
28051         (_nl_expand_alias): Use PATH_SEPARATOR.
28052         * intl/ngettext.c: Switch to gettext copyright.
28053         Use ANSI definitions and prototypes.
28054         * intl/plural-exp.c: Likewise.
28055         * intl/plural-exp.h: Switch to gettext copyright.
28056         Use ANSI definitions and prototypes.
28057         (struct expression): Move definition of enum operator outside
28058         of struct definition.
28059         * intl/plural.c: Regenerate.
28060         * intl/plural.y: Switch to gettext copyright.
28061         Use ANSI definitions and prototypes.
28062         Port to bison 3.0.
28063         * intl/textdomain.c: Switch to gettext copyright.
28064         Use ANSI definitions and prototypes.
28065         Use gl_* locking primitives rather than __libc_* ones.
28067 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28069         * debug/warning-nop.c: Add used atrribute.
28071 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28073         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28075         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28076         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28077         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28079 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28080             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28082         [BZ #17634]
28083         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28084         Undefine after defining function.  Define as weak alias of
28085         __wcschr.  Use libc_hidden_weak.
28086         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28087         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28088         (libc_hidden_def): Also define __GI___wcschr alias.
28089         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28090         __wcschr and define as weak alias of __wcschr.
28091         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28092         __wcschr.
28093         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28094         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28095         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28096         libc_hidden_weak.  Do not use libc_hidden_def.
28097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28098         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28099         __GI___wcschr alias.
28100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28101         [IS_IN (libc)] (wcschr): Define as macro expanding to
28102         __redirect_wcschr.
28103         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28104         [IS_IN (libc)] (__wcschr_power6): Likewise.
28105         [IS_IN (libc)] (__wcschr_power7): Likewise.
28106         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28107         instead of wcschr.
28108         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28109         __libc_wcschr.
28110         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28111         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28112         __wcschr and define as weak alias of __wcschr.  Use
28113         libc_hidden_builtin_def.
28114         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28115         as weak alias of __wcschr.  Use libc_hidden_weak.
28116         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28117         wcschr.
28118         * time/era.c (_nl_init_era_entries): Likewise.
28119         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28120         variable.
28121         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28122         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28124 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28126         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28127         format for long int variable.
28129 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28131         [BZ #10672]
28132         * manual/search.texi: (Array Sort Function): Remove claim how to make
28133         qsort stable.
28135 2014-12-10  Andreas Schwab  <schwab@suse.de>
28137         [BZ #12847]
28138         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28139         user-controlled locks.
28141 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28143         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28144         register.
28146 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28148         * configure.ac (--disable-werror): New configure option.
28149         (enable_werror): New AC_SUBST.
28150         * configure: Regenerated.
28151         * config.make.in (enable-werror): New variable.
28152         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28153         -Wno-error=undef.
28154         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28155         * manual/install.texi (Configuring and compiling): Document
28156         --disable-werror.
28157         * INSTALL: Regenerated.
28158         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28159         (CFLAGS-tst-chk2.c): Likewise.
28160         (CFLAGS-tst-chk3.c): Likewise.
28161         (CFLAGS-tst-chk4.cc): Likewise.
28162         (CFLAGS-tst-chk5.cc): Likewise.
28163         (CFLAGS-tst-chk6.cc): Likewise.
28164         (CFLAGS-tst-lfschk1.c): Likewise.
28165         (CFLAGS-tst-lfschk2.c): Likewise.
28166         (CFLAGS-tst-lfschk3.c): Likewise.
28167         (CFLAGS-tst-lfschk4.cc): Likewise.
28168         (CFLAGS-tst-lfschk5.cc): Likewise.
28169         (CFLAGS-tst-lfschk6.cc): Likewise.
28171         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28172         (main): Disable -Wdeprecated-declarations around calls to
28173         register_printf_function.
28175         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28176         (do_test): Disable -Wdiv-by-zero around some calls to
28177         fwrite_unlocked and fread_unlocked.
28179         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28180         (DIAG_POP_NEEDS_COMMENT): Likewise.
28181         (_DIAG_STR1): Likewise.
28182         (_DIAG_STR): Likewise.
28183         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28184         * stdio-common/bug21.c: Include <libc-internal.h>.
28185         (do_test): Disable -Wformat around call to sscanf.
28186         * stdio-common/scanf14.c: Include <libc-internal.h>.
28187         (main): Disable -Wformat around some calls to scanf functions.
28189 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28191         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28193 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28195         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28196         stack variable alignment.
28198 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28200         [BZ #17682]
28201         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28202         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28203         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28204         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28205         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28206         __getrlimit instead of getrlimit.
28207         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28208         __gettimeofday instead of gettimeofday.
28209         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28210         Likewise.
28211         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28212         Likewise.
28213         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28214         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28215         Remove variable.
28216         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28217         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28219 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28221         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28222         for wide-character tests.
28224 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28226         * io/openat64.c: #include <libc-internal.h>
28227         (__openat64): Prototypify.  Use ignore_value on MODE.
28228         * io/openat.c: Likewise.
28229         * misc/reboot.c: #include <libc-internal.h>
28230         (reboot): Prototypify.  Use ignore_value on HOWTO.
28231         * misc/ptrace.c: #include <libc-internal.h>
28232         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28234 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28236         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28237         XPG4, UNIX98 and XOPEN2K.
28238         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28239         Remove variable.
28240         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28242 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28244         * libio/fileops.c: Use ISO C style for function definitions.
28245         * libio/iofopen.c: Likewise.
28246         * libio/wfileops.c: Likewise.
28248         [BZ #17653]
28249         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28250         offset on EOF.
28251         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28252         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28253         (fgets_func): Function pointer to fgets and fgetws.
28254         (do_ftell_test): Add test to verify ftell value after read
28255         EOF.
28256         (do_test): Set fgets_func.
28258         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28259         O_TRUNC flag for w and w+ modes.
28260         (do_rewind_test): Likewise.
28261         (do_ftell_test): Likewise.
28262         (do_write_test): Likewise.
28264         [BZ #17647]
28265         * libio/fileops.c (do_ftell): Seek only when there are
28266         unflushed writes.
28267         * libio/wfileops.c (do_ftell_wide): Likewise.
28268         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28269         test case.
28270         (do_one_test): Call it.
28272 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28274         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28275         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28276         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28277         Remove variable.
28278         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28279         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28280         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28282 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28284         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28285         Remove variable.
28286         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28288         [BZ #17668]
28289         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28290         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28291         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28292         __freeifaddrs.  Use libc_hidden_weak.
28293         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28294         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28295         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28296         __freeifaddrs.  Use libc_hidden_weak.
28297         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28298         __getifaddrs and define as weak alias of __getifaddrs.  Use
28299         libc_hidden_weak.
28300         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28301         __freeifaddrs.  Use libc_hidden_weak.
28302         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28303         Remove variable.
28304         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28305         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28307 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28309         [BZ #17601]
28310         * sysdeps/mips/start.S (__start): Use indirect jump to call
28311         __libc_start_main.
28313 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28315         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28317         * nptl/tst-mutex1.c: Include <stdbool.h>.
28318         [!ATTR] (ATTR_NULL): New macro.
28319         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28320         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28321         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28323         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28324         to char *.
28326         [BZ #17665]
28327         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28328         Change conditional to [__USE_MISC].
28330         [BZ #17664]
28331         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28332         fgets_unlocked.
28333         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28334         __fgets_unlocked.
28335         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28336         fgets_unlocked.
28337         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28338         Remove variable.
28339         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28340         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28341         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28342         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28343         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28344         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28345         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28346         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28347         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28349         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28351 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28353         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28354         Remove strpbrk objects.
28355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28356         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28357         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28358         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28359         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28360         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28363         Remove strcspn objects.
28364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28365         (__libc_ifunc_impl_list): Remove strcspn implementation.
28366         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28367         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28368         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28369         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28372         Remove strspn objetcs.
28373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28374         (__libc_ifunc_impl_list): Remove strspn implementation.
28375         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28376         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28377         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28378         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28380 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28382         [BZ #17581]
28383         * malloc/hooks.c
28384         (mem2mem_check): Add a terminator to the chain of checking blocks.
28385         (malloc_check_get_size): Use it here.
28386         (mem2chunk_check): Ditto.
28388 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28390         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28391         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28393 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28395         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28397         * nptl/nptl-init.c: Include libc-internal.h.
28398         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28400         * elf/ldconfig.c (search_dir): Expand comment.
28402 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28404         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28405         variable.
28406         (linknamespace-symlist-stdlibs-tests): Likewise.
28407         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28408         instead of $(objpfx)symlist-stdlibs.
28409         (linknamespace-libs-isoc): New variable.
28410         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28411         (linknamespace-libs-ISO): New variable.
28412         (linknamespace-libs-ISO99): Likewise.
28413         (linknamespace-libs-ISO11): Likewise.
28414         (linknamespace-libs-XPG3): Likewise.
28415         (linknamespace-libs-XPG4): Likewise.
28416         (linknamespace-libs-POSIX): Likewise.
28417         (linknamespace-libs-UNIX98): Likewise.
28418         (linknamespace-libs-XOPEN2K): Likewise.
28419         (linknamespace-libs-POSIX2008): Likewise.
28420         (linknamespace-libs-XOPEN2K8): Likewise.
28421         ($(objpfx)symlist-stdlibs): Replace by
28422         $(linknamespace-symlist-stdlibs-tests).  Use
28423         $(linknamespace-libs-$*) as set of libraries.
28424         ($(linknamespace-header-tests)): Update dependencies.  Use
28425         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28426         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28427         * conform/linknamespace.pl: Remove comment about considering
28428         definitions of symbols from irrelevant libraries.
28430 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28432         [BZ #13862]
28433         * elf/dl-tls.c: Include <atomic.h>.
28434         (oom): Remove #ifdef SHARED/#endif.
28435         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28436         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28437         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28438         big enough.
28439         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28440         * nptl/Makefile (tests): Add tst-stack4.
28441         (modules-names): Add tst-stack4mod.
28442         ($(objpfx)tst-stack4): New.
28443         (tst-stack4mod.sos): Likewise.
28444         ($(objpfx)tst-stack4.out): Likewise.
28445         ($(tst-stack4mod.sos)): Likewise.
28446         (clean): Likewise.
28447         * nptl/tst-stack4.c: New file.
28448         * nptl/tst-stack4mod.c: Likewise.
28450 2014-11-27  J. Brown  <jb999@gmx.de>
28452         * sysdeps/x86/bits/string.h: Add recent CPUs.
28454 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28456         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28457         sigblock.
28459         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28460         feof.
28462         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28463         variable.
28465 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28467         * nscd/connections.c: Include libc-internal.h because of macro
28468         usage ignore_value.
28470 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28472         * string/bits/string3.h (__warn_memset_zero_len): Don't
28473         declare for gcc newer than 5.0.
28474         (memset): Don't test for zero-length __LEN for gcc newer than
28475         5.0.
28477 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28479         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28480         size_t for %zu format.
28482         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28483         difference, not %ju.
28485 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28487         * include/libc-internal.h (ignore_value): New macro.
28488         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28489         with ignore_value.
28491         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28492         definition.
28494         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28495         pthread_cleanup_push to void *.
28497         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28498         Undefine.
28500         [BZ #16619]
28501         [BZ #16740]
28502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28503         instead of 1L << 52.
28505         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28506         * libio/bug-rewind2.c (do_test): Likewise.
28508         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28509         * debug/test-strcpy_chk-ifunc.c: Likewise.
28510         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28511         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28512         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28513         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28514         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28515         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28516         * Rules [$(multi-arch) = no] (tests): Do not filter out
28517         $(tests-ifunc).
28518         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28519         * debug/Makefile (tests-ifunc): Remove variable.
28520         (tests): Do not add $(tests-ifunc).
28521         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28522         (tests): Do not add $(tests-ifunc).
28523         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28524         [TEST_IFUNC]: Remove conditionals.
28525         * string/test-string.h (TEST_IFUNC): Remove macro.
28526         [TEST_IFUNC]: Remove conditionals.
28528         * string/test-strchr.c [!WIDE] (L): New macro.
28529         [WIDE] (L): Likewise.
28530         (check1): Use CHAR instead of char.  Use L on string and character
28531         constants.
28533 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28535         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28536         tests.
28537         * sysdeps/powerpc/bits/atomic.h
28538         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28539         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28540         (atomic_exchange_and_add_acq): Likewise.
28541         (atomic_exchange_and_add_rel): Likewise.
28542         * sysdeps/powerpc/powerpc32/bits/atomic.h
28543         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28544         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28545         * sysdeps/powerpc/powerpc64/bits/atomic.h
28546         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28547         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28549 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28551         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28552         Change synchronization of __sched_fifo_min_prio and
28553         __sched_fifo_max_prio.
28554         * nptl/pthread_mutexattr_getprioceiling.c
28555         (pthread_mutexattr_getprioceiling): Likewise.
28556         * nptl/pthread_mutexattr_setprioceiling.c
28557         (pthread_mutexattr_setprioceiling): Likewise.
28558         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28559         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28560         Likewise.
28562 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28564         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28565         void.
28567 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28569         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28570         third argument const.
28572 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28574         fnmatch: work around GCC compiler warning bug with uninit var
28575         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28576         This works around a bug with x86-64 GCC 4.9.2 and earlier
28577         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28578         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28579         used uninitialized in this function [-Wmaybe-uninitialized]".
28581 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28583         * posix/bug-regex31.c (main): Return RES not 0.
28585 2014-11-25  Anton Blanchard <anton@samba.org>
28587         * sysdeps/powerpc/bits/atomic.h
28588         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28590 2014-11-24  Sterling Augustine  <saugustine@google.com>
28592         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28594 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28596         [BZ #17608]
28597         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28599 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28601         [BZ #17633]
28602         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28603         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28604         variable.
28605         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28606         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28608 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28610         * string/strncpy.c (strncpy): Improve performance by using memset.
28612 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28614         * string/strcpy.c (strcpy):
28615         Improve performance by using strlen and memcpy.
28617 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28619         * string/strcoll_l.c (get_next_seq): __always_inline.
28620         * string/strcoll_l.c (do_compare): __always_inline.
28622 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28624         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28625         defined.
28626         * include/mqueue.h: Likewise.
28627         * include/stdlib.h: Likewise.
28629         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28630         (get_null_defines): Adjust.
28631         * sunrpc/Makefile: Adjust comment.
28632         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28633         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28634         (CFLAGS-interp.c): Likewise.
28635         (CFLAGS-ldconfig.c): Likewise.
28636         (CPPFLAGS-.os): Likewise.
28637         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28638         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28639         * extra-modules.mk (extra-modules.mk): Likewise.
28640         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28641         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28642         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28643         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28644         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28645         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28646         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28647         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28648         * iconvdata/Makefile (CPPFLAGS): Likewise.
28649         (cpp-srcs-left): Add libof for all iconvdata routines.
28650         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28651         * include/assert.h: Likewise.
28652         * include/ctype.h: Likewise.
28653         * include/errno.h: Likewise.
28654         * include/libc-symbols.h: Likewise.
28655         * include/math.h: Likewise.
28656         * include/netdb.h: Likewise.
28657         * include/resolv.h: Likewise.
28658         * include/stdio.h: Likewise.
28659         * include/stdlib.h: Likewise.
28660         * include/string.h: Likewise.
28661         * include/sys/stat.h: Likewise.
28662         * include/wctype.h: Likewise.
28663         * intl/l10nflist.c: Likewise.
28664         * libidn/idn-stub.c: Likewise.
28665         * libio/libioP.h: Likewise.
28666         * nptl/libc_multiple_threads.c: Likewise.
28667         * nptl/pthreadP.h: Likewise.
28668         * posix/regex_internal.h: Likewise.
28669         * resolv/res_hconf.c: Likewise.
28670         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28671         * sysdeps/arm/memmove.S: Likewise.
28672         * sysdeps/arm/sysdep.h: Likewise.
28673         * sysdeps/generic/_itoa.h: Likewise.
28674         * sysdeps/generic/symbol-hacks.h: Likewise.
28675         * sysdeps/gnu/errlist.awk: Likewise.
28676         * sysdeps/gnu/errlist.c: Likewise.
28677         * sysdeps/i386/i586/memcpy.S: Likewise.
28678         * sysdeps/i386/i586/memset.S: Likewise.
28679         * sysdeps/i386/i686/memcpy.S: Likewise.
28680         * sysdeps/i386/i686/memmove.S: Likewise.
28681         * sysdeps/i386/i686/mempcpy.S: Likewise.
28682         * sysdeps/i386/i686/memset.S: Likewise.
28683         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28684         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28685         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28686         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28687         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28688         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28689         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28691         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28699         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28700         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28701         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28703         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28704         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28705         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28706         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28707         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28708         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28709         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28710         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28711         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28712         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28713         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28714         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28719         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28720         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28721         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28722         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28723         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28724         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28725         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28726         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28727         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28728         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28729         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28730         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28731         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28733         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28734         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28735         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28736         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28737         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28738         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28740         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28741         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28742         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28743         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28744         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28745         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28746         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28747         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28748         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28749         * sysdeps/posix/closedir.c: Likewise.
28750         * sysdeps/posix/opendir.c: Likewise.
28751         * sysdeps/posix/readdir.c: Likewise.
28752         * sysdeps/posix/rewinddir.c: Likewise.
28753         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28754         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28755         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28756         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28757         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28758         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28759         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28764         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28765         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28766         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28767         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28768         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28770         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28771         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28773         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28774         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28776         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28781         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28789         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28790         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28791         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28792         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28793         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28794         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28795         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28797         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28798         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28799         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28801         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28802         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28803         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28804         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28806         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28808         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28810         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28811         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28812         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28813         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28814         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28815         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28816         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28817         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28818         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28819         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28820         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28821         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28822         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28824         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28825         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28826         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28827         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28828         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28829         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28830         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28831         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28832         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28833         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28834         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28835         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28836         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28837         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28838         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28839         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28840         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28841         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28842         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28843         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28844         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28845         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28846         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28849         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28851         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28852         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28854         * sysdeps/unix/alpha/sysdep.S: Likewise.
28855         * sysdeps/unix/alpha/sysdep.h: Likewise.
28856         * sysdeps/unix/make-syscalls.sh: Likewise.
28857         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28859         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28860         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28861         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28862         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28863         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28864         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28865         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28866         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28867         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28868         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28869         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28870         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28871         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28872         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28873         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28874         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28875         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28876         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28877         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28878         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28879         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28880         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28881         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28882         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28883         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28886         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28887         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28890         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28891         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28895         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28896         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28897         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28898         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28899         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28900         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28901         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28904         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28907         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28908         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28909         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28910         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28911         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28913         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28915         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28916         * sysdeps/x86_64/memcpy.S: Likewise.
28917         * sysdeps/x86_64/memmove.c: Likewise.
28918         * sysdeps/x86_64/memset.S: Likewise.
28919         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28921         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28922         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28923         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28924         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28925         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28926         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28927         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28928         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28929         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28931         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28932         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28934         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28935         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28936         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28938         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28939         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28940         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28943         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28944         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28946         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28947         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28948         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28949         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28950         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28951         * sysdeps/x86_64/strcmp.S: Likewise.
28953         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28955         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28956         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28957         * elf/rtld-Rules: Likewise.
28958         * elf/setup-vdso.h: Likewise.
28959         * include/assert.h: Likewise.
28960         * include/bits/stdlib-float.h: Likewise.
28961         * include/errno.h: Likewise.
28962         * include/sys/stat.h: Likewise.
28963         * include/unistd.h: Likewise.
28964         * sysdeps/aarch64/setjmp.S: Likewise.
28965         * sysdeps/alpha/setjmp.S: Likewise.
28966         * sysdeps/arm/__longjmp.S: Likewise.
28967         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28968         * sysdeps/arm/setjmp.S: Likewise.
28969         * sysdeps/arm/sysdep.h: Likewise.
28970         * sysdeps/generic/_itoa.h: Likewise.
28971         * sysdeps/generic/dl-sysdep.h: Likewise.
28972         * sysdeps/generic/ldsodefs.h: Likewise.
28973         * sysdeps/i386/dl-tls.h: Likewise.
28974         * sysdeps/i386/setjmp.S: Likewise.
28975         * sysdeps/m68k/setjmp.c: Likewise.
28976         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28977         * sysdeps/mach/hurd/opendir.c: Likewise.
28978         * sysdeps/posix/getcwd.c: Likewise.
28979         * sysdeps/posix/opendir.c: Likewise.
28980         * sysdeps/posix/profil.c: Likewise.
28981         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28982         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28983         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28984         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28985         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28986         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28988         * sysdeps/s390/dl-tls.h: Likewise.
28989         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28990         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28991         * sysdeps/sh/sh3/setjmp.S: Likewise.
28992         * sysdeps/sh/sh4/setjmp.S: Likewise.
28993         * sysdeps/unix/alpha/sysdep.h: Likewise.
28994         * sysdeps/unix/arm/sysdep.S: Likewise.
28995         * sysdeps/unix/i386/sysdep.S: Likewise.
28996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28997         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28998         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28999         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29001         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29002         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29003         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29004         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29005         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29006         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29011         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29014         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29015         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29019         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29020         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29021         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29023         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29024         * sysdeps/x86_64/setjmp.S: Likewise.
29026         * include/math.h: Use IS_IN instead of IS_IN_libm.
29027         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29028         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29031         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29036         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29037         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29038         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29039         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29040         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29041         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29042         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29043         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29044         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29045         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29046         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29047         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29048         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29049         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29050         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29051         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29052         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29053         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29054         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29055         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29056         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29057         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29058         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29059         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29061         Likewise.
29062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29063         Likewise.
29064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29065         Likewise.
29066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29067         Likewise.
29068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29069         Likewise.
29070         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29071         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29072         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29073         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29074         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29075         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29081         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29082         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29083         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29084         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29085         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29086         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29087         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29088         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29089         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29090         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29091         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29094         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29096         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29098         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29099         * nptl/pthreadP.h: Likewise.
29100         * nptl_db/structs.def: Likewise.
29101         * sysdeps/arm/sysdep.h: Likewise.
29102         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29103         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29104         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29105         * sysdeps/unix/alpha/sysdep.h: Likewise.
29106         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29108         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29109         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29110         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29111         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29113         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29114         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29115         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29116         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29117         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29118         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29119         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29124         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29127         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29128         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29129         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29130         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29131         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29133         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29134         * nptl/pthreadP.h: Likewise.
29135         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29136         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29137         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29138         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29139         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29140         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29141         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29142         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29143         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29144         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29145         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29146         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29148         Likewise.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29150         Likewise.
29151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29153         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29156         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29157         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29158         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29160         * dlfcn/dladdr.c: Use IS_IN.
29161         * dlfcn/dladdr1.c: Likewise.
29162         * dlfcn/dlclose.c: Likewise.
29163         * dlfcn/dlerror.c: Likewise.
29164         * dlfcn/dlinfo.c: Likewise.
29165         * dlfcn/dlmopen.c: Likewise.
29166         * dlfcn/dlopen.c: Likewise.
29167         * dlfcn/dlsym.c: Likewise.
29168         * dlfcn/dlvsym.c: Likewise.
29170         * include/ifaddrs.h: Use IS_IN.
29171         * inet/check_pf.c: Likewise.
29172         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29173         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29175         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29176         IS_IN_ldconfig.
29177         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29178         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29180         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29181         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29182         IS_IN (libc).
29184         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29186         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29187         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29188         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29189         * include/libc-symbols.h (IS_IN_LIB): New macro.
29190         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29191         * include/netdb.h: Likewise.
29192         * include/stap-probe.h: Remove all uses of IN_LIB.
29194         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29195         instead of IN_MODULE.
29196         * include/libc-symbols.h (IN_MODULE): Define using
29197         MODULE_NAME.
29198         (PASTE_NAME, PASTE_NAME1): New macros.
29199         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29200         of IN_LIB.
29201         (STAP_PROBE_ASM): Likewise.
29203 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29205         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29206         __mach_init in dlopened libc.
29208 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29210         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29211         * sysdeps/arm/preconfigure: Regenerate.
29213 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29215         * nptl/pthread_create.c (__pthread_create_2_1): Set
29216         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29217         when copying values from IATTR into PD.
29219 2014-11-21  Will Newton  <will.newton@linaro.org>
29220             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29222         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29223         Refactor inline-asm.  Also add comment.
29225         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29226         ElfW macro instead of hardcoded Elf64 types.
29227         (la_aarch64_gnu_pltenter): Likewise.
29228         * sysdeps/aarch64/dl-machine.h
29229         (elf_machine_runtime_setup): Use ElfW(Addr).
29231         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29232         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29233         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29234         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29235         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29236         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29237         (R_AARCH64_TLS_DTPMOD): This.
29238         (R_AARCH64_TLS_DTPREL64): Rename to ...
29239         (R_AARCH64_TLS_DTPREL): This.
29240         (R_AARCH64_TLS_TPREL64): Rename to ...
29241         (R_AARCH64_TLS_TPREL): This.
29242         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29243         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29244         R_AARCH64_TLS_TPREL64.
29245         (elf_machine_rela): Likewise.
29247 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29249         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29250         by setting it to 0.  64b atomics are not supported currently.
29252 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29254         [BZ #16469]
29255         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29256         search domain names.
29258 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29260         [BZ #16469]
29261         * NEWS: Update.
29262         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29263         trailing dot.
29264         * posix/tst-getaddrinfo5.c: New.
29265         * posix/Makefile (tests): Add it.
29267 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29269         [BZ #14498]
29270         * NEWS: Fixed.
29271         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29272         after parsing line but before break_if_match.
29273         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29274         if there is a protocol mismatch.
29276 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29278         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29279         because the potential race is on the user-supplied stream.
29281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29283         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29284         string literal if not passed a buffer.
29285         * manual/job.texi (ctermid): Update reasoning, note deviation
29286         from posix, suggest mtasurace when not passed a buffer, for
29287         future non-preliminary safety notes.
29289 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29291         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29292         of not passing it a buffer.
29293         Reported by Peng Haitao.
29295 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29297         * manual/Makefile ($(objpfx)stamp-summary): Require
29298         check-safety.sh to pass.
29299         * manual/check-safety.sh: Wish for verification that every
29300         @deftypefn and @deftypefun is followed by a @safety remark.
29302 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29304         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29306         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29307         PTHREAD_CANCEL_ASYNCHRONOUS.
29308         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29309         send SIGCANCEL.
29311         * nptl/default-sched.h: New file.
29312         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29313         * nptl/pthread_create.c: Include it.
29314         (__pthread_create_2_1): Use collect_default_sched instead of making
29315         Linux syscalls here directly.
29317 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29319         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29320         __pthread_once): Use C11 atomics.
29322 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29324         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29326 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29328         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29329         atomic_thread_fence_acquire, atomic_thread_fence_release,
29330         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29331         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29332         atomic_compare_exchange_weak_relaxed,
29333         atomic_compare_exchange_weak_acquire,
29334         atomic_compare_exchange_weak_release,
29335         atomic_exchange_acquire, atomic_exchange_release,
29336         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29337         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29338         atomic_fetch_and_acquire,
29339         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29341 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29343         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29344         USE_ATOMIC_COMPILER_BUILTINS): Define.
29345         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29347         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29349         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29351         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29353         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29355         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29357         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29359         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29361         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29363         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29365         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29367         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29369         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29371         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29373         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29375         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29377         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29379         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29380         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29381         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29383         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29386 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29388         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29389         the sched_priority value here.  It was already checked when the user
29390         called pthread_attr_setschedparam.
29392         * nptl/tst-bad-schedattr.c: New file.
29393         * nptl/Makefile (tests): Add it.
29395 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29396             Florian Weimer  <fweimer@redhat.com>
29397             Joseph Myers  <joseph@codesourcery.com>
29398             Adam Conrad  <adconrad@0c3.net>
29399             Andreas Schwab  <schwab@suse.de>
29400             Brooks  <bmoses@google.com>
29402         [BZ #17625]
29403         * wordexp-test.c (__dso_handle): Add prototype.
29404         (__register_atfork): Likewise.
29405         (__app_register_atfork): New function.
29406         (registered_forks): New global.
29407         (register_fork): New function.
29408         (test_case): Add 3 new tests for WRDE_CMDSUB.
29409         (main): Call __app_register_atfork.
29410         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29411         fork count is non-zero fail the test.
29412         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29413         is set.
29414         (parse_dollars): Remove check for WRDE_NOCMD.
29415         (parse_dquote): Likewise.
29417 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29419         * Makeconfig (built-modules): List non-library modules to be
29420         built.
29421         (module-cppflags): Include libc-modules.h for
29422         everything except shlib-versions.v.i.
29423         (CPPFLAGS): Use it.
29424         (before-compile): Add libc-modules.h.
29425         ($(common-objpfx)libc-modules.h,
29426         $(common-objpfx)libc-modules.stmp): New targets.
29427         (common-generated): Add libc-modules.h and libc-modules.stmp.
29428         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29429         * include/libc-symbols.h: Don't include libc-modules.h.
29430         * include/libc-modules.h: Remove file.
29431         * scripts/gen-libc-modules.awk: New script to generate
29432         libc-modules.h.
29433         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29434         Depend on libc-modules.stmp.
29436         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29438         * Makeconfig (in-module): Get value of libof set for the
29439         translation unit.
29440         (CPPFLAGS): Use $(in-module).
29441         * Makerules: Don't suffix routine names for nonlib.
29442         * include/libc-modules.h: New file.
29443         * include/libc-symbols.h: Include libc-modules.h
29444         (IS_IN): New macro to replace IS_IN_* macros.
29445         * elf/Makefile: Set libof-* for each routine.
29446         * elf/rtld-Rules: Likewise.
29447         * extra-modules.mk: Likewise.
29448         * iconv/Makefile: Likewise.
29449         * iconvdata/Makefile: Likewise.
29450         * locale/Makefile: Likewise.
29451         * malloc/Makefile: Likewise.
29452         * nss/Makefile: Likewise.
29453         * sysdeps/gnu/Makefile: Likewise.
29454         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29455         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29456         * sysdeps/s390/s390-64/Makefile: Likewise.
29457         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29458         CPPFLAGS for nscd instead of nonlib.
29460 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29462         * nptl/createthread.c: New file.
29464         * nptl/createthread.c: Moved ...
29465         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29467         * nptl/createthread.c: Add proper top-line comment.
29468         (do_clone): Folded into ...
29469         (create_thread): ... here.  Take new arguments STOPPED_START and
29470         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29471         increment __nptl_threads, do event-reporting logic, do
29472         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29473         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29474         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29475         just send SIGCANCEL.
29476         * nptl/pthread_create.c: Forward-declare create_thread before
29477         including createthread.c.
29478         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29479         declaration, and new macro START_THREAD_SELF to replace argument.
29480         Remove return statement.
29481         (report_thread_creation): New function.
29482         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29483         synchronization logic, and __nptl_nthreads increment here, around
29484         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29485         PD->parent_cancelhandling here, before create_thread.  When
29486         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29487         __deallocate_stack, and ENOMEM translation here.
29489 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29491         [BZ #17616]
29492         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29493         (mptwo): Rename to __mptwo.
29494         (__inv): Use __mptwo instead of mptwo.
29495         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29496         (mptwo): Rename to __mptwo.
29497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29498         of mpone and __mptwo instead of mptwo.
29499         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29500         instead of mpone.
29501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29502         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29503         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29504         of mpone and __mptwo instead of mptwo.
29505         (__mpranred): Use __mpone instead of mpone.
29506         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29507         variable.
29508         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29509         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29510         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29511         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29512         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29513         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29514         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29515         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29516         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29517         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29518         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29519         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29520         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29521         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29522         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29523         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29524         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29525         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29526         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29528 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29530         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29531         replace BSD Handler xref with BSD Signal Handling.
29533 2014-11-17  Richard Henderson  <rth@redhat.com>
29535         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29536         (_FP_PACK_RAW_2): Remove.
29537         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29538         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29539         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29540         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29541         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29542         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29543         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29544         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29545         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29546         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29547         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29548         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29549         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29550         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29551         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29552         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29554 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29556         * signal/signal.h [__USE_MISC]
29557         (struct sigvec): Remove type.
29558         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29559         (sigvec): Remove declaration.
29560         * sysdeps/posix/sigvec.c: Moved ...
29561         * signal/sigvec.c: ... here, replacing old file.
29562         (struct sigvec): New type, copied from old signal.h definition.
29563         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29564         (__sigvec): Convert definition to prototype.
29565         (sigvec): Replace weak_alias with compat_symbol.
29566         * signal/Versions (libc: GLIBC_2.21): New version set.
29567         * include/signal.h: Remove __sigvec declaration.
29568         * sysdeps/unix/bsd/sigvec.c: Remove file.
29569         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29570         * manual/signal.texi (BSD Handler): Remove subsection.
29571         Move siginterrupt up to ...
29572         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29573         (Blocking in BSD): Fold subsection into its parent.
29574         * NEWS: Mention sigvec removal.
29576 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29578         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29579         (DLA_FMS): Make definition conditional only on [__FMA4__].
29580         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29581         definition.
29583         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29584         Make definition conditional only on [PROF].
29585         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29586         definition.
29587         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29588         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29590         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29591         !__GNUC__].
29592         * include/signal.h (__sigpause): Move declaration above call to
29593         libc_hidden_proto.
29594         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29595         variable.
29596         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29597         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29599 2014-11-14  David S. Miller  <davem@davemloft.net>
29601         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29602         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29604 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29606         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29607         * configure: Regenerated.
29608         * manual/install.texi (Tools for Compilation): Document a
29609         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29610         compiler verified to work.
29611         * INSTALL: Regenerated.
29613         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29614         redeclare with asm name.
29615         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29616         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29617         including <string.h>.
29618         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29619         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29620         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29621         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29622         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29624         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29626 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29628         * stdlib/strtol.c (__strtol): Use prototype definition.
29630         [BZ #17594]
29631         * stdlib/strtol.c (SYM__): New macro.
29632         (SYM__1): Likewise.
29633         (__strtol): Likewise.
29634         (strtol): Rename to __strtol and define as weak alias of
29635         __strtol.  Use libc_hidden_weak.
29637 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29639         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29640         Use numbered labels in inline assembly.
29642 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29644         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29645         Add setjmp LIBC_PROBE.
29646         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29647         Likewise.
29648         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29649         Add longjmp, longjmp_target LIBC_PROBE.
29650         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29651         Likewise.
29653 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29655         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29656         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29657         to get rid of unused variable warning.
29659 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29661         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29662         Check for unwind_backtrace ==  NULL only in SHARED case.
29663         (__backchain_backtrace): Compile only in SHARED case.
29664         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29665         Likewise.
29666         (__backchain_backtrace): Declare as static.
29668 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29670         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29671         (__libc_multiple_threads_ptr): Variable moved ...
29672         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29674 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29676         * conform/GlibcConform.pm: New file.
29677         * conform/conformtest.pl: Use GlibcConform module.
29678         * conform/linknamespace.pl: New file.
29679         * conform/list-header-symbols.pl: Likewise.
29680         * conform/Makefile (linknamespace-symlists-base): New variable.
29681         (linknamespace-symlists-tests): Likewise.
29682         (linknamespace-header-base): Likewise.
29683         (linknamespace-header-tests): Likewise.
29684         (tests-special): Add new tests.
29685         ($(linknamespace-symlists-tests)): New rule.
29686         (linknamespace-libs): New variable.
29687         ($(objpfx)symlist-stdlibs): New rule.
29688         ($(linknamespace-header-tests)): Likewise.
29689         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29690         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29691         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29692         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29693         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29694         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29695         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29696         (test-xfail-ISO/math.h/linknamespace): Likewise.
29697         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29698         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29699         (test-xfail-ISO/time.h/linknamespace): Likewise.
29700         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29701         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29702         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29703         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29704         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29705         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29706         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29707         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29708         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29709         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29710         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29711         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29712         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29713         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29714         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29715         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29716         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29717         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29718         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29719         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29720         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29721         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29722         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29723         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29724         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29725         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29726         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29727         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29728         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29729         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29730         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29731         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29732         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29733         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29734         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29735         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29736         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29737         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29738         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29739         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29740         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29741         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29742         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29743         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29744         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29745         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29746         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29747         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29748         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29749         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29750         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29751         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29752         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29753         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29754         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29755         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29756         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29757         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29758         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29759         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29760         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29761         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29762         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29763         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29764         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29765         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29766         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29767         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29768         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29769         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29770         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29771         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29772         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29773         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29774         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29775         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29776         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29777         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29778         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29779         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29780         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29781         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29782         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29783         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29784         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29785         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29786         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29787         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29788         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29789         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29790         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29791         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29792         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29793         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29794         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29795         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29796         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29797         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29798         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29799         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29800         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29801         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29802         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29803         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29804         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29805         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29806         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29807         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29808         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29809         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29810         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29811         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29812         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29813         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29814         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29815         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29816         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29817         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29818         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29819         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29820         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29821         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29822         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29823         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29824         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29825         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29826         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29827         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29828         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29829         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29830         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29831         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29832         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29833         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29834         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29835         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29836         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29837         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29838         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29839         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29840         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29841         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29842         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29843         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29844         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29845         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29846         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29847         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29848         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29849         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29851         [BZ #17589]
29852         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29853         of fgets_unlocked.
29855         [BZ #17585]
29856         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29857         (memmem): Rename to __memmem and define as weak alias of
29858         __memmem.  Use libc_hidden_weak.
29859         (__memmem): Use libc_hidden_def.
29860         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29861         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29862         memmem.
29864         [BZ #17582]
29865         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29866         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29867         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29868         and define as weak alias of __fgets_unlocked.  Use
29869         libc_hidden_weak.
29870         (__fgets_unlocked): Use libc_hidden_def.
29871         * include/stdio.h (__fgets_unlocked): Declare.  Use
29872         libc_hidden_proto.
29873         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29874         __fgets_unlocked instead of fgets_unlocked.
29875         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29876         (GET_NPROCS_CONF_PARSER): Likewise.
29877         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29878         (GET_NPROCS_CONF_PARSER): Likewise.
29880         [BZ #17574]
29881         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29882         weak alias of __wmemset.  Use libc_hidden_weak.
29883         (__wmemset): Use libc_hidden_def.
29884         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29885         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29886         of wmemset.
29888         [BZ #17573]
29889         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29890         with asm name __mempcpy.
29891         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29893         [BZ #17572]
29894         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29895         and define as weak alias of __rawmemchr.
29896         (__rawmemchr): Do not define as strong alias of rawmemchr.
29898         [BZ #17571]
29899         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29900         alias of __qsort_r.
29901         (qsort): Call __qsort_r instead of qsort_r.
29902         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29903         (__qsort_r): Declare.  Call libc_hidden_proto.
29904         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29905         instead of qsort_r.
29906         * nscd/gai.c (__qsort_r): Define to qsort_r.
29907         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29908         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29909         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29911         [BZ #17570]
29912         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29913         define as weak alias of __malloc_info.
29915         [BZ #17584]
29916         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29917         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29918         (__rewinddir): Use libc_hidden_def.
29919         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29920         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29921         (__rewinddir): Use libc_hidden_def.
29922         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29923         weak alias of __rewinddir.  Don't use libc_hidden_def.
29924         (__rewinddir): Use libc_hidden_def.
29925         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29926         (__rewinddir): Use libc_hidden_proto.
29927         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29928         rewinddir.
29929         (__getcwd): Use __rewinddir instead of rewinddir.
29931         [BZ #17583]
29932         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29933         alias of __fileno.  Use libc_hidden_weak.
29934         (__fileno): Use libc_hidden_def.
29935         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29936         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29937         alias of __ftello.
29938         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29939         __ftello.
29940         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29941         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29942         libc_hidden_def.
29943         (fread_unlocked): Don't use libc_hidden_ver.
29944         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29945         and define as weak alias of __fread_unlocked.  Don't use
29946         libc_hidden_def.
29947         (__fread_unlocked): Use libc_hidden_def.
29948         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29949         (ftello): Don't use libc_hidden_proto.
29950         (__ftello): Declare.  Use libc_hidden_proto.
29951         (fread_unlocked): Don't use libc_hidden_proto.
29952         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29953         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29954         and __ftello instead of fileno, fread_unlocked and ftello.
29956 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29958         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29959         GOT12.
29960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29961         Likewise.
29962         (_dl_start_user): Likewise.
29963         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29965 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29966             Siddhesh Poyarekar  <siddhesh@redhat.com>
29968         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29969         Move argv and envp down instead of moving argc up.
29970         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29972 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29974         [BZ #17506]
29975         * test-skeleton.c (main): Return successful if one of
29976         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29977         * string/tst-strcoll-overflow.c: Define expected status.
29979 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29981         [BZ #17475]
29982         * locale/iso-639.def: Define Bhili and Tulu language codes.
29984 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29986         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29988 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29990         [BZ #17555]
29991         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29993 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29995         * configure.ac: Updated check of minimal required version to
29996         2.22.
29997         * manual/install.texi (Tools for Compilation): Updated version
29998         number.
29999         * configure: Regenerated.
30000         * INSTALL: Likewise.
30002 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30004         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30005         __tls_get_addr.
30007 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30009         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30010         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30011         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30012         libc_hidden_weak.
30013         (waitpid): Define as alias of __waitpid.
30014         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30015         __waitpid.
30016         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30017         libc_hidden_weak.
30018         (waitpid): Define as alias of __waitpid.
30019         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30020         __libc_waitpid alias.
30021         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30022         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30023         Likewise.
30024         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30025         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30026         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30027         alias.
30028         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30029         __waitpid.
30030         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30031         libc_hidden_weak.
30032         (waitpid): Define as alias of __waitpid.
30034 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30036         * manual/llio.texi: Add comment that write safety has been
30037         fixed in Linux.
30039         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30040         (localplt-build-dso): Add elf/ld.so.
30041         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30042         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30043         and free for ld.so.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30045         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30047         Likewise.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30049         Likewise.
30050         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30051         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30052         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30053         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30054         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30055         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30056         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30057         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30058         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30059         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30060         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30062 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30064         [BZ #14132]
30065         * include/libc-symbols.h (INTUSE): Remove macro.
30066         (INTDEF): Likewise.
30067         (INTVARDEF): Likewise.
30068         (_INTVARDEF): Likewise.
30069         (INTDEF2): Likewise.
30070         (INTVARDEF2): Likewise.
30071         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30072         rtld_hidden_def instead of INTVARDEF.
30073         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30074         (_dl_starting_up_internal): Remove declaration.
30075         (_dl_starting_up): Use rtld_hidden_proto.
30076         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30077         declaration.
30078         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30079         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30080         _dl_starting_up.
30081         * elf/dl-writev.h (_dl_writev): Likewise.
30082         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30083         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30084         _dl_starting_up_internal.
30086 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30088         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30089         test-skeleton.c.
30091 2014-11-05  Will Newton  <will.newton@linaro.org>
30093         * benchtests/Makefile: (bench-malloc): Add malloc thread
30094         scalability benchmark.
30095         * benchtests/bench-malloc-threads.c: New file.
30097 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30099         * sysdeps/aarch64/strchrnul.S: New file.
30101 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30103         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30104         definition.
30105         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30106         Likwise.
30107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30108         Likewise.
30109         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30110         Likewise.
30111         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30112         Likewise.
30113         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30114         Likewise.
30116 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30118         * catgets/test-gencat.c: Use test-skeleton.c.
30119         * catgets/tst-catgets.c: Likewise.
30120         * csu/tst-empty.c: Likewise.
30121         * elf/tst-audit2.c: Likewise.
30122         * elf/tst-global1.c: Likewise.
30123         * elf/tst-pathopt.c: Likewise.
30124         * elf/tst-piemod1.c: Likewise.
30125         * elf/tst-tls10.c: Likewise.
30126         * elf/tst-tls11.c: Likewise.
30127         * elf/tst-tls12.c: Likewise.
30128         * gnulib/tst-gcc.c: Likewise.
30129         * iconvdata/tst-e2big.c: Likewise.
30130         * iconvdata/tst-loading.c: Likewise.
30131         * iconv/tst-iconv1.c: Likewise.
30132         * iconv/tst-iconv2.c: Likewise.
30133         * inet/test-inet6_opt.c: Likewise.
30134         * inet/tst-gethnm.c: Likewise.
30135         * inet/tst-network.c: Likewise.
30136         * inet/tst-ntoa.c: Likewise.
30137         * intl/tst-codeset.c: Likewise.
30138         * intl/tst-gettext2.c: Likewise.
30139         * intl/tst-gettext3.c: Likewise.
30140         * intl/tst-ngettext.c: Likewise.
30141         * intl/tst-translit.c: Likewise.
30142         * io/test-stat.c: Likewise.
30143         * libio/test-fmemopen.c: Likewise.
30144         * libio/tst-freopen.c: Likewise.
30145         * libio/tst-sscanf.c: Likewise.
30146         * libio/tst-ungetwc1.c: Likewise.
30147         * libio/tst-ungetwc2.c: Likewise.
30148         * libio/tst-widetext.c: Likewise.
30149         * localedata/tst-ctype.c: Likewise.
30150         * localedata/tst-digits.c: Likewise.
30151         * localedata/tst-leaks.c: Likewise.
30152         * localedata/tst-mbswcs1.c: Likewise.
30153         * localedata/tst-mbswcs2.c: Likewise.
30154         * localedata/tst-mbswcs3.c: Likewise.
30155         * localedata/tst-mbswcs4.c: Likewise.
30156         * localedata/tst-mbswcs5.c: Likewise.
30157         * localedata/tst-setlocale.c: Likewise.
30158         * localedata/tst-trans.c: Likewise.
30159         * localedata/tst-wctype.c: Likewise.
30160         * localedata/tst-xlocale1.c: Likewise.
30161         * login/tst-grantpt.c: Likewise.
30162         * malloc/tst-calloc.c: Likewise.
30163         * malloc/tst-malloc.c: Likewise.
30164         * malloc/tst-mallocstate.c: Likewise.
30165         * malloc/tst-mcheck.c: Likewise.
30166         * malloc/tst-mtrace.c: Likewise.
30167         * malloc/tst-obstack.c: Likewise.
30168         * math/atest-exp2.c: Likewise.
30169         * math/atest-exp.c: Likewise.
30170         * math/atest-sincos.c: Likewise.
30171         * math/test-matherr.c: Likewise.
30172         * math/test-misc.c: Likewise.
30173         * math/test-powl.c: Likewise.
30174         * math/tst-definitions.c: Likewise.
30175         * misc/tst-dirname.c: Likewise.
30176         * misc/tst-efgcvt.c: Likewise.
30177         * misc/tst-fdset.c: Likewise.
30178         * misc/tst-hsearch.c: Likewise.
30179         * misc/tst-mntent2.c: Likewise.
30180         * nptl/tst-sem7.c: Likewise.
30181         * nptl/tst-sem8.c: Likewise.
30182         * nptl/tst-sem9.c: Likewise.
30183         * nss/test-netdb.c: Likewise.
30184         * posix/tst-fnmatch.c: Likewise.
30185         * posix/tst-getlogin.c: Likewise.
30186         * posix/tst-gnuglob.c: Likewise.
30187         * posix/tst-mmap.c: Likewise.
30188         * pwd/tst-getpw.c: Likewise.
30189         * resolv/tst-inet_ntop.c: Likewise.
30190         * rt/tst-timer.c: Likewise.
30191         * stdio-common/test-fseek.c: Likewise.
30192         * stdio-common/test-popen.c: Likewise.
30193         * stdio-common/test-vfprintf.c: Likewise.
30194         * stdio-common/tst-cookie.c: Likewise.
30195         * stdio-common/tst-fileno.c: Likewise.
30196         * stdio-common/tst-gets.c: Likewise.
30197         * stdio-common/tst-obprintf.c: Likewise.
30198         * stdio-common/tst-perror.c: Likewise.
30199         * stdio-common/tst-sprintf2.c: Likewise.
30200         * stdio-common/tst-sprintf3.c: Likewise.
30201         * stdio-common/tst-sprintf.c: Likewise.
30202         * stdio-common/tst-swprintf.c: Likewise.
30203         * stdio-common/tst-tmpnam.c: Likewise.
30204         * stdio-common/tst-unbputc.c: Likewise.
30205         * stdio-common/tst-wc-printf.c: Likewise.
30206         * stdlib/tst-environ.c: Likewise.
30207         * stdlib/tst-fmtmsg.c: Likewise.
30208         * stdlib/tst-limits.c: Likewise.
30209         * stdlib/tst-rand48-2.c: Likewise.
30210         * stdlib/tst-rand48.c: Likewise.
30211         * stdlib/tst-random2.c: Likewise.
30212         * stdlib/tst-random.c: Likewise.
30213         * stdlib/tst-strtol.c: Likewise.
30214         * stdlib/tst-strtoll.c: Likewise.
30215         * stdlib/tst-tls-atexit.c: Likewise.
30216         * stdlib/tst-xpg-basename.c: Likewise.
30217         * string/test-ffs.c: Likewise.
30218         * string/tst-bswap.c: Likewise.
30219         * string/tst-inlcall.c: Likewise.
30220         * string/tst-strtok.c: Likewise.
30221         * string/tst-strxfrm.c: Likewise.
30222         * sysdeps/x86_64/tst-audit10.c: Likewise.
30223         * sysdeps/x86_64/tst-audit3.c: Likewise.
30224         * sysdeps/x86_64/tst-audit4.c: Likewise.
30225         * sysdeps/x86_64/tst-audit5.c: Likewise.
30226         * time/tst-ftime_l.c: Likewise.
30227         * time/tst-getdate.c: Likewise.
30228         * time/tst-mktime3.c: Likewise.
30229         * time/tst-mktime.c: Likewise.
30230         * time/tst-posixtz.c: Likewise.
30231         * time/tst-strptime2.c: Likewise.
30232         * time/tst-strptime3.c: Likewise.
30233         * wcsmbs/tst-btowc.c: Likewise.
30234         * wcsmbs/tst-mbrtowc.c: Likewise.
30235         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30236         * wcsmbs/tst-wchar-h.c: Likewise.
30237         * wcsmbs/tst-wcpncpy.c: Likewise.
30238         * wcsmbs/tst-wcrtomb.c: Likewise.
30239         * wcsmbs/tst-wcsnlen.c: Likewise.
30240         * wcsmbs/tst-wcstof.c: Likewise.
30242 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30244         [BZ #14132]
30245         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30246         INTDEF.
30247         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30248         declaration.
30249         (_dl_mcount): Use rtld_hidden_proto.
30250         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30251         _dl_mcount.
30252         * elf/rtld.c (_rtld_global_ro): Likewise.
30254         [BZ #14132]
30255         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30256         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30257         of _dl_init_internal.
30258         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30259         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30260         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30261         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30262         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30263         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30264         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30265         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30266         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30267         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30268         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30269         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30270         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30271         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30272         * sysdeps/tile/dl-start.S (_start): Likewise.
30273         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30274         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30276         [BZ #14132]
30277         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30278         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30279         (rtld_progname): Make macro definition unconditional.
30280         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30281         INTDEF.
30282         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30283         (dl_main): Likewise.
30284         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30285         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30286         instead of _dl_argv_internal.
30287         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30288         __GI__dl_argv instead of INTUSE(_dl_argv).
30289         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30290         __GI__dl_argv instead of _dl_argv_internal.
30292         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30293         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30294         macro.
30295         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30296         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30297         New macro.
30298         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30299         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30300         macro.
30301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30302         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30304 2014-11-04  Andreas Schwab  <schwab@suse.de>
30306         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30308 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30310         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30311         mtvsrd instruction in binary form.
30313 2014-11-03  Andreas Schwab  <schwab@suse.de>
30315         [BZ #17522]
30316         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30317         for less than MB_LEN_MAX use a local buffer of that size.
30318         * libio/tst-fputws.c: New file.
30319         * libio/Makefile (tests): Add tst-fputws.
30321 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30323         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30324         the size of the fpu_fr.fpu_dregs[] array.
30326 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30328         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30329         (__nanosleep): Do not define as alias.
30330         (nanosleep): Define as alias of __nanosleep.
30331         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30332         __libc_nanosleep name.
30334 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30336         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30337         install.texi in comment.
30339 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30341         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30342         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30343         ... add here and use lwsync or sync ...
30344         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30345         ... and add here using lwsync.
30347 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30349         * elf/dl-machine-reject-phdr.h: New file.
30350         * elf/dl-load.c: #include that.
30351         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30352         if that returned true.
30354 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30356         [BZ #17496]
30357         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30358         gen-as-const-headers chunk.  Add a big scare comment after the last
30359         safe place to touch before-compile.
30361 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30363         * manual/install.texi (Tools for Compilation): Update autoconf
30364         version requirements.
30365         * INSTALL: Regenerated.
30367         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30368         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30369         (__libc_pselect): Likewise.
30371         [BZ #14138]
30372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30377 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30379         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30380         correct barrier instruction.
30381         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30382         Likewise.
30383         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30384         Likewise.
30386 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30388         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30389         after defining inlines.  Instead, just use parens to defeat macro
30390         expansion of __isctype in its declaration.
30392 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30394         * include/sys/uio.h (__libc_readv): Remove declaration.
30395         (__libc_writev): Likewise.
30396         * misc/readv.c (__libc_readv): Rename to __readv.
30397         (__readv): Do not define as alias.
30398         (readv): Define as alias of __readv.
30399         * misc/writev.c (__libc_writev): Rename to __writev.
30400         (__writev): Do not define as alias.
30401         (writev): Define as alias of __writev.
30402         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30403         (__readv): Do not define as alias.
30404         (readv): Define unconditionally as alias of __readv.
30405         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30406         (__writev): Do not define as alias.
30407         (writev): Define unconditionally as alias of __writev.
30408         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30409         name.
30410         (writev): Do not define __libc_writev name.
30412 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30414         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30415         (convert_charseq): New function, broken out of ...
30416         (use_from_charmap): ... here.  Call it.
30417         (use_to_charmap): Use convert_charseq and free instead of duplicating
30418         its code with a variable-length stack struct.
30420 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30422         * include/fcntl.h (__libc_creat): Remove declaration.
30423         * io/creat.c (__libc_creat): Rename to creat.
30424         (creat): Do not define as alias.
30425         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30426         of creat instead of __libc_creat.
30427         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30428         to creat.
30429         (creat): Do not define as alias.
30430         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30431         __libc_creat.
30432         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30433         __libc_creat name.
30434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30435         Likewise.
30437 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30439         * manual/llio.texi: Add comments discussing why write() may be
30440         considered MT-unsafe on Linux.
30442 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30444         * dl-load.c (local_strdup): Remove.
30445         (expand_dynamic_string_token): Use __strdup.
30446         (decompose_rpath): Likewise.
30447         (_dl_map_object): Likewise.
30449 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30451         [BZ #14132]
30452         * sysdeps/generic/unwind-dw2-fde.c
30453         (__register_frame_info_bases_internal): Do not declare.
30454         (__register_frame_info_table_bases_internal): Likewise.
30455         (__deregister_frame_info_bases_internal): Likewise.
30456         (__register_frame_info_bases): Declare and use hidden_proto before
30457         definition.  Use hidden_def instead of INTDEF.
30458         (__register_frame_info_table_bases): Likewise.
30459         (__deregister_frame_info_bases): Likewise.
30460         (__register_frame_info): Do not use INTUSE.
30461         (__register_frame): Likewise.
30462         (__register_frame_info_table): Likewise.
30463         (__register_frame_table): Likewise.
30464         (__deregister_frame_info): Likewise.
30465         (__deregister_frame): Likewise.
30467 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30470         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30471         not undefine.
30472         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30473         Likewise.
30474         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30475         Likewise.
30477 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #14138]
30480         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30481         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30482         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30483         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30484         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30485         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30486         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30487         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30488         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30489         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30490         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30492         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30493         syscall.
30494         (setfsuid): Likewise.
30495         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30496         (setfsuid): Likewise.
30497         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30498         (setfsuid): Likewise.
30499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30500         Likewise.
30501         (setfsuid): Likewise.
30502         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30503         (setfsuid): Likewise.
30504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30505         Likewise.
30506         (setfsuid): Likewise.
30508 2014-10-27  Andreas Schwab  <schwab@suse.de>
30510         [BZ #17501]
30511         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30512         check for Slow_SSE4_2 feature bit.
30513         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30514         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30515         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30516         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30518 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30520         * configure.ac: Validate compiler version with a empirical test of
30521         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30522         $CC -v output.
30523         * configure: Regenerated.
30525         * inet/htons.c (htons): Prototypify.
30526         * inet/htonl.c (htonl): Likewise.
30528 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30530         * string/strncat.c (strncat): Improve performance by using strlen.
30532 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30534         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30536 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30538         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30539         Call libc_fetestexcept_aarch64.
30541 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30543         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30544         Call libc_feholdexcept_aarch64.
30546 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30548         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30549         Call get_rounding_mode.
30551 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30553         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30554         Simplify logic.
30556 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30558         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30559         Simplify logic.
30561 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30563         [BZ #14138]
30564         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30565         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30566         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30567         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30568         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30569         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30570         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30571         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30572         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30573         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30574         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30576         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30577         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30578         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30579         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30580         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30581         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30582         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30583         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30584         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30585         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30586         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30587         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30588         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30589         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30590         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30591         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30592         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30593         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30594         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30595         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30596         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30597         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30598         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30599         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30600         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30601         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30602         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30603         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30604         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30605         syscall.
30606         (geteuid): Likewise.
30607         (getgid): Likewise.
30608         (getuid): Likewise.
30609         (getresgid): Likewise.
30610         (getresuid): Likewise.
30611         (getgroups): Likewise.
30612         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30613         (geteuid): Likewise.
30614         (getgid): Likewise.
30615         (getuid): Likewise.
30616         (getresgid): Likewise.
30617         (getresuid): Likewise.
30618         (getgroups): Likewise.
30619         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30620         (geteuid): Likewise.
30621         (getgid): Likewise.
30622         (getuid): Likewise.
30623         (getresgid): Likewise.
30624         (getresuid): Likewise.
30625         (getgroups): Likewise.
30626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30627         Likewise.
30628         (geteuid): Likewise.
30629         (getgid): Likewise.
30630         (getuid): Likewise.
30631         (getresgid): Likewise.
30632         (getresuid): Likewise.
30633         (getgroups): Likewise.
30634         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30635         (geteuid): Likewise.
30636         (getgid): Likewise.
30637         (getuid): Likewise.
30638         (getresgid): Likewise.
30639         (getresuid): Likewise.
30640         (getgroups): Likewise.
30641         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30642         Likewise.
30643         (geteuid): Likewise.
30644         (getgid): Likewise.
30645         (getuid): Likewise.
30646         (getgroups): Likewise.
30648         [BZ #14138]
30649         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30650         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30651         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30652         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30653         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30654         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30655         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30656         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30657         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30658         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30659         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30661         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30662         __chown.
30663         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30664         (lchown): Likewise.
30665         (fchown): Likewise.
30666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30667         Likewise.
30668         (lchown): Likewise.
30669         (fchown): Likewise.
30670         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30671         (lchown): Likewise.
30672         (fchown): Likewise.
30673         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30674         Likewise.
30675         (lchown): Likewise.
30676         (fchown): Likewise.
30678 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30680         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30681         Simplify logic.
30683 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30685         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30686         Cleanup logic.
30688 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30690         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30691         Remove unused include.
30693 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30695         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30696         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30697         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30698         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30700 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30701             Helge Deller <deller@gmx.de>
30703         [BZ #17508]
30704         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30705         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30706         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30708 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30710         [BZ #14132]
30711         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30712         Remove macro definition.
30713         (__ashrdi3_v_glibc20): Likewise.
30714         (__lshrdi3_v_glibc20): Likewise.
30715         (__cmpdi2_v_glibc20): Likewise.
30716         (__ucmpdi2_v_glibc20): Likewise.
30717         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30718         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30719         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30720         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30721         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30722         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30724 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30726         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30727         old GNU extension [0] syntax.
30728         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30729         alloca rather than an array member with variable length.
30730         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30731         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30732         (parse_opt): ... here.  Likewise use alloca there.
30733         Validate the -i argument before checking for rootness.
30734         (send_shutdown): New function, broken out of ...
30735         (parse_opt): ... here.
30737 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30739         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30740         macro to get at the _rt_local_ro field.
30741         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30742         ([PIC] case) or _dl_hwcap ([!PIC] case).
30743         * sysdeps/arm/setjmp.S: Likewise.
30745         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30746         * sysdeps/arm/configure.ac: New check to define it.
30747         * sysdeps/arm/configure: Regenerated.
30748         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30749         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30750         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30751         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30752         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30753         Use move/movt pair instead of a load.
30754         (LDST_GLOBAL): Macro removed.
30755         (LDR_GLOBAL): New macro replaces it.
30756         (LDR_HIDDEN): New macro.
30757         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30758         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30760         * setjmp/tst-setjmp-static.c: New file.
30761         * setjmp/Makefile (tests): Add it.
30762         (tests-static): New variable.
30764 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30766         [BZ #17485]
30767         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30769 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30771         [BZ #14132]
30772         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30774 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30776         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30778 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30780         * io/fts.c (dirent_not_directory): New function.
30781         (fts_build): Call it.
30783 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30785         * nptl/version.c (__nptl_main): Use normal __write rather than
30786         INTERNAL_SYSCALL.
30787         (banner): Update copyright years.
30789         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30790         gettimeofday.
30791         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30792         * nptl/pthread_cond_timedwait.c: Likewise.
30793         * nptl/pthread_mutex_timedlock.c: Likewise.
30794         * nptl/sem_timedwait.c: Likewise.
30796         * sysdeps/nptl/bits/libc-lock.h
30797         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30798         (__libc_lock_init_recursive): Return void, not 0.
30799         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30800         (__libc_rwlock_init): Likewise.
30801         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30803 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30805         [BZ #15215]
30806         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30807         (__pthread_once_slow): ... here.
30808         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30809         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30811 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30813         [BZ #15215]
30814         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30815         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30816         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30817         * nptl/pthread_once.c (__pthread_once): Likewise.
30818         Update comments.
30820 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30822         [BZ #14138]
30823         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30824         name.
30825         (writev): Use __libc_writev as strong name.
30826         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30827         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30829 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30831         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30833         * sysdeps/i386/nptl/tls.h
30834         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30835         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30836         New macros.
30837         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30838         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30839         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30840         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30841         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30842         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30844         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30845         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30846         on [__NR_futex].
30847         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30848         broken out of ...
30849         (__pthread_mutex_init): ... here.  Call it.
30850         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30851         Conditionalize PI cases on [__NR_futex].
30852         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30853         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30854         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30856         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30857         conditional on [SIGSETXID].
30858         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30859         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30860         is defined.  Likewise for SIGSETXID.
30861         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30862         Conditionalize definitions on [SIGSETXID].
30863         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30864         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30865         unblocking on [SIGCANCEL].
30867         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30868         [__NR_set_robust_list].
30870 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30872         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30873         (do_compare): Likewise.
30875 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30877         [BZ #15884]
30878         * string/strcoll_l.c: Don't include stdio.h.
30879         (coll_seq): Remove members idxarr and rulearr.
30880         (get_next_seq_cached): Remove function.
30881         (get_next_seq): Likewise.
30882         (get_next_seq_nocache): Rename to get_next_seq.
30883         (do_compare): Remove function.
30884         (do_compare_nocache): Rename to do_compare.
30885         (STRCOLL): Remove weight and rules cache.
30887 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30889         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30890         * sysdeps/arm/sfp-machine.h: ... to here.
30891         * sysdeps/arm/Implies: Remove arm/soft-fp.
30893 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30895         * conform/data/sys/utsname.h-data (*_t): Allow.
30896         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30897         [POSIX] (WEXITED): Do not expect constant.
30898         [POSIX] (WSTOPPED): Likewise.
30899         [POSIX] (WNOHANG): Likewise.
30900         [POSIX] (WNOWAIT): Likewise.
30901         [POSIX] (siginfo_t): Do not expect type or elements.
30902         [POSIX] (pid_t): Do not expect type.
30903         [POSIX] (signal.h): Do not allow header.
30904         [POSIX] (sys/resource.h): Likewise.
30905         [POSIX] (si_*): Do not allow pattern.
30906         [POSIX] (W*): Likewise.
30907         [POSIX] (P_*): Likewise.
30908         [POSIX] (BUS_*): Likewise.
30909         [POSIX] (CLD_*): Likewise.
30910         [POSIX] (FPE_*): Likewise.
30911         [POSIX] (ILL_*): Likewise.
30912         [POSIX] (POLL_*): Likewise.
30913         [POSIX] (SEGV_*): Likewise.
30914         [POSIX] (SI_*): Likewise.
30915         [POSIX] (TRAP_*): Likewise.
30916         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30917         variable.
30919 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30921         [BZ #12926]
30922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30923         infinite loop when __recvmsg returns 0.
30925 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30927         * CANCEL-FCT-WAIVE: Remove file.
30928         * CANCEL-FILE-WAIVE: Likewise.
30930         [BZ #14132]
30931         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30932         instead of INTVARDEF.
30933         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30934         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30935         rtld_hidden_data_def instead of INTVARDEF.
30936         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30937         * elf/dl-deps.c (expand_dst): Likewise.
30938         * elf/dl-load.c (_dl_dst_count): Likewise.
30939         (_dl_dst_substitute): Likewise.
30940         (decompose_rpath): Likewise.
30941         (_dl_init_paths): Likewise.
30942         (open_path): Likewise.
30943         (_dl_map_object): Likewise.
30944         * elf/rtld.c (dl_main): Likewise.
30945         (process_dl_audit): Likewise.
30946         (process_envvars): Likewise.
30947         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30948         Remove declaration.
30949         (__libc_enable_secure): Use rtld_hidden_proto.
30951 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30953         * elf/dl-load.c
30954         (add_path): New function broken out of _dl_rtld_di_serinfo.
30955         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30957 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30959         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30960         parentheses around macro arguments.
30961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30964         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30972         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30973         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30974         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30976         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30977         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30986         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30990         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30991         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30992         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30993         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30994         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30995         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30996         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30997         Likewise.
30998         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31005         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31006         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31007         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31008         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31009         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31010         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31019         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31023         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31024         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31025         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31026         (_FP_FRAC_SRS_1): Likewise.
31027         (_FP_FRAC_CLZ_1): Likewise.
31028         (_FP_MUL_MEAT_1_imm): Likewise.
31029         (_FP_MUL_MEAT_1_wide): Likewise.
31030         (_FP_MUL_MEAT_1_hard): Likewise.
31031         (_FP_SQRT_MEAT_1): Likewise.
31032         (_FP_FRAC_ASSEMBLE_1): Likewise.
31033         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31034         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31035         (__FP_CLZ_2): Likewise.
31036         (_FP_MUL_MEAT_2_wide): Likewise.
31037         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31038         (_FP_MUL_MEAT_2_gmp): Likewise.
31039         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31040         (_FP_SQRT_MEAT_2): Likewise.
31041         (_FP_FRAC_ASSEMBLE_2): Likewise.
31042         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31043         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31044         (_FP_FRAC_CLZ_4): Likewise.
31045         (_FP_MUL_MEAT_4_wide): Likewise.
31046         (_FP_MUL_MEAT_4_gmp): Likewise.
31047         (_FP_SQRT_MEAT_4): Likewise.
31048         (_FP_FRAC_ASSEMBLE_4): Likewise.
31049         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31050         * soft-fp/op-common.h (_FP_CMP): Likewise.
31051         (_FP_CMP_EQ): Likewise.
31052         (_FP_CMP_UNORD): Likewise.
31053         (_FP_TO_INT): Likewise.
31054         (_FP_FROM_INT): Likewise.
31055         [!__FP_CLZ] (__FP_CLZ): Likewise.
31056         (_FP_DIV_HELP_imm): Likewise.
31057         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31058         Likewise.
31059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31062         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31064         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31066         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31070         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31071         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31072         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31073         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31074         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31075         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31088         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31089         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31091         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31092         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31093         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31094         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31095         (FP_UNPACK_RAW_SP): Likewise.
31096         (FP_PACK_RAW_S): Likewise.
31097         (FP_PACK_RAW_SP): Likewise.
31098         (FP_UNPACK_S): Likewise.
31099         (FP_UNPACK_SP): Likewise.
31100         (FP_UNPACK_SEMIRAW_S): Likewise.
31101         (FP_UNPACK_SEMIRAW_SP): Likewise.
31102         (FP_PACK_S): Likewise.
31103         (FP_PACK_SP): Likewise.
31104         (FP_PACK_SEMIRAW_S): Likewise.
31105         (FP_PACK_SEMIRAW_SP): Likewise.
31106         (_FP_SQRT_MEAT_S): Likewise.
31107         (FP_CMP_S): Likewise.
31108         (FP_CMP_EQ_S): Likewise.
31109         (FP_CMP_UNORD_S): Likewise.
31110         (FP_TO_INT_S): Likewise.
31111         (FP_FROM_INT_S): Likewise.
31113         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31115         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31116         (FP_EX_INVALID_IMZ): Likewise.
31117         (FP_EX_INVALID_IMZ_FMA): Likewise.
31118         (FP_EX_INVALID_ISI): Likewise.
31119         (FP_EX_INVALID_ZDZ): Likewise.
31120         (FP_EX_INVALID_IDI): Likewise.
31121         (FP_EX_INVALID_SQRT): Likewise.
31122         (FP_EX_INVALID_CVI): Likewise.
31123         (FP_EX_INVALID_VC): Likewise.
31124         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31125         "invalid" exceptions.
31126         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31127         (_FP_ADD_INTERNAL): Likewise.
31128         (_FP_MUL): Likewise.
31129         (_FP_FMA): Likewise.
31130         (_FP_DIV): Likewise.
31131         (_FP_CMP_CHECK_NAN): Likewise.
31132         (_FP_SQRT): Likewise.
31133         (_FP_TO_INT): Likewise.
31134         (FP_EXTEND): Likewise.
31136 2014-10-09  Allan McRae  <allan@archlinux.org>
31138         * po/fr.po: Update French translation from translation project.
31140 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31142         [BZ #14132]
31143         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31144         of INTDEF.
31145         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31146         (__cxa_atexit): Use libc_hidden_proto.
31147         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31149         [BZ #14132]
31150         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31151         declaration.
31152         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31153         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31154         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31155         [!_ISOMAC] (__iswctype_internal): Likewise.
31156         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31157         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31158         alias.
31159         (fcntl): Remove __fcntl_internal alias.
31160         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31161         __connect_internal alias.
31162         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31163         Likewise.
31165         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31166         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31167         FP_DENORM_ZERO.
31168         (_FP_CHECK_FLUSH_ZERO): New macro.
31169         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31170         (_FP_CMP): Likewise.
31171         (_FP_CMP_EQ): Likewise.
31172         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31173         FP_DENORM_ZERO.
31174         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31175         (FP_TRUNC): Likewise.
31177         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31178         treated as invalid conversion, not as normal exponent.
31180         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31181         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31182         (_FP_CMP_EQ): Likewise.
31183         (_FP_CMP_UNORD): Likewise.
31184         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31185         (FP_CMP_EQ_D): Likewise.
31186         (FP_CMP_UNORD_D): Likewise.
31187         * soft-fp/extended.h (FP_CMP_E): Likewise.
31188         (FP_CMP_EQ_E): Likewise.
31189         (FP_CMP_UNORD_E): Likewise.
31190         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31191         (FP_CMP_EQ_Q): Likewise.
31192         (FP_CMP_UNORD_Q): Likewise.
31193         * soft-fp/single.h (FP_CMP_S): Likewise.
31194         (FP_CMP_EQ_S): Likewise.
31195         (FP_CMP_UNORD_S): Likewise.
31196         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31197         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31198         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31199         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31200         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31201         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31202         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31203         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31204         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31205         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31206         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31207         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31208         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31209         to FP_CMP_Q.
31210         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31211         FP_CMP_Q.
31212         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31213         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31214         FP_CMP_EQ_Q.
31215         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31216         FP_CMP_Q.
31217         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31218         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31219         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31220         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31221         FP_CMP_EQ_Q.
31222         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31223         FP_CMP_Q.
31224         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31225         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31226         FP_CMP_EQ_Q.
31227         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31228         FP_CMP_Q.
31229         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31230         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31231         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31232         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31233         FP_CMP_EQ_Q.
31235         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31236         a subnormal result, set the underflow exception if trapping on
31237         underflow is enabled.
31238         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31239         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31240         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31241         redefine to 0.
31242         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31243         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31244         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31245         * soft-fp/extendxftf2.c (__extendxftf2): Use
31246         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31248         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31249         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31250         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31251         FP_HANDLE_EXCEPTIONS.
31252         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31253         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31254         FP_HANDLE_EXCEPTIONS.
31255         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31256         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31257         FP_HANDLE_EXCEPTIONS.
31258         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31259         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31260         FP_HANDLE_EXCEPTIONS.
31262 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31264         [BZ #14132]
31265         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31266         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31267         use INTUSE.
31268         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31269         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31270         Remove alias.
31271         (__adjtimex): Define using libc_hidden_ver.
31272         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31273         Remove declaration.
31274         (ntp_gettime): Call __adjtimex directly.
31275         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31276         Remove declaration.
31277         (ntp_gettimex): Call __adjtimex directly.
31278         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31279         __adjtimex_internal alias.
31281 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31283         [BZ #17460]
31284         * nscd/nscd.c (more_help): Rewrite list of tables collection
31285         using xstrdup and asprintf.
31287         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31289 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31290             Roland McGrath  <roland@hack.frob.com>
31292         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31293         (do_lookup_unique): ... local function 'enter' here; update callers.
31295 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31297         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31298         compat_symbol calls on [SHARED].
31299         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31300         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31301         Remove.
31302         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31303         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31304         (oldsetrlimit): Remove.
31305         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31307         (lchown): New syscall entry.
31308         (oldsetrlimit): Remove.
31309         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31310         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31311         (oldsetrlimit): Remove.
31312         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31314         [BZ #14138]
31315         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31316         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31317         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31318         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31319         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31320         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31321         (fchown): Likewise.
31322         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31323         (fchown): Likewise.
31324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31325         Likewise.
31327 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31329         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31330         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31331         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31332         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31333         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31334         Likewise.
31335         (__old_sem_post): Likewise.
31337 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31339         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31340         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31341         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31342         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31343         Use INLINE_VSYSCALL macro.
31344         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31345         __vdso_clock_gettime.
31346         * sysdeps/unix/sysv/linux/tile/init-first.c
31347         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31348         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31349         __vdso_clock_gettime.
31351         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31352         to set up frame more cleanly.
31354         * sysdeps/tile/memcmp.c: New file.
31356         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31358         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31359         * sysdeps/tile/tilegx/strcasestr.c: New file.
31360         * sysdeps/tile/tilegx/strnlen.c: New file.
31361         * sysdeps/tile/tilegx/strstr.c: New file.
31363         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31365 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31367         * nptl/tst-setuid3.c: Write errors to stdout.
31369 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31371         * elf/dl-deps.c
31372         (preload): New functions broken out of _dl_map_object_deps.
31373         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31375 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31377         [BZ #14138]
31378         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31379         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31381 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31383         * sysdeps/mips/strcmp.S: New.
31385 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31387         [BZ #14138]
31388         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31389         (linkat): Likewise.
31390         (mkdirat): Likewise.
31391         (readlinkat): Likewise.
31392         (renameat): Likewise.
31393         (symlinkat): Likewise.
31394         (unlinkat): Likewise.
31395         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31396         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31397         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31398         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31399         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31400         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31401         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31403 2014-09-30  Will Newton  <will.newton@linaro.org>
31405         * math/math.h: Define long double math functions if
31406         _LIBC_TEST is defined.
31407         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31409         * localedata/Makefile: Move assignment to tests-special
31410         into an ifdef testing run-built-tests.
31411         * timezone/Makefile: Likewise.
31413 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31415         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31416         with $(BASH) not $(SHELL).
31418 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31419             Matthew LeGendre  <legendre1@llnl.gov>
31421         [BZ #17411]
31422         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31423         l_reloc_result.
31425 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31427         * stdio-common/printf_fp.c
31428         (hack_digit): New function, broken out of ...
31429         (__printf_fp): ... local function here.  Update call sites.
31430         hack_digit now takes an additional parameter that is a pointer
31431         to a struct of the referenced locals.  Those locals moved inside
31432         the struct and references updated.
31434 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31436         * aclocal.m4: Require autoconf 2.69.
31437         * configure: Regenerated.
31438         * sysdeps/aarch64/configure: Likewise.
31439         * sysdeps/alpha/configure: Likewise.
31440         * sysdeps/arm/armv7/configure: Likewise.
31441         * sysdeps/arm/configure: Likewise.
31442         * sysdeps/ia64/configure: Likewise.
31443         * sysdeps/mach/configure: Likewise.
31444         * sysdeps/mips/configure: Likewise.
31445         * sysdeps/s390/configure: Likewise.
31446         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31449         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31450         file.
31451         * sysdeps/ia64/configure.ac: Likewise.
31453 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31456         specify symbol version for ld.so.  Do not include entry for
31457         libpthread.
31458         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31459         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31460         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31462         [BZ #14171]
31463         * Makeconfig [$(build-shared) = yes]
31464         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31465         makefiles.
31466         [$(build-shared) = yes && $(soversions.mk-done) = t]
31467         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31468         [$(build-shared) = yes && $(soversions.mk-done) = t]
31469         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31470         to Makerules.
31471         [$(build-shared) = yes && $(soversions.mk-done) = t]
31472         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31473         here.
31474         [$(build-shared) = yes && $(soversions.mk-done) = t]
31475         (common-generated): Don't append gnu/lib-names.h and
31476         gnu/lib-names.stmp here.
31477         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31478         (lib-names-h-abi): New variable.
31479         [$(build-shared) = yes && $(soversions.mk-done) = t]
31480         (lib-names-stmp-abi): Likewise.
31481         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31482         abi-variants] (before-compile): Append
31483         $(common-objpfx)$(lib-names-h-abi).
31484         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31485         abi-variants] (common-generated): Append gnu/lib-names.h.
31486         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31487         abi-variants] (install-others-nosubdir): Depend on
31488         $(inst_includedir)/$(lib-names-h-abi).
31489         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31490         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31491         [$(build-shared) = yes && $(soversions.mk-done) = t]
31492         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31493         [$(build-shared) = yes && $(soversions.mk-done) = t]
31494         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31495         [$(build-shared) = yes && $(soversions.mk-done) = t]
31496         (common-generated): Append $(lib-names-h-abi) and
31497         $(lib-names-stmp-abi).
31498         * scripts/lib-names.awk: Do not handle multi being set.
31499         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31500         Remove variable.
31501         (abi-lp64_be-ld-soname): Likewise.
31502         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31503         Likewise.
31504         (abi-hard-ld-soname): Likewise.
31505         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31506         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31507         Remove variable.
31508         (abi-o32_hard-ld-soname): Likewise.
31509         (abi-o32_soft_2008-ld-soname): Likewise.
31510         (abi-o32_hard_2008-ld-soname): Likewise.
31511         (abi-n32_soft-ld-soname): Likewise.
31512         (abi-n32_hard-ld-soname): Likewise.
31513         (abi-n32_soft_2008-ld-soname): Likewise.
31514         (abi-n32_hard_2008-ld-soname): Likewise.
31515         (abi-n64_soft-ld-soname): Likewise.
31516         (abi-n64_hard-ld-soname): Likewise.
31517         (abi-n64_soft_2008-ld-soname): Likewise.
31518         (abi-n64_hard_2008-ld-soname): Likewise.
31519         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31520         Likewise.
31521         (abi-64-v2-ld-soname): Likewise.
31522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31523         ld.so entries.
31524         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31525         variable.
31526         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31527         entry.
31528         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31529         variable.
31530         (abi-64-ld-soname): Likewise.
31531         (abi-x32-ld-soname): Likewise.
31532         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31533         entry.
31534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31536 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #14138]
31539         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31540         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31541         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31542         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31543         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31544         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31545         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31546         syscall entry for GLIBC_2.2 symbol version.
31547         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31548         Likewise.
31549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31550         (setrlimit): Likewise.
31551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31552         Likewise.
31554 2014-09-23  Will Newton  <will.newton@linaro.org>
31556         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31557         _LINUX_ARM_SYSDEP_H include guard too.
31558         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31559         define.
31561 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31563         * sysdeps/unix/sysv/linux/eventfd.c:
31564         Make first argument unsigned.
31565         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31566         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31568 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31570         [BZ #16852]
31571         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31572         * socket/sys/socket.h: Likewise.
31573         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31575 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31577         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31579 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31581         * time/tst-ftime.c: New test.
31582         * time/Makefile (tests): Add tst-ftime.
31584 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31586         * soft-fp/extended.h: Fix comment formatting.
31587         * soft-fp/op-1.h: Likewise.
31588         * soft-fp/op-2.h: Likewise.
31589         * soft-fp/op-4.h: Likewise.
31590         * soft-fp/op-8.h: Likewise.
31591         * soft-fp/op-common.h: Likewise.
31592         * soft-fp/soft-fp.h: Likewise.
31594         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31596 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #6652]
31599         * Makeconfig (soversions-default-setname): Remove variable.
31600         ($(common-objpfx)soversions.i): Don't pass default_setname to
31601         soversions.awk.
31602         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31603         oldest_abi to abi-versions.awk.
31604         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31605         * config.make.in (oldest-abi): Remove variable.
31606         * configure.ac (--enable-oldest-abi): Remove configure option.
31607         * configure: Regenerated.
31608         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31609         text.
31610         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31611         * scripts/soversions.awk: Do not handle default_setname variable.
31612         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31613         variable.
31614         * sysdeps/mach/hurd/configure: Regenerated.
31615         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31616         variable.
31617         * sysdeps/unix/sysv/linux/configure: Regenerated.
31619 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31621         * elf/Makefile (CFLAGS-interp.c): Remove.
31622         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31623         path string.
31624         * elf/interp.c: Include generated runtime-linker.h
31626         * Makerules (lib%.so): Don't include $(+interp) in
31627         prerequisites.
31628         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31629         * dlfcn/eval.c: Remove file.
31631         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31632         macros.
31634         [BZ #17266]
31635         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31636         4.2 and newer.
31638         [BZ #17370]
31639         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31641 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31642             Jakub Jelinek  <jakub@redhat.com>
31644         [BZ #17266]
31645         * libio/stdio.h: Check definition of __fortify_function
31646         instead of __extern_always_inline to include bits/stdio2.h.
31647         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31648         check if __extern_always_inline is defined.
31649         [__USE_MISC || __USE_XOPEN]: Likewise.
31650         [__USE_ISOC99] Likewise.
31651         * misc/sys/cdefs.h (__fortify_function): Define only if
31652         __extern_always_inline is defined.
31653         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31654         __extern_always_inline and __extern_inline only for g++-4.3
31655         and newer or a compatible gcc.
31657 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31659         [BZ #17371]
31660         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31661         last change to handle zero prefix length.
31663 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31665         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31666         _SC_REGEX_VERSION.
31668         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31669         _POSIX_RAW_SOCKETS.
31671 2014-09-13  Allan McRae  <allan@archlinux.org>
31673         * po/ru.po: Update Russian translation from translation project.
31675 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31677         * locale/programs/locale.c (show_locale_vars): Inline local function
31678         into its sole call site.  Clean up some style nits.
31679         (print_item): New function, broken out of ...
31680         (show_info): ... local function here.  Clean up style nits.
31682         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31683         out of ...
31684         (set_class_defaults): ... local function set_default here.
31685         Define set_default as a macro locally to pass constant parameters.
31686         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31687         rather than a shared local.
31689         * stdlib/rpmatch.c (try): New function, broken out of ...
31690         (rpmatch): ... local function here.  Also, prototypify definition.
31692 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31694         * scripts/soversions.awk: Do not handle configuration names.
31695         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31696         vendor and os variables to soversions.awk.
31697         * configure.ac: Do not modify gnu-* host_os.
31698         * configure: Regenerated
31699         * shlib-versions: Remove first column with configuration names.
31700         * nptl/shlib-versions: Likewise.
31701         * nptl_db/shlib-versions: Likewise.
31702         * sysdeps/hppa/shlib-versions: Likewise.
31703         * sysdeps/m68k/shlib-versions: Likewise.
31704         * sysdeps/mach/hurd/shlib-versions: Likewise.
31705         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31706         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31707         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31708         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31709         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31710         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31711         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31712         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31714         Likewise.
31715         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31716         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31717         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31718         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31719         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31720         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31721         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31722         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31725         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31727         Regenerated.
31728         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31730         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31732         * shlib-versions: Remove OS-specific entries.  Moved to files in
31733         sysdeps.
31734         * sysdeps/mach/hurd/shlib-versions: New file.
31735         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31737         * nptl/shlib-versions: Remove architecture-specific entries.
31738         Moved to files in sysdeps.
31739         * shlib-versions: Likewise.
31740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31741         file.
31742         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31743         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31744         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31745         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31747         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31748         (UDP_NO_CHECK6_RX): Likewise.
31750 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31752         * sysdeps/posix/sysconf.c (__sysconf): Spell
31753         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31755 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31757         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31758         loading.
31759         * iconv/Versions (__gconv_transliterate): Export for use from
31760         gconv modules.
31761         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31762         (struct __gconv_trans_data, __gconv_trans_fct,
31763         __gconv_trans_context_fct, __gconv_trans_query_fct,
31764         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31765         definitions.
31766         (struct __gconv_step_data): Remove __trans member.
31767         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31768         longer hidden.  Remove unused trans_data argument.
31769         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31770         (__gconv_translit_find): Remove declaration.
31771         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31772         prototype.
31773         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31774         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31775         trans_data argument.  Add hidden definition.
31776         (__gconv_translit_find): Remove.
31777         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31778         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31779         * iconv/skeleton.c: Remove transliteration initialization.
31780         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31781         __gconv_step_data initialization.
31782         * libio/iofwide.c (__libio_translit_): Remove.
31783         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31784         * wcsmbs/btowc.c (__btowc): Likewise.
31785         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31786         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31787         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31788         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31789         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31790         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31791         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31792         * wcsmbs/wctob.c (wctob): Likewise.
31794 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31796         [BZ #16194]
31797         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31798         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31799         register usage.
31800         * sysdeps/x86/Makefile: Adjust.
31802 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31803             Roland McGrath  <roland@hack.frob.com>
31805         * locale/weight.h: Add include guard.
31806         (findidx): Make static rather than auto; take new parameters
31807         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31808         * locale/weightwc.h: Likewise.
31809         * posix/fnmatch_loop.c
31810         (FCT): Change type of EXTRA from int32_t to wint_t.
31811         Don't include either header inside the function.
31812         Call FINDIDX rather than findidx, and pass new arguments.
31813         #undef FINDIDX at the end of the file.
31814         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31815         FINDIDX before including fnmatch_loop.c for the non-wide version.
31816         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31817         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31818         for the wide version.
31819         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31820         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31821         Pass new arguments to findidx.
31822         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31823         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31824         Don't #include it inside the function.  Pass new arguments to findidx.
31825         * posix/regex_internal.h
31826         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31827         (re_string_elem_size_at): Don't #include it inside the function.
31828         Pass new arguments to findidx.
31829         * string/strcoll_l.c: #include WEIGHT_H at top level.
31830         (get_next_seq): Don't #include it inside the function.
31831         Pass new arguments to findidx.
31832         (get_next_seq_nocache): Likewise.
31833         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31834         (STRXFRM): Don't #include it inside the function.
31835         Pass new arguments to findidx.
31837 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31839         [BZ #17344]
31840         * malloc/malloc.c (unlink): Turn asserts into a call to
31841         malloc_printerr.
31843 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31845         [BZ #17370]
31846         * libio/wfileops (do_ftell_wide): Free OUT.
31848 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31850         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31852 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31854         [BZ #17363]
31855         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31856         group if the current group is empty.
31858 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31860         * benchtests/bench-memset.c (test_main): Add more test from size
31861         from 32 to 512 bytes.
31862         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31863         Add POWER8 memset object.
31864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31865         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31866         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31867         implementation.
31868         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31869         Likewise.
31870         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31871         multiarch POWER8 memset optimization.
31872         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31873         POWER8 memset optimization.
31875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31876         Remove bzero multiarch objects.
31877         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31878         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31879         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31880         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31881         Remove define.
31882         [__bzero]: Redefine to specific name.
31883         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31884         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31885         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31886         define.
31887         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31888         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31890 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31892         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31893         warnings into errors.
31895         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31896         __cxa_thread_atexit_impl prototype.
31898 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31900         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31901         Fix capitalization of error message.
31903 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31905         * sysdeps/mips/preconfigure: Modify ABI tests.
31907 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31909         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31911 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31912             Carlos O'Donell  <carlos@systemhalted.org>
31914         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31915         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31916         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31917         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31918         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31919         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31920         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31921         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31922         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31923         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31925         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31927         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31929         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31931         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31932         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31933         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31934         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31935         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31936         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31937         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31938         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31939         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31940         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31941         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31942         Deconditionalize the code that was previously under [RESET_PID].
31943         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31944         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31945         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31946         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31947         include sysdep.h.
31949 2014-09-08  Allan McRae  <allan@archlinux.org>
31951         * version.h (RELEASE): Set to "development".
31952         (VERSION): Set to "2.20.90"
31954 2014-09-07  Allan McRae  <allan@archlinux.org
31956         * version.h (RELEASE): Set to "stable".
31957         (VERSION): Set to "2.20"
31958         * include/features.h (__GLIBC_MINOR__): Set to 20.
31960         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31961         Liebler.
31963         * po/ko.po: Update Korean translation from translation project.
31965 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31967         [BZ #17354]
31968         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31969         macro for handling signed relocations.
31971 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31973         [BZ #17325]
31974         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31975         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31976         assert.
31977         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31978         * iconvdata/ibm935.c (BODY): Likewise.
31979         * iconvdata/ibm937.c (BODY): Likewise.
31980         * iconvdata/ibm939.c (BODY): Likewise.
31981         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31982         assert.
31983         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31984         script.
31985         * iconvdata/run-iconv-test.sh: New test loop for checking for
31986         decoder crashers.
31988 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31990         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31991         libm_hidden_ver.
31993 2014-09-01  Allan McRae  <allan@archlinux.org>
31995         * po/eo.po: Update Esperanto translation from translation project.
31997         * po/ca.po: Update Catalan translation from translation project.
31999 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32001         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32002         __proc_dostop call.
32004 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32006         [BZ #17319]
32007         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32008         to call set_thread_area instead of hand written asm.
32009         (__NR_set_thread_area): Removed define.
32010         (TLS_FLAG_WRITABLE): Likewise.
32011         (__ASSUME_SET_THREAD_AREA): Remove check.
32012         (TLS_EBX_ARG): Remove define.
32013         (TLS_LOAD_EBX): Likewise.
32015 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32017         Simplify atomicity of socket creation in bind.
32019         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32020         looking up the name after linking the file.
32022 2014-08-27  Allan McRae  <allan@archlinux.org>
32024         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32026 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32028         [BZ #17187]
32029         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32030         trans_compare, open_translit, __gconv_translit_find):
32031         Remove module loading code.
32033 2014-08-26  Allan McRae  <allan@archlinux.org>
32035         * po/vi.po: Update Vietnamese translation from translation project.
32037         * po/uk.po: Update Ukrainian translation from translation project.
32039         * po/fr.po: Update French translation from translation project.
32041         * po/ru.po: Update Russian translation from translation project.
32043         * po/pl.po: Update Polish translation from translation project.
32045         * po/cs.po: Update Czech translation from translation project.
32047         * po/de.po: Update German translation from translation project.
32049         * po/bg.po: Update Bulgarian translation from translation project.
32051         * po/sv.po: Update Sweedish translation from translation project.
32053         * po/nl.po: Update Dutch translation from translation project.
32055         * po/es.po: Update Spanish translation from translation project.
32057 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32061         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32062         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32063         (CPPFLAGS-iconvconfig): Likewise.
32064         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32066         * include/libc-symbols.h: Remove unnecessary check for
32067         NOT_IN_libc.
32068         * nptl/pthreadP.h: Likewise.
32069         * sysdeps/aarch64/setjmp.S: Likewise.
32070         * sysdeps/alpha/setjmp.S: Likewise.
32071         * sysdeps/arm/sysdep.h: Likewise.
32072         * sysdeps/i386/setjmp.S: Likewise.
32073         * sysdeps/m68k/setjmp.c: Likewise.
32074         * sysdeps/posix/getcwd.c: Likewise.
32075         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32076         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32077         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32078         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32079         * sysdeps/sh/sh3/setjmp.S: Likewise.
32080         * sysdeps/sh/sh4/setjmp.S: Likewise.
32081         * sysdeps/unix/alpha/sysdep.h: Likewise.
32082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32084         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32085         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32090         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32093         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32095         * sysdeps/x86_64/setjmp.S: Likewise.
32097 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32099         [BZ #17263]
32100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32101         <stdint.h>.
32102         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32103         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32105 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32107         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32109         [BZ #17262]
32110         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32111         and __x86_64__ when disabling x87 inline functions.
32113 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32115         [BZ #17259]
32116         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32117         asm statement with __cpuid_count.
32119 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32121         * configure.ac: Change __ehdr_start code to dereference the struct.
32122         Run readelf on the output to look for relocations.
32123         * configure: Regenerated.
32125 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #17261]
32128         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32129         value to 0.
32130         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32132 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32134         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32136 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32138         [BZ #16892]
32139         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32140         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32142 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32144         * malloc/malloc.c: Fix typo in comment.
32146 2014-08-09  Allan McRae  <allan@archlinux.org>
32148         * Regenerate libc.po.
32150 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32152         * intl/tst-gettext2.sh: Check every lang file for creation.
32154 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32156         * sysdeps/aarch64/fpu/math_private.h
32157         (libc_feholdsetround_noex_aarch64_ctx): New function.
32159 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32161         * sysdeps/arm/armv6/strcpy.S (strcpy):
32162         Fix performance issue in misaligned cases.
32164 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32166         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32167         Move definition from termios.h.
32168         (struct termio): Likewise.
32169         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32170         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32171         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32172         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32173         Likewise.
32174         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32175         Move definition to ioctl-types.h
32176         (struct termio): Likewise.
32177         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32178         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32179         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32180         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32181         Likewise.
32183 2014-08-05  Richard Henderson  <rth@redhat.com>
32185         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32186         exceptions.
32187         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32188         Add fraiseexcpt.
32189         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32190         Use __feraiseexcept.
32191         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32192         Protect libm symbols with IS_IN_libm.
32194         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32196 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32198         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32200 2014-08-04  Will Newton  <will.newton@linaro.org>
32202         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32203         file.
32205 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32207         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32208         variants for each function.
32210 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32212         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32213         appended ...
32214         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32215         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32216         appended ...
32217         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32218         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32219         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32220         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32221         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32222         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32223         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32224         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32225         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32226         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32227         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32228         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32229         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32230         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32231         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32232         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32233         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32234         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32235         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32236         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32237         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32238         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32239         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32240         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32241         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32242         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32243         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32245         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32246         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32247         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32248         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32249         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32251         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32252         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32253         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32254         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32256         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32257         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32259         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32261         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32263         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32264         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32265         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32266         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32267         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32268         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32269         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32270         Update #include.
32271         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32272         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32274 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32276         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32277         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32278         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32279         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32280         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32281         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32283 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32285         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32286         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32287         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32288         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32290 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32292         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32293         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32294         (__libc_vfork): Define function under this name.
32295         (__vfork): Define as an alias.
32296         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32297         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32299 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32301         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32302         that was previously under [RESET_PID].
32303         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32305 2014-08-04  Andreas Schwab  <schwab@suse.de>
32307         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32309 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32311         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32312         (main): Likewise.
32314 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32316         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32318 2014-08-01  Richard Henderon  <rth@redhat.com>
32320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32321         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32322         typo in exact zero test.
32323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32324         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32327 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32329         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32330         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32331         * sysdeps/arm/sysdep.h: ... here.
32332         [!__ASSEMBLER__]: Include <stdint.h>.
32334 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32336         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32337         (HAVE_WCTYPE_H): Likewise.
32338         (HAVE_ISWCTYPE): Likewise.
32339         (ENABLE_NLS): Likewise.
32340         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32341         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32343         * posix/regex_internal.c: Check if DEBUG is defined and is
32344         set.
32346         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32347         (HAVE_MBSRTOWCS): Likewise.
32348         * posix/fnmatch.c: Include string.h unconditionally.
32350 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32352         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32353         reversal.
32355 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32357         * sysdeps/generic/safe-fatal.h: New file.
32358         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32359         * nptl/forward.c: Include it.
32360         (__pthread_unwind): Use __safe_fatal as default action, rather
32361         than a bogus use of INTERNAL_SYSCALL that could never work.
32363         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32364         * configure.ac (libc_cv_builtin_trap): New test.
32365         * configure: Regenerated.
32366         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32367         (ABORT_INSTRUCTION): Define using __builtin_trap.
32369         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32370         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32371         * sysdeps/nptl/nptl-signals.h: New file.
32372         * nptl/pthreadP.h: Include <nptl-signals.h>.
32374 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32376         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32377         (ONE_DIRECTION): Define.
32378         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32379         (ONE_DIRECTION): Define.
32380         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32381         (ONE_DIRECTION): Define.
32383 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32385         * sysdeps/s390/Makefile: Delete file.
32386         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32387         * sysdeps/s390/__longjmp.c: Delete file.
32388         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32389         Remove fields __flags and __reserved.
32390         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32391         and add versioning.
32392         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32393         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32394         * sysdeps/s390/rtld-setjmp.S: Likewise.
32395         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32396         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32397         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32398         * sysdeps/s390/s390-32/setjmp.S: ... here.
32399         Add versioning.
32400         (__sigsetjmp): Remove setting __flags field.
32401         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32402         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32403         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32404         * sysdeps/s390/s390-64/setjmp.S: ... here.
32405         Add versioning.
32406         (__sigsetjmp): Remove setting __flags field.
32407         * sysdeps/s390/setjmp.S: Delete file.
32408         * sysdeps/s390/sigjmp.c: Likewise.
32409         * sysdeps/s390/v1-longjmp.c: Likewise.
32410         * sysdeps/s390/v1-setjmp.h: Likewise.
32411         * sysdeps/s390/v1-sigjmp.c: Likewise.
32412         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32413         Remove v1-longjmp_chk.
32414         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32415         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32416         Include debug/longjmp_chk.c and add versioning.
32417         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32418         Include nptl/pt-longjmp.c and add versioning.
32419         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32420         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32421         Include __longjmp.c.
32422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32423         Move to ...
32424         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32425         (__getcontext): Remove setting __flags field.
32426         Add versioning.
32427         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32428         Don't restore upper high grps.
32429         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32430         Likewise.
32431         (__swapcontext): Remove setting uc_flags field.
32432         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32433         Delete file.
32434         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32435         Include __longjmp.c.
32436         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32437         Move to ...
32438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32439         (__getcontext): Remove setting __flags field.
32440         Add versioning.
32441         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32442         (__swapcontext): Remove setting uc_flags field.
32443         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32444         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32445         Remove fields uc_high_gprs and __reserved.
32446         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32447         New file with reverted content.
32448         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32449         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32450         Regenerated.
32451         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32452         Regenerated.
32454 2014-07-31  Andreas Schwab  <schwab@suse.de>
32456         * config.h.in (HAVE_IFUNC): Define to 0.
32457         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32458         definedness.
32460 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32463         memmove-avx-unaligned, memcpy-avx-unaligned and
32464         mempcpy-avx-unaligned.
32465         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32466         Add tests for AVX memcpy functions.
32467         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32468         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32469         memcpy_chk.
32470         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32471         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32472         memmove_chk.
32473         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32474         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32475         mempcpy_chk.
32476         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32477         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32478         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32480 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32482         [BZ #17213]
32483         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32484         powerpc64le.
32486 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32488         [BZ #16839]
32489         * manual/llio.texi: Add section about open file description locks.
32490         * manual/examples/ofdlocks.c: Example of open file description
32491         lock usage.
32492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32493         F_OFD_SETLK, and F_OFD_SETLKW.
32495 2014-07-23  Allan McRae  <allan@archlinux.org>
32497         * po/es.po: Update Spanish translation from translation project.
32499 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32501         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32503 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32505         [BZ #17078]
32506         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32507         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32508         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32510 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32512         [BZ #17088]
32513         * math/fesetenv.c (__fesetenv)
32514         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32515         * math/feupdateenv.c (__feupdateenv)
32516         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32518         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32519         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32520         (__ASSUME_SOCKETCALL): Do not define.
32522         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32523         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32524         (__ASSUME_SOCKETCALL): Do not define.
32525         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32526         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32527         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32528         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32529         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32530         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32532         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32534         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32535         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32536         (__ASSUME_SOCKETCALL): Do not define.
32537         (__ASSUME_IPC64): Define unconditionally.
32538         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32539         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32540         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32541         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32542         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32543         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32544         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32545         Likewise.
32547         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32548         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32549         (__ASSUME_SOCKETCALL): Do not define.
32550         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32551         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32552         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32553         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32554         (__ASSUME_REQUEUE_PI): Define unconditionally.
32555         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32556         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32557         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32558         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32559         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32560         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32562         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32563         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32564         (__ASSUME_SOCKETCALL): Do not define.
32565         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32566         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32567         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32568         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32570         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32572         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32573         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32574         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32575         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32576         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32577         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32578         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32579         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32580         (__ASSUME_GETCPU_SYSCALL): Likewise.
32582         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32583         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32584         cases for individual architectures.
32585         * sysdeps/gnu/configure: Regenerated.
32586         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32587         LIBC_SLIBDIR_RTLDDIR.
32588         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32589         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32590         LIBC_SLIBDIR_RTLDDIR.
32591         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32593         LIBC_SLIBDIR_RTLDDIR.
32594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32595         Regenerated.
32596         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32597         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32598         file.
32599         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32600         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32601         file.
32602         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32603         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32604         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32605         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32607         * sysdeps/aarch64/shlib-versions: Move to ...
32608         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32609         * sysdeps/alpha/shlib-versions: Move to ...
32610         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32611         * sysdeps/arm/shlib-versions: Move to ...
32612         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32613         * sysdeps/hppa/shlib-versions: Move all contents except for
32614         libgcc_s entry to ...
32615         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32616         entry from ...
32617         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32618         * sysdeps/ia64/shlib-versions: Move to ...
32619         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32620         entry from ...
32621         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32622         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32623         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32624         * sysdeps/microblaze/shlib-versions: Move to ...
32625         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32626         * sysdeps/mips/shlib-versions: Move to ...
32627         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32628         entry from ...
32629         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32630         * sysdeps/tile/shlib-versions: Move to ...
32631         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32632         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32633         from ...
32634         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32635         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32636         entry from ...
32637         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32639 2014-07-17  Will Newton  <will.newton@linaro.org>
32641         * sysdeps/arm/bits/atomic.h
32642         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32643         (__arch_compare_and_exchange_bool_16_int): Likewise.
32644         (__arch_compare_and_exchange_bool_64_int): Likewise.
32646         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32647         into an #else block.
32649 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32651         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32652         just Linux configurations.  Test empirically that the compiler sets
32653         __ARM_EABI__, rather than using the tuple to decide.
32654         * sysdeps/arm/preconfigure: Regenerated.
32655         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32656         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32657         contents appended ...
32658         * sysdeps/arm/configure.ac: ... here.
32659         * sysdeps/arm/configure: Regenerated.
32661 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32663         * nptl/pthread_kill.c: New file.
32664         * nptl/pthread_sigmask.c: New file.
32665         * nptl/pthread_sigqueue.c: New file.
32667         * sysdeps/nptl/lowlevellock.h: New file.
32668         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32669         * sysdeps/nptl/lowlevellock-futex.h: New file.
32671         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32672         Remove dead declarations.
32674 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32676         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32677         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32678         config-cflags-avx2.
32679         * sysdeps/x86_64/configure.ac: Likewise.
32680         * sysdeps/i386/configure: Regenerated.
32681         * sysdeps/x86_64/configure: Likewise.
32682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32683         memset-avx2 only if config-cflags-avx2 is yes.
32684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32685         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32686         defined.
32687         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32688         only if HAVE_AVX2_SUPPORT is defined.
32689         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32691 2014-07-14  Alan Modra  <amodra@gmail.com>
32693         [BZ #17153]
32694         * elf/elf.h (DT_PPC64_NUM): Correct value.
32695         * NEWS: Add to fixed bug list.
32697 2014-07-13  Jim Meyering  <meyering@fb.com>
32699         [BZ 17150]
32700         regex: don't deref NULL upon heap allocation failure
32701         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32702         failure in one more place.
32703         To trigger the segfault, configure grep -with-included-regex,
32704         build it, and run these commands:
32705         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32707 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32709         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32711 2014-07-11  Richard Henderson  <rth@redhat.com>
32713         * sysdeps/aarch64/libm-test-ulps: Update.
32715 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32717         [BZ #17135]
32718         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32719         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32720         (__nptl_setxid): Initialize error member.  Call
32721         __nptl_setxid_error.
32722         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32723         * nptl/descr.h (struct xid_command): Add error member.
32724         * nptl/tst-setuid3.c: New file.
32725         * nptl/Makefile (tests): Add it.
32727 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32729         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32730         New define.
32731         (__lll_trylock): Use __lll_base_trylock.
32732         (__lll_cond_trylock): Likewise.
32734 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32736         * nptl/pthread_create.c (start_thread): Use atomic_or and
32737         lll_futex_wake directly rather than lll_robust_dead.
32738         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32739         (lll_robust_dead): Macro removed.
32740         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32741         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32742         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32743         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32744         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32745         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32746         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32747         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32748         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32751         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32752         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32753         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32754         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32756         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32757         Use atomic_compare_and_exchange_val_acq directly rather than
32758         lll_robust_trylock.
32759         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32760         (__lll_robust_trylock, lll_robust_trylock): Removed.
32761         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32762         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32763         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32764         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32765         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32766         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32767         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32768         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32769         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32770         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32771         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32772         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32773         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32776 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32778         * manual/locale.texi (Locale Names): New section documenting
32779         locale name syntax.  Adjust menu and node chaining accordingly.
32780         (Choosing Locale): Reference Locale Names, Locale Categories.
32781         Mention setting LC_ALL=C.  Reflect that name syntax is now
32782         documented.
32783         (Locale Categories): New section title.  Reference Locale Names.
32784         LC_ALL is an environment variable, but not a category.
32785         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32786         description, now in Locale Name.  Reference that section.  Locale
32787         name syntax is now documented.
32789 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32791         [BZ #17137]
32792         * locale/findlocale.c (name_present, valid_locale_name): New
32793         functions.
32794         (_nl_find_locale): Use the loc_name variable to store name
32795         candidates.  Call name_present and valid_locale_name to check and
32796         validate locale names.  Return an error if the locale is invalid.
32798 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32800         * locale/setlocale.c (setlocale): Use strdup for allocating
32801         composite name copy.
32803 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32805         Sync up with gnulib.
32806         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32807         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32808         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32809         and _GL_ARG_NONNULL.
32810         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32811         [!_LIBC]: Include code for Windows and Cygwin.
32812         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32813         Include prototype for int strerror_r.
32814         [!_LIBC] (is_open): New function.
32815         (flush_stdout): New function.
32816         (print_errno_message): Use it.
32817         (error): Likewise.
32818         (error_at_line): Likewise.
32819         (error_tail) Add function attribute macros.  Use
32820         __builtin_expect.
32822         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32824         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32826         * io/ftw.c: Include sys/param.h unconditionally.
32828         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32830         [BZ #17125]
32831         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32832         libc_freeres_ptr.
32833         (freecache): New function to free CACHE on exit.
32835         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32836         initialization.
32838 2014-07-09  David S. Miller  <davem@davemloft.net>
32840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32842         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32843         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32844         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32845         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32846         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32847         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32848         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32849         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32850         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32851         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32852         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32853         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32854         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32856 2014-07-09  Andreas Schwab  <schwab@suse.de>
32858         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32859         output.
32860         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32861         (do_test): Likewise.
32863         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32865 2014-07-09  Will Newton  <will.newton@linaro.org>
32867         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32868         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32869         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32870         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32871         * sysdeps/hppa/start.S (_start): Likewise.
32873 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32875         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32877         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32878         defined.
32880 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32883         after checking that it is non-NULL.
32885         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32887 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32889         * sysdeps/powerpc/memmove.c: Remove file.
32890         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32891         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32892         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32893         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32894         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32895         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32896         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32897         string memmove instead of removed powerpc one.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32900         [weak_alias]: Fix compiler warning due trailing data.
32901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32902         [weak_alias]: Likewise.
32903         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32904         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32907         (__libc_ifunc_impl_list): Add memmove functions.
32909 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32911         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32912         Remove code.
32913         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32914         Likewise.
32915         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32916         Likewise.
32917         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32918         Likewise.
32919         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32920         Likewise.
32921         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32922         Likewise.
32923         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32924         Likewise.
32925         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32926         Likewise.
32927         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32928         Likewise.
32929         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32930         Likewise.
32931         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32932         Likewise.
32933         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32934         Likewise.
32935         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32936         Likewise.
32937         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32938         Likewise.
32939         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32940         Likewise.
32941         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32942         Likewise.
32943         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32944         Likewise.
32946 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32948         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32949         to avoid alignment traps in non-cacheable memory.
32950         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32953         multiarch objects.
32954         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32955         file: multiarch power7 memmove.
32956         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32957         multiarch default memmove.
32958         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32959         multiarch memove for powerpc32/power4.
32961         * string/bcopy.c: Use full path to include memmove.c.
32962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32963         multiarch objects.
32964         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32965         bcopy for powerpc64.
32966         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32967         bcopy for powerpc64.
32968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32969         and memmove implementations.
32970         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32971         optimized multiarch memmove for POWER7/powerpc64.
32972         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32973         default multiarch memmove for powerpc64.
32974         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32975         multiarch for powerpc64.
32976         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32977         for POWER7/powerpc64.
32978         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32979         memmove for POWER7/powerpc64.
32981         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32982         glibc default one.
32984         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32985         __ELF_NATIVE_CLASS equal to 64.
32987 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32989         * sysdeps/nptl/lowlevellock.h: File removed.
32991         * NEWS: NPTL is no longer an add-on!
32992         * nptl/internaltypes.h: Moved ...
32993         * sysdeps/nptl/internaltypes.h: ... here.
32994         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32995         * sysdeps/nptl/fork.c: Likewise.
32996         * sysdeps/nptl/gai_misc.h: Likewise.
32997         * sysdeps/nptl/librt-cancellation.c: Likewise.
32998         * sysdeps/nptl/jmp-unwind.c: Likewise.
32999         * sysdeps/nptl/setxid.h: Likewise.
33000         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33001         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33002         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33003         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33004         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33005         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33006         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33007         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33008         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33009         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33010         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33011         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33012         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33013         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33014         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33015         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33016         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33017         * nptl/Makeconfig: Moved ...
33018         * sysdeps/nptl/Makeconfig: ... here.
33019         * nptl/configure: File removed.
33020         * nptl/ANNOUNCE: File removed.
33021         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33022         * sysdeps/unix/sysv/linux/configure: Regenerated.
33024         * nptl/Makefile (routines): Add libc_pthread_init,
33025         libc_multiple_threads, register-atfork and unregister-atfork.
33026         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33027         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33028         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33029         pthread-pi-defines.sym, structsem.sym.
33030         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33031         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33032         [$(subdir) = nptl] (tests): Add tst-setgetname.
33033         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33034         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33035         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33036         [!LIBC_SIGACTION]: Remove aliases.
33037         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33038         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33039         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33040         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33041         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33042         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33043         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33044         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33045         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33046         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33047         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33048         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33049         __libc_allocate_rtsig_private.
33050         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33051         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33052         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33053         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33054         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33055         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33056         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33057         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33058         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33059         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33060         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33061         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33062         * nptl/internaltypes.h: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33064         * sysdeps/nptl/jmp-unwind.c: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33066         * nptl/libc-lowlevellock.c: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33068         * nptl/libc_multiple_threads.c: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33070         * nptl/libc_pthread_init.c: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33072         * nptl/lowlevelbarrier.sym: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33074         * nptl/lowlevelcond.sym: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33076         * nptl/lowlevellock.c: ... here.
33077         * nptl/lowlevellock.h: Moved ...
33078         * sysdeps/nptl/lowlevellock.h: ... here.
33079         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33080         * nptl/lowlevelrobustlock.c: ... here.
33081         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33082         * nptl/lowlevelrobustlock.sym: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33084         * nptl/lowlevelrwlock.sym: ... here.
33085         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33086         * nptl/pt-fork.c: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33088         * nptl/pthread-pi-defines.sym: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33090         * nptl/pthread_attr_getaffinity.c: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33092         * nptl/pthread_attr_setaffinity.c: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33094         * nptl/pthread_mutex_cond_lock.c: ... here.
33095         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33096         Update #include.
33097         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33098         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33099         * nptl/pthread_once.c: ... here, replacing old file.
33100         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33101         * nptl/pthread_yield.c: ... here.
33102         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33103         * nptl/register-atfork.c: ... here.
33104         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33105         * nptl/sem_post.c: ... here.
33106         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33107         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33108         * nptl/sem_timedwait.c: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33110         * nptl/sem_trywait.c: ... here.
33111         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33112         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33113         * nptl/sem_wait.c: ... here.
33114         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33115         * nptl/structsem.sym: ... here.
33116         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33117         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33118         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33119         * nptl/unregister-atfork.c: ... here.
33120         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33121         * nptl/unwindbuf.sym: ... here.
33122         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33123         * sysdeps/nptl/fork.c: ... here.
33124         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33125         * sysdeps/nptl/fork.h: ... here.
33126         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33127         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33128         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33129         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33130         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33131         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33132         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33133         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33134         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33135         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33136         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33137         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33138         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33139         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33140         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33141         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33142         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33143         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33144         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33145         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33146         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33147         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33148         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33149         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33150         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33151         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33152         * sysdeps/unix/sysv/linux/raise.c: ... here.
33153         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33154         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33155         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33156         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33157         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33158         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33159         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33160         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33161         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33162         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33163         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33164         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33165         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33166         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33167         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33169 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33171         * sysdeps/generic/memcopy.h: Add comment for
33172         MEMCPY_OK_FOR_FWD_MEMMOVE.
33174 2014-07-04  Will Newton  <will.newton@linaro.org>
33176         * string/memchr.c: Merge from gnulib.
33177         [_LIBC]: Remove conditionals.
33178         (__ptr_t): Remove define.
33179         (LONG_MAX_32_BITS): Likewise.
33180         (LONG_MAX): Likewise.
33181         (MEMCHR): Use ANSI prototype and optimize algorithm.
33183         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33185 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33188         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33190         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33191         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33192         in a bare environment with no <stdlib.h> installed.
33193         * sysdeps/nptl/configure: Regenerated.
33195         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33197         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33198         AC_EGREP_CPP for kernel header checks, so they only succeed if
33199         including <linux/version.h> actually works right.
33200         * sysdeps/unix/sysv/linux/configure: Regenerated.
33202         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33203         value so it's not diagnosed as unused.
33205         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33206         thing) with "ifeq ($(subdir),rt)".
33208 2014-07-03  Richard Henderson  <rth@redhat.com>
33210         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33211         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33212         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33214         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33215         (math_force_eval): New.
33217         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33218         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33220         * sysdeps/alpha/fpu/s_round.c: Remove file.
33221         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33223         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33224         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33225         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33226         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33227         (_dl_start, print_statistics): Likewise.
33228         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33229         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33231         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33232         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33233         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33234         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33235         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33236         (HP_SMALL_TIMING_AVAIL): Define.
33237         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33238         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33239         (HP_SMALL_TIMING_AVAIL): Define.
33240         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33241         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33243         * sysdeps/aarch64/hp-timing.h: New file.
33245         * sysdeps/generic/hp-timing.h: Remove dead comment.
33246         * sysdeps/generic/hp-timing-common.h: New file.
33247         * sysdeps/alpha/hp-timing.h: Include it.
33248         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33249         * sysdeps/i386/i686/hp-timing.h: Likewise.
33250         * sysdeps/ia64/hp-timing.h: Likewise.
33251         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33252         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33253         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33254         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33255         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33256         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33257         (hp_timing_t): New.
33259         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33260         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33261         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33262         * elf/rtld.c (_dl_start_final): Likewise.
33263         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33264         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33265         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33266         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33267         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33268         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33269         (HP_TIMING_DIFF_INIT): Remove.
33270         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33271         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33272         (HP_TIMING_DIFF_INIT): Remove.
33273         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33274         * sysdeps/i386/i686/hp-timing.c: Remove file.
33275         * sysdeps/x86_64/hp-timing.c: Remove file.
33276         * sysdeps/ia64/hp-timing.c: Remove file.
33277         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33278         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33279         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33280         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33282         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33283         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33284         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33285         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33286         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33287         (HP_TIMING_ACCUM): Remove.
33288         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33289         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33290         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33292         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33293         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33294         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33295         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33296         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33297         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33298         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33299         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33301         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33303 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33305         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33307 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33309         Sync up with gettext.
33310         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33311         [_MSC_VER]: Include malloc.h
33312         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33313         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33314         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33315         TEMP_FAILURE_RETRY.  Cast return of alloca.
33316         [!_LIBC] Call gl_rwlock_init.
33317         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33319 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33321         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33322         before checking its value.
33324 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33328         * debug/memcpy_chk.c: Don't include pagecopy.h.
33329         * debug/mempcpy_chk.c: Likewise.
33330         * string/memcpy.c: Likewise.
33331         * string/memmove.c: Likewise.
33332         * sysdeps/powerpc/memmove.c: Likewise.
33333         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33334         definition of PAGE_COPY_FWD_MAYBE here...
33335         * sysdeps/generic/pagecopy.h: ... from here.
33336         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33338 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33339             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33341         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33343         optimizations.
33344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33345         (__libc_ifunc_impl_list): Likewise.
33346         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33347         multiarch strcat for PPC64.
33348         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33349         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33351 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33353         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33355 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33357         * intl/loadmsgcat.c: Remove declaration of
33358         get_sysdep_segment_value.
33359         (get_sysdep_segment_value): Use ISO C style.
33360         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33361         semicolon.  Fix typo and formatting in comment.
33362         (_nl_unload_domain): Use ISO C style.
33364         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33366 2014-07-02  Will Newton  <will.newton@linaro.org>
33368         * malloc/obstack.c: Merge from gnulib master.
33369         [HAVE_CONFIG_H]: Remove conditional code.
33370         [!_LIBC]: Include config.h.
33371         [!ELIDE_CODE]: Don't include inttypes.h, include
33372         stdint.h unconditionally.
33373         (print_and_abort): Mark as _Noreturn.
33374         (_obstack_allocated_p): Mark as __attribute_pure__.
33375         (obstack_free): Rename to __obstack_free.
33376         [!__attribute__]: Remove conditional code.
33377         * malloc/obstack.h: Merge from gnulib master.
33378         [__cplusplus]: Move conditional down.
33379         [!__attribute_pure__]: Define __attribute_pure__ here
33380         if it is not already defined.
33381         (_obstack_memory_used): Mark as __attribute_pure__.
33382         [!__obstack_free]: Define as obstack_free.
33383         [__GNUC__]: Remove check for ancient NeXT gcc.
33385 2014-07-02  Will Newton  <will.newton@linaro.org>
33386             Paul Eggert  <eggert@cs.ucla.edu>
33388         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33390 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33392         * resolv/gethnamaddr.c: Add comment warning that the file is
33393         not maintained.
33395 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33397         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33398         entries.
33400         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33401         entry for aio_cancel and aio_cancel64.
33402         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33403         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33404         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33405         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33406         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33407         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33408         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33409         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33410         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33411         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33412         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33413         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33414         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33416 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33418         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33419         * nptl/pthread_mutex_lock.c: Likewise.
33420         * nptl/pthread_mutex_timedlock.c: Likewise.
33421         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33423 2014-07-01  Richard henderson  <rth@redhat.com>
33425         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33426         (__isnan, __isnanl): Remove.
33427         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33429         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33431 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33433         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33435 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33437         * resolv/nss_dns/dns-host.c (getanswer_r)
33438         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33440 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33443         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33444         undefine.
33445         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33446         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33448 2014-07-01  Roland McGrath <roland@hack.frob.com>
33450         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33451         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33453         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33454         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33456         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33457         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33458         ... here.
33459         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33460         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33462         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33463         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33464         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33465         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33467         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33468         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33469         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33470         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33471         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33472         Moved ...
33473         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33474         ... here.
33475         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33476         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33477         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33478         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33479         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33480         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33481         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33482         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33483         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33484         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33485         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33486         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33488         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33489         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33490         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33492         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33494         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33495         ... here.
33496         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33497         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33498         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33499         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33500         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33501         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33502         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33503         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33505 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33508         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33509         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33510         Add sysdep.
33512 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33516 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33518         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33519         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33521         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33523         * sysdeps/arm/libm-test-ulps: Regenerated.
33525 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33526             Roland McGrath <roland@hack.frob.com>
33528         * test-skeleton.c (signal_handler): Kill the whole process group
33529         before killing the child individually.
33530         (main): Report any failure on `setpgid'.
33532 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33534         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33535         from _TLS_H to _ARM_NPTL_TLS_H.
33536         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33537         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33539 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33541         [BZ #16539]
33542         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33543         (__expm1l): Return argument unchanged when small but not
33544         subnormal.
33546         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33547         include macro name.
33548         (_FP_UNPACK_RAW_1_P): Likewise.
33549         (_FP_PACK_RAW_1): Likewise.
33550         (_FP_PACK_RAW_1_P): Likewise.
33551         (_FP_MUL_MEAT_1_wide): Likewise.
33552         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33553         (_FP_MUL_MEAT_1_hard): Likewise.
33554         (_FP_DIV_MEAT_1_imm): Likewise.
33555         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33556         (_FP_DIV_MEAT_1_udiv): Likewise.
33557         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33558         (_FP_UNPACK_RAW_2): Likewise.
33559         (_FP_UNPACK_RAW_2_P): Likewise.
33560         (_FP_PACK_RAW_2): Likewise.
33561         (_FP_PACK_RAW_2_P): Likewise.
33562         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33563         (_FP_MUL_MEAT_2_wide): Likewise.
33564         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33565         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33566         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33567         (_FP_MUL_MEAT_2_gmp): Likewise.
33568         (_FP_DIV_MEAT_2_udiv): Likewise.
33569         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33570         (_FP_FRAC_SRL_4): Likewise.
33571         (_FP_FRAC_SRST_4): Likewise.
33572         (_FP_FRAC_SRS_4): Likewise.
33573         (_FP_UNPACK_RAW_4): Likewise.
33574         (_FP_UNPACK_RAW_4_P): Likewise.
33575         (_FP_PACK_RAW_4): Likewise.
33576         (_FP_PACK_RAW_4_P): Likewise.
33577         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33578         (_FP_MUL_MEAT_4_wide): Likewise.
33579         (_FP_MUL_MEAT_4_gmp): Likewise.
33580         (umul_ppppmnnn): Likewise.
33581         (_FP_DIV_MEAT_4_udiv): Likewise.
33582         (__FP_FRAC_ADD_4): Likewise.
33583         (__FP_FRAC_SUB_3): Likewise.
33584         (__FP_FRAC_SUB_4): Likewise.
33585         (__FP_FRAC_DEC_3): Likewise.
33586         (__FP_FRAC_DEC_4): Likewise.
33587         (__FP_FRAC_ADDI_4): Likewise.
33588         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33589         (_FP_FRAC_SRL_8): Likewise.
33590         (_FP_FRAC_SRS_8): Likewise.
33592         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33593         include macro name.
33594         (FP_UNPACK_RAW_EP): Likewise.
33595         (FP_PACK_RAW_E): Likewise.
33596         (FP_PACK_RAW_EP): Likewise.
33597         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33598         (_FP_ISSIGNAN): Likewise.
33599         (_FP_ADD_INTERNAL): Likewise.
33600         (_FP_FMA): Likewise.
33601         (_FP_CMP): Likewise.
33602         (_FP_SQRT): Likewise.
33603         (_FP_TO_INT): Likewise.
33604         (_FP_FROM_INT): Likewise.
33605         (FP_EXTEND): Likewise.
33606         (_FP_DIV_MEAT_N_loop): Likewise.
33608 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33610         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33611         throughout.
33613 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33615         [BZ #17097]
33616         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33617         result with correct sign in case of exponents that produce
33618         overflow except for X very close to 1.
33620 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33622         mktime: merge #if/#ifdef usage from glibc
33623         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33624         as that works with both Glibc's and Gnulib's style.
33625         See thread starting at Siddhesh Poyarekar's bug report at:
33626         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33628 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33630         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33631         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33632         * sysdeps/tile/tilegx/memmove.c: Remove file.
33634 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33636         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33637         abi-name definition.
33638         * scripts/soversions.awk: Do not handle or generate ABI lines.
33639         * shlib-versions: Remove ABI entries.
33640         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33641         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33643 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33646         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33647         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33650         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33652         Moved ...
33653         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33654         ... here.
33655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33656         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33658         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33660         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33662         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33664         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33666         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33668         Moved ...
33669         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33673         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33675         Moved ...
33676         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33678         Moved ...
33679         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33681         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33683         Moved ...
33684         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33686         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33690         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33691         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33692         Moved ...
33693         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33695         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33696         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33697         Moved ...
33698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33699         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33700         Moved ...
33701         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33703         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33705         Moved ...
33706         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33707         ... here.
33708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33709         Identical file removed.
33710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33711         Moved ...
33712         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33714         Identical file removed.
33715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33716         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33718         Moved ...
33719         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33720         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33721         Identical file removed.
33722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33723         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33724         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33725         Identical file removed.
33726         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33727         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33729         Identical file removed.
33730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33731         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33733         Identical file removed.
33734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33735         Moved ...
33736         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33738         Identical file removed.
33739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33740         Moved ...
33741         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33743         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33745         Identical file removed.
33746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33747         Moved ...
33748         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33749         ... here.
33750         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33751         Identical file removed.
33752         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33753         Moved ...
33754         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33755         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33756         Identical file removed.
33757         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33758         Moved ...
33759         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33761         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33763         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33767         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33768         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33770         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33771         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33772         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33773         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33774         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33776 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33778         [BZ #17092]
33779         * nscd/nscd.c (monitor_child): Return exit status of child
33780         instead of return value from wait syscall.
33782 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33784         * configure.ac (libc_commonpagesize): Remove variable.
33785         (libc_relro_required): Likewise.
33786         (libc_cv_z_relro): Remove configure test.
33787         * configure: Regenerated.
33788         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33789         variable.
33790         (libc_relro_required): Likewise.
33791         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33792         (libc_relro_required): Likewise.
33793         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33794         (libc_relro_required): Likewise.
33795         * sysdeps/arm/preconfigure: Regenerated.
33796         * sysdeps/ia64/preconfigure: Remove file.
33797         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33798         variable.
33799         (libc_relro_required): Likewise.
33801         [BZ #16561]
33802         [BZ #16562]
33803         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33804         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33805         recompute overflowing results in original rounding mode.
33806         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33807         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33808         recompute overflowing results in original rounding mode.
33809         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33810         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33811         recompute overflowing results in original rounding mode.
33812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33813         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33814         recompute overflowing results in original rounding mode.
33815         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33816         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33817         recompute overflowing results in original rounding mode.
33818         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33819         (libc_feholdsetround_ctx): New macro.
33820         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33821         * sysdeps/i386/fpu/libm-test-ulps: Update.
33822         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33824 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33826         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33827         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33828         corresponding .cpsetup call.
33830 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33832         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33833         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33834         * sysdeps/arm/Makefile [$(subdir) = csu]
33835         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33836         (static-only-routines): Add aeabi_read_tp here.
33837         (shared-only-routines): Add libc-aeabi_read_tp here.
33838         (CFLAGS-libc-start.c): Add -fexceptions here.
33839         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33840         (sysdep_routines, static-only-routines, shared-only-routines):
33841         Don't add to these here.
33842         (CFLAGS-libc-start.c): Likewise.
33844         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33845         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33846         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33847         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33848         * sysdeps/arm/Makefile [$(subdir) = rt]
33849         (librt-sysdep_routines, librt-shared-only-routines):
33850         Append rt-aeabi_unwind_cpp_pr1 here.
33851         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33852         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33853         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33854         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33855         Append nptl-aeabi_unwind_cpp_pr1 here.
33856         (tests): Filter out tst-cleanupx4 here.
33857         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33858         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33859         Don't do those here.
33861 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33863         * scripts/list-sources.sh: Do not handle ports specially.
33865 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33867         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33868         * sysdeps/arm/feupdateenv.c: Likewise.
33870         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33872 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33874         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33875         trailing whitespace removed.
33876         * scripts/config.guess: Update to version 2014-03-23.
33877         * scripts/config.sub: Update to version 2014-05-01
33878         * scripts/install-sh: Update to version 2013-12-25.23.
33879         * scripts/move-if-change: Update from gnulib.
33881 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33883         * debug/memmove_chk.c: Remove pagecopy.h include.
33885 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33887         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33888         identical to gnulib mktime.
33890 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33892         * configure.ac: Do not test for machine being rs6000.  Do not test
33893         for powerpc*-*soft.
33894         * configure: Regenerated.
33896         [BZ #11505]
33897         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33898         test.
33899         * configure: Regenerated.
33900         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33901         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33902         Remove configure test.
33903         * sysdeps/arm/configure: Regenerated.
33904         * sysdeps/nptl/configure.ac: Do not check
33905         libc_cv_asm_cfi_directives.
33906         * sysdeps/nptl/configure: Regenerated.
33907         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33908         * sysdeps/x86_64/nptl/configure: Remove generated file.
33909         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33910         unconditional.
33911         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33913 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33915         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33916         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33917         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33918         it is defined.
33920         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33921         instead of whether it is defined.
33922         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33923         * sysdeps/hppa/dl-machine.h: Likewise.
33924         * sysdeps/ia64/dl-machine.h: Likewise.
33925         * sysdeps/m68k/dl-machine.h: Likewise.
33926         * sysdeps/microblaze/dl-machine.h: Likewise.
33927         * sysdeps/mips/dl-machine.: Likewise.
33928         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33929         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33930         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33931         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33932         * sysdeps/sh/dl-machine.h: Likewise.
33933         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33934         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33935         * sysdeps/tile/dl-machine.h: Likewise.
33936         * sysdeps/x86_64/dl-machine.h: Likewise.
33938         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33939         code.
33940         (verify_persistent_db): Likewise.
33942 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33945         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33949         Moved ...
33950         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33951         ... here.
33952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33953         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33955         Identical file removed.
33956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33957         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33959         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33961         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33963         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33965         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33967         Moved ...
33968         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33974         Moved ...
33975         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33977         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33979         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33981         Identical file removed.
33982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33983         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33985         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33987         Moved ...
33988         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33989         ... here.
33990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33991         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33993         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34001         Moved ...
34002         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34004         Moved ...
34005         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34009         Moved ...
34010         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34014         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34015         folded into ...
34016         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34017         * sysdeps/unix/sysv/linux/s390/Versions
34018         (libpthread: GLIBC_2.19): New version set.
34019         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34020         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34021         (librt: GLIBC_2.3.3): New version set.
34022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34023         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34024         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34025         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34026         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34027         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34028         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34029         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34030         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34032         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34033         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34034         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34035         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34036         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34037         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34038         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34039         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34041         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34042         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34043         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34044         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34045         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34046         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34048         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34049         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34050         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34052         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34053         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34054         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34058         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34060         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34062         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34064         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34066         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34068         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34069         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34070         (__libc_vfork): Define the function under this name.
34071         [!NOT_IN_libc] (__vfork): Make this an alias.
34072         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34074         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34075         (__libc_vfork): Define the function under this name.
34076         [!NOT_IN_libc] (__vfork): Make this an alias.
34077         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34078         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34079         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34082         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34084         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34085         code that was previously under [RESET_PID].
34086         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34087         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34090         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34091         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34092         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34093         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34094         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34095         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34096         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34097         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34098         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34099         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34100         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34101         Moved ...
34102         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34103         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34104         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34105         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34106         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34107         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34108         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34109         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34110         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34111         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34112         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34113         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34114         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34115         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34116         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34117         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34118         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34119         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34120         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34121         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34122         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34123         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34124         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34125         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34126         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34127         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34128         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34129         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34130         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34132 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34134         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34135         that was previously under [RESET_PID].
34136         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34138 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34140         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34141         not undefine and redefine.
34142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34143         [O_CLOEXEC]: Make code unconditional.
34144         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34145         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34146         <kernel-features.h>.
34147         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34148         conditional variable definition.
34149         (shm_open) [O_CLOEXEC]: Make code unconditional.
34150         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34151         code.
34153         * configure.ac (USE_REGPARMS): Don't define here.
34154         * configure: Regenerated.
34155         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34156         * sysdeps/i386/configure: Regenerated.
34158         * nptl/createthread.c: Don't include kernel-features.h.
34159         * nptl/pthread_cancel.c: Likewise.
34160         * nptl/pthread_condattr_setclock.c: Likewise.
34161         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34162         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34163         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34164         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34165         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34166         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34167         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34170         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34171         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34172         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34173         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34174         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34175         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34176         * nscd/gai.c: Likewise.
34177         * nss/nss_db/db-open.c: Likewise.
34178         * sysdeps/generic/ldsodefs.h: Likewise.
34179         * sysdeps/sh/nptl/tls.h: Likewise.
34180         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34181         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34182         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34183         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34184         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34185         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34186         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34187         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34189         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34190         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34191         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34192         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34193         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34194         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34195         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34196         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34197         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34198         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34199         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34202         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34203         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34208         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34209         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34210         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34211         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34212         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34213         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34214         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34215         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34216         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34217         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34218         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34219         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34220         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34221         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34222         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34223         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34224         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34225         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34226         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34227         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34228         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34229         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34230         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34231         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34232         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34233         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34234         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34235         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34236         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34237         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34260         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34261         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34262         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34263         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34264         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34265         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34266         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34267         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34268         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34269         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34270         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34271         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34272         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34273         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34274         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34275         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34276         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34277         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34278         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34279         * sysdeps/unix/sysv/linux/system.c: Likewise.
34280         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34281         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34282         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34283         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34284         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34285         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34286         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34288         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34289         * configure: Regenerated.
34290         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34292         * configure.ac (base_machine): Do not set specially for particular
34293         machines here.
34294         * configure: Regenerated.
34295         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34296         settings from configure.ac.
34297         * sysdeps/i386/preconfigure: New file.
34298         * sysdeps/s390/preconfigure: Likewise.
34299         * sysdeps/sh/preconfigure: Likewise.
34300         * sysdeps/sparc/preconfigure: Likewise.
34302 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34304         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34305         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34306         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34307         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34308         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34309         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34310         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34311         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34312         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34313         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34314         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34315         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34316         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34317         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34319         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34321         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34322         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34324         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34325         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34326         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34327         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34328         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34329         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34330         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34331         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34332         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34333         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34334         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34335         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34336         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34337         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34338         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34339         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34340         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34341         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34342         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34343         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34345         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34347         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34348         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34349         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34350         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34351         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34353         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34354         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34355         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34357         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34358         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34359         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34360         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34361         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34364         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34366         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34370         ... here.
34371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34372         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34374         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34376         Moved ...
34377         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34379         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34381         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34383         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34385         Moved ...
34386         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34391         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34393         Moved ...
34394         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34396         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34398         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34400         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34402         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34404         Moved ...
34405         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34406         ... here.
34407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34408         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34410         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34412         Moved ...
34413         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34415         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34419         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34421         Moved ...
34422         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34424         Moved ...
34425         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34427         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34432         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34434         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34436 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34438         * timezone/checktab.awk: Update from tzcode 2014e.
34439         * timezone/private.h: Likewise.
34440         * timezone/tzfile.h: Likewise.
34441         * timezone/zdump.c: Likewise.
34442         * timezone/zic.c: Likewise.
34444         * sysdeps/unix/sysv/linux/kernel-features.h
34445         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34446         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34447         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34448         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34449         Remove conditional code.
34451 2014-06-25  Will Newton  <will.newton@linaro.org>
34453         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34454         (_dl_arm_cap_flags): Add HWCAP2 values.
34455         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34456         (_DL_HWCAP_COUNT): Increase to 37.
34457         (_DL_HWCAP_LAST): New define.
34458         (_DL_HWCAP2_LAST): New define.
34459         (_dl_procinfo): Add support for printing
34460         AT_HWCAP2 entries.
34461         (_dl_string_hwcap): Use _dl_hwcap_string.
34463 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34467 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34469         * README: Do not mention ports directory.
34471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34472         Remove macro.
34473         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34474         <kernel-features.h>.
34475         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34476         conditional variable definition.
34477         (__futimes): Update comment.
34478         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34479         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34481         [BZ #16560]
34482         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34483         arguments close to 0.
34484         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34485         Likewise.
34486         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34487         Likewise.
34488         * math/auto-libm-test-in: Add more tests of exp10.
34489         * math/auto-libm-test-out: Regenerated.
34490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34492         * sysdeps/unix/sysv/linux/kernel-features.h
34493         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34494         * sysdeps/unix/sysv/linux/readv.c: Do not include
34495         <kernel-features.h>.
34496         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34497         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34498         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34499         unconditional.
34500         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34501         conditional code.
34502         * sysdeps/unix/sysv/linux/writev.c: Do not include
34503         <kernel-features.h>.
34504         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34505         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34506         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34507         unconditional.
34508         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34509         conditional code.
34511 2014-06-25  Will Newton  <will.newton@linaro.org>
34513         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34514         comment changes throughout the file.  Remove checks
34515         for HAVE_*_H definitions that are not required.
34516         (__gen_tempname): Call abort if an unknown kind value is
34517         passed.
34519 2014-06-25  Andreas Schwab  <schwab@suse.de>
34521         [BZ #17086]
34522         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34523         scalbln, scalblnf, scalblnl in libc.
34525 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34527         [BZ #17086]
34528         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34529         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34530         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34532 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34534         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34535         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34536         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34537         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34538         Update #include.
34539         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34540         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34541         Update #include.
34542         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34543         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34544         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34545         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34546         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34547         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34548         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34549         * sysdeps/x86/bits/semaphore.h: ... here.
34550         * sysdeps/x86/nptl/elide.h: Moved ...
34551         * sysdeps/x86/elide.h: ... here.
34552         * sysdeps/x86_64/nptl/Implies: File removed.
34553         * sysdeps/i386/nptl/Implies: File removed.
34555 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34557         [BZ #16539]
34558         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34559         return the argument for normal arguments with exponent below -64.
34560         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34561         Likewise.
34562         * math/auto-libm-test-in: Add another test of expm1.
34563         * math/auto-libm-test-out: Regenerated.
34565         [BZ #16287]
34566         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34567         calling __erfcl for arguments at least 16.
34568         * math/auto-libm-test-in: Add more tests of erf.
34569         * math/auto-libm-test-out: Regenerated.
34571         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34572         individual architectures.
34573         * sysdeps/unix/sysv/linux/configure: Regenerated.
34574         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34575         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34576         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34577         (ldd_rewrite_script): Define variable.
34578         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34580         file.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34582         generated file.
34583         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34584         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34585         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34586         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34587         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34588         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34589         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34590         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34592 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34594         [BZ #17084]
34595         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34596         Rename member __data.d to __data.__elision_data.
34598 2014-06-24  Wilco  <wdijkstr@arm.com>
34600         * NEWS: Add 16918 to fixed bug list.
34602 2014-06-24  Wilco  <wdijkstr@arm.com>
34604         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34606 2014-06-24  Wilco  <wdijkstr@arm.com>
34608         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34609         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34610         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34611         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34612         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34613         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34614         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34615         Use _FPU_MASK_RM.
34617 2014-06-24  Wilco  <wdijkstr@arm.com>
34619         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34621 2014-06-24  Wilco  <wdijkstr@arm.com>
34623         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34624         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34625         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34626         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34628 2014-06-24  Wilco  <wdijkstr@arm.com>
34630         [BZ #16918]
34631         * sysdeps/arm/feupdateenv.c (feupdateenv):
34632         Rewrite to reduce FPSCR accesses and fix return value.
34634 2014-06-24  Wilco  <wdijkstr@arm.com>
34636         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34637         Optimize to avoid unnecessary FPSCR writes.
34638         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34639         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34640         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34641         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34643 2014-06-24  Wilco  <wdijkstr@arm.com>
34645         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34646         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34647         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34648         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34649         Call libc_fetestexcept_vfp.
34650         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34651         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34652         __SOFTFP__ ifdef so that they can be built for softfp.
34654 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34656         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34657         argument type signed char.
34659         * Makerules (check-abi): Dump diff of symlist if the test
34660         fails.
34662 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34664         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34665         using abort.
34667         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34668         Remove unused variable ST.
34670 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34672         [BZ #16354]
34673         [BZ #17061]
34674         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34675         small arguments before calling __expm1.
34676         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34677         small arguments before calling __expm1f.
34678         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34679         small arguments before calling __expm1l.
34680         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34681         Likewise.
34682         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34683         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34684         spurious underflow for some cosh tests.
34685         * math/auto-libm-test-out: Regenerated.
34686         * sysdeps/i386/fpu/libm-test-ulps: Update.
34688         [BZ #17050]
34689         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34690         (__ieee754_y1): Set errno if return value overflows.
34691         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34692         (__ieee754_y1f): Set errno if return value overflows.
34693         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34694         (__ieee754_y1l): Set errno if return value overflows.
34695         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34696         (__ieee754_y1l): Set errno if return value overflows.
34697         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34698         * math/auto-libm-test-out: Regenerated.
34700         * math/gen-auto-libm-tests.c: Document use of
34701         ignore-zero-inf-sign.
34702         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34703         (input_flags): Add ignore-zero-inf-sign.
34704         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34705         * math/gen-libm-test.pl (generate_testfile): Handle
34706         ignore-zero-inf-sign.
34707         * math/auto-libm-test-in: Mark some cpow tests with
34708         ignore-zero-inf-sign and some with xfail-rounding.
34709         * math/auto-libm-test-out: Regenerated.
34710         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34711         * sysdeps/i386/fpu/libm-test-ulps: Update.
34712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34714         [BZ #16315]
34715         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34716         overflowing or underflowing operations take place with sign of
34717         result.
34718         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34719         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34720         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34721         (__ieee754_pow): Recompute overflowing and underflowing results in
34722         original rounding mode.
34723         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34724         (__powl_helper): Allow negative argument X and scale negated value
34725         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34726         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34727         overflowing or underflowing operations take place with sign of
34728         result.
34729         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34730         Include <math.h>.
34731         * math/auto-libm-test-in: Add more tests of pow.
34732         * math/auto-libm-test-out: Regenerated.
34733         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34734         (pow_tonearest_test_data): Remove.
34735         (pow_test_tonearest): Likewise.
34736         (pow_towardzero_test_data): Likewise.
34737         (pow_test_towardzero): Likewise.
34738         (pow_downward_test_data): Likewise.
34739         (pow_test_downward): Likewise.
34740         (pow_upward_test_data): Likewise.
34741         (pow_test_upward): Likewise.
34742         (main): Don't call removed functions.
34743         * sysdeps/i386/fpu/libm-test-ulps: Update.
34744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34746 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34749         Moved ...
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34752         Moved ...
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34755         Moved ...
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34758         Moved ...
34759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34761         File removed.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34763         File removed.
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34765         File removed.
34766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34767         File removed.
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34769         File removed.
34770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34771         File removed.
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34773         File removed.
34774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34775         File removed.
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34777         File removed.
34778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34779         File removed.
34780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34781         File removed.
34782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34783         File removed.
34784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34785         Moved ...
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34788         Moved ...
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34790         ... here.
34791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34792         Moved ...
34793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34795         Moved ...
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34798         Moved ...
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34801         Moved ...
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34804         Moved ...
34805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34807         Moved ...
34808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34810         Moved ...
34811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34814         ... here.
34815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34816         Moved ...
34817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34819         Moved ...
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34821         ... here.
34822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34823         Moved ...
34824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34825         ... here.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34827         Moved ...
34828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34829         ... here.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34831         Moved ...
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34834         Moved ...
34835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34839         Moved ...
34840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34841         ... here.
34842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34843         Moved ...
34844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34845         ... here.
34846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34847         Moved ...
34848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34850         Moved ...
34851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34853         Moved ...
34854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34856         Moved ...
34857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34859         Moved ...
34860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34861         ... here.
34862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34863         Moved ...
34864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34866         Moved ...
34867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34869         Moved ...
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34872         Moved ...
34873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34877         Moved ...
34878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34880         Moved ...
34881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34883         Moved ...
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34885         ... here.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34887         Moved ...
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34889         ... here.
34890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34891         Moved ...
34892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34893         ... here.
34894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34895         Moved ...
34896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34898         Moved ...
34899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34901         Moved ...
34902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34904         Moved ...
34905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34906         ... here.
34907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34908         Moved ...
34909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34910         ... here.
34911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34912         Moved ...
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34914         ... here.
34915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34916         Moved ...
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34919         Moved ...
34920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34922 2014-06-23  Will Newton  <will.newton@linaro.org>
34923             Wilco  <wdijkstr@arm.com>
34925         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34926         implementation.  Include get-rounding-mode.h.
34927         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34928         [!libc_feholdsetround_noex_ctx]: Define
34929         libc_feholdsetround_noex_ctx.
34930         [!libc_feholdsetround_noexf_ctx]: Define
34931         libc_feholdsetround_noexf_ctx.
34932         [!libc_feholdsetround_noexl_ctx]: Define
34933         libc_feholdsetround_noexl_ctx.
34934         (libc_feholdsetround_ctx): New function.
34935         (libc_feresetround_ctx): New function.
34936         (libc_feholdsetround_noex_ctx): New function.
34937         (libc_feresetround_noex_ctx): New function.
34939 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34941         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34942         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34943         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34944         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34945         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34946         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34948         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34949         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34950         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34951         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34952         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34953         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34954         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34955         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34956         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34957         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34958         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34959         Moved ...
34960         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34961         ... here.
34962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34963         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34965         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34967         Moved ...
34968         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34970         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34971         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34972         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34973         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34974         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34976         Moved ...
34977         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34979         Moved ...
34980         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34982         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34984         Moved ...
34985         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34987         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34988         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34989         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34990         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34991         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34992         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34993         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34995         Moved ...
34996         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34997         ... here.
34998         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34999         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35000         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35001         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35003         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35005         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35006         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35007         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35008         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35009         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35010         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35011         Moved ...
35012         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35013         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35014         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35016         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35018         Moved ...
35019         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35020         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35021         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35022         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35023         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35025         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35026         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35027         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35028         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35029         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35030         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35031         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35032         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35034         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35035         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35036         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35037         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35038         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35039         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35040         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35041         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35042         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35043         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35046         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35047         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35048         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35049         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35050         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35051         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35052         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35054 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35057         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35058         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35059         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35060         (IPV6_PMTUDISC_INTERFACE): Likewise.
35061         (IPV6_PMTUDISC_OMIT): Likewise.
35063 2014-06-23  Andreas Schwab  <schwab@suse.de>
35065         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35066         Remove unused errout label.
35068 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35070         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35071         macro: hardware supports Vector Crypto instructions.
35073 2014-06-23  Will Newton  <will.newton@linaro.org>
35075         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35076         rather than __builtin_expect.
35078         * elf/dl-lookup.c (undefined_msg): Remove variable.
35079         (_dl_lookup_symbol_x): Replace undefined_msg with string
35080         literal.
35082         * elf/dl-lookup.c (do_lookup_unique): New function.
35083         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35084         to a separate function.
35086 2014-06-23  Andreas Schwab  <schwab@suse.de>
35088         [BZ #17079]
35089         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35090         before reading the next line.
35092 2014-06-23  Will Newton  <will.newton@linaro.org>
35094         * test-skeleton.c (signal_handler): Use printf and %m
35095         rather than perror.  Use printf rather than fprintf to
35096         stderr.  Use puts rather than fputs to stderr.
35097         (main): Likewise.
35099 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35101         * nscd/nscd.c (thread_info_t): Remove typedef.
35102         (thread_info): Remove variable.
35104 2014-06-21  Allan McRae  <allan@archlinux.org>
35106         * NEWS: Mention CVE-2014-4043.
35108 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35110         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35111         * nptl/smp.h: ... here.
35113         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35115         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35116         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35117         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35118         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35120         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35121         * nptl/stack-aliasing.h: New file.
35122         * sysdeps/i386/i686/stack-aliasing.h: New file.
35123         * sysdeps/i386/i686/nptl/Makefile: File removed.
35124         * sysdeps/x86_64/stack-aliasing.h: New file.
35125         * sysdeps/x86_64/nptl/Makefile
35126         (CFLAGS-pthread_create.c): Variable removed.
35128         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35129         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35130         old file.
35131         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35132         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35133         old file.
35135 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35137         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35138         (__ASSUME_SIGFRAME_V2): Remove macro.
35139         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35140         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35141         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35142         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35143         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35144         Declare as function.  Remove conditional macro definitions.
35145         (__default_rt_sa_restorer): Likewise.
35146         (__default_sa_restorer_v1): Remove declaration.
35147         (__default_sa_restorer_v2): Likewise.
35148         (__default_rt_sa_restorer_v1): Likewise.
35149         (__default_rt_sa_restorer_v2): Likewise.
35150         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35151         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35152         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35154 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35156         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35157         (libpthread-routines): Add sysdep.
35158         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35159         * sysdeps/unix/sysv/linux/sparc/Versions
35160         (libpthread: GLIBC_2.3.3): New version set.
35161         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35162         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35163         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35164         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35165         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35166         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35167         Moved ...
35168         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35170         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35171         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35172         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35173         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35174         * sysdeps/sparc/nptl/sem_init.c: ... here.
35175         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35176         * sysdeps/sparc/nptl/sem_post.c: ... here.
35177         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35178         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35179         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35180         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35181         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35182         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35183         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35184         (libpthread-routines): Add cpu_relax.
35185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35186         File removed.
35187         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35188         (librt: GLIBC_2.3.3): New version set.
35189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35190         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35191         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35192         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35195         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35197         Moved ...
35198         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35200         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35202         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35204         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35206         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35208         Moved ...
35209         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35210         Update #include.
35211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35212         Moved ...
35213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35214         Update #include.
35215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35216         Moved ...
35217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35218         Update #include.
35219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35220         Moved ...
35221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35222         Update #include.
35223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35224         Moved ...
35225         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35226         Update #include.
35227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35228         Moved ...
35229         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35230         Update #include.
35231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35232         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35238         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35240         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35242         Moved ...
35243         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35245         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35247         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35249 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35251         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35252         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35253         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35254         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35255         * nscd/nscd.c: Likewise.
35256         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35257         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35258         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35259         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35261         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35262         <kernel-features.h>.
35263         (init_mq_netlink): Remove conditional have_sock_cloexec
35264         definitions.  Remove code conditional on have_sock_cloexec < 0.
35265         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35266         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35267         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35268         <kernel-features.h>.
35269         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35270         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35272 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35275         Add tests for memset_chk and memset.
35277         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35278         with AVX2_Usable.
35280 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35282         [BZ #16046]
35283         * elf/tst-dl-iter-static.c: New file.
35284         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35286         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35287         error.
35289 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35291         * sysdeps/unix/sysv/linux/kernel-features.h
35292         (__ASSUME_F_GETOWN_EX): Remove macro.
35293         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35294         <kernel-features.h>.
35295         (miss_F_GETOWN_EX): Remove variable or macro.
35296         (do_fcntl): Do not check miss_F_GETOWN_EX.
35297         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35300         Remove macro.
35301         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35302         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35303         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35305         * sysdeps/unix/sysv/linux/kernel-features.h
35306         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35307         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35308         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35309         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35311 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35313         [BZ #17075]
35314         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35315         Fix calculation of the symbol's value.
35316         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35317         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35318         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35319         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35320         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35321         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35322         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35323         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35324         (modules-names): Add `tst-armtlsdescmod',
35325         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35326         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35327         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35328         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35329         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35330         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35331         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35332         ($(objpfx)tst-armtlsdescloc): New dependency.
35333         ($(objpfx)tst-armtlsdescextnow): Likewise.
35334         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35335         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35336         TLS scheme support.
35337         * sysdeps/arm/configure: Regenerate.
35339 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35341         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35342         (__atfct_seterrno_2): Likewise.
35343         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35344         <kernel-features.h>.
35345         (__ASSUME_ATFCTS): Do not undefine and redefine.
35346         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35347         (__have_atfcts): Remove conditional definition.
35348         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35349         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35350         unreachable if [__ASSUME_ATFCTS].
35351         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35352         not undefine and redefine.
35353         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35354         <kernel-features.h>.
35355         (faccessat) [__NR_faccessat]: Make code unconditional.
35356         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35357         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35358         <kernel-features.h>.
35359         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35360         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35361         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35362         <kernel-features.h>.
35363         (fchownat) [__NR_fchownat]: Make code unconditional.
35364         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35365         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35366         <kernel-features.h>.
35367         (futimesat) [__NR_futimesat]: Make code unconditional.
35368         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35369         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35370         <kernel-features.h>.
35371         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35372         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35373         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35374         <kernel-features.h>.
35375         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35376         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35377         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35378         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35379         <kernel-features.h>.
35380         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35381         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35382         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35383         <kernel-features.h>.
35384         (linkat) [__NR_linkat]: Make code unconditional.
35385         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35386         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35387         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35388         <kernel-features.h>.
35389         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35390         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35391         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35392         <kernel-features.h>.
35393         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35394         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35395         * sysdeps/unix/sysv/linux/openat.c: Do not include
35396         <kernel-features.h>.
35397         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35398         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35399         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35400         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35401         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35402         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35403         <kernel-features.h>.
35404         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35405         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35406         result of INLINE_SYSCALL directly, not via int variable.
35407         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35408         <kernel-features.h>.
35409         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35410         (renameat) [__NR_renameat]: Make code unconditional.
35411         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35412         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35413         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35414         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35415         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35416         (__ASSUME_ATFCTS): Do not undefine and redefine.
35417         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35418         <kernel-features.h>.
35419         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35420         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35421         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35422         <kernel-features.h>.
35423         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35424         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35425         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35426         (__ASSUME_ATFCTS): Do not undefine and redefine.
35427         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35428         <kernel-features.h>.
35429         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35430         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35431         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35432         <kernel-features.h>.
35433         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35434         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35436 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35438         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35440 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35442         [BZ #17069]
35443         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35444         constructed tree before returning error.
35445         * posix/bug-regexp36.c: Expand test case.
35447 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35449         [BZ #6803]
35450         * math/libm-test.inc (scalbln_test_date):
35451         Add errno expectations.
35452         * math/w_scalblnf.c: New File.
35453         Add wrapper which checks for setting errno to ERANGE.
35454         Add weak_alias for corresponding scalbln function.
35455         * math/w_scalbln.c: Likewise.
35456         * math/w_scalblnl.c: Likewise.
35457         * math/Makefile (libm-calls): Add w_scalbln.
35458         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35459         Remove weak_alias for corresponding scalbln function.
35460         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35461         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35462         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35464         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35465         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35466         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35467         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35468         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35469         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35470         Remove long_double_symbol for scalblnl function in libm, libc.
35471         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35472         Add wrapper which checks for setting errno to ERANGE.
35473         Add long_double_symbol for scalblnl function in libm, libc.
35474         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35475         Remove long_double_symbol for scalblnl in libm.
35476         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35477         Add wrapper which checks for setting errno to ERANGE.
35478         Add long_double_symbol for scalblnl function in libm.
35479         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35480         Do not use wrapper because of own implementation.
35482 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35484         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35485         3 bytes for __pad1 for x32.
35486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35488 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35489             H.J. Lu  <hongjiu.lu@intel.com>
35491         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35492         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35493         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35494         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35495         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35497 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35499         [BZ #17069]
35500         * posix/regcomp.c (parse_expression): Deallocate partially
35501         constructed tree before returning error.
35502         * posix/Makefile.c (tests): Add bug-regex36.
35503         (generated): Add bug-regex36.mtrace.
35504         (tests-special): Add $(objpfx)bug-regex36-mem.out
35505         (bug-regex36-ENV): New variable.
35506         ($(objpfx)bug-regex36-mem.out): New rule.
35507         * posix/bug-regex36.c: New file.
35509 2014-06-19  Will Newton  <will.newton@linaro.org>
35511         * malloc/malloc.c (systrim): If extra is zero then return
35512         early.
35514 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35516         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35518 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35520         * sysdeps/aarch64/strchr.S: New file.
35522 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35524         [BZ #17022]
35525         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35526         from arguments -2 or below.
35527         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35528         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35530 2014-06-18  Andreas Schwab  <schwab@suse.de>
35532         [BZ #17062]
35533         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35534         of a bracket expr not to run off the end of the string.
35535         * posix/Makefile (tests): Add tst-fnmatch3.
35536         * posix/tst-fnmatch3.c: New file.
35538 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35540         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35541         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35542         [$(cross-compiling) = no]: Likewise.
35543         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35544         [$(cross-compiling) = no]: Likewise.
35546 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35548         [BZ #17031]
35549         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35550         double, adjusted for any remainder from the high double.
35551         * math/libm-test.inc (nearbyint): Add tests.
35552         (rint): Likewise.
35554 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35556         * nptl/sysdeps/powerpc/Makefile: Moved ...
35557         * sysdeps/powerpc/nptl/Makefile: ... here.
35558         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35559         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35560         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35561         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35562         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35563         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35564         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35565         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35566         * nptl/sysdeps/powerpc/tls.h: Moved ...
35567         * sysdeps/powerpc/nptl/tls.h: ... here.
35569 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35571         [BZ #16681]
35572         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35573         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35574         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35575         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35576         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35577         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35578         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35579         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35580         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35582 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35584         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35586 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35588         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35589         defined operator.
35591         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35592         $TIMEOUTFACTOR.
35594 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35596         [BZ #17058]
35597         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35598         non-executed part of the test.
35600 2014-06-16  Andreas Schwab  <schwab@suse.de>
35602         * string/bits/string2.h (strdup, strndup): Update feature guard.
35604 2014-06-14  David S. Miller  <davem@davemloft.net>
35606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35608 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35610         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35611         that was previously under [RESET_PID].
35612         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35614         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35615         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35616         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35617         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35618         (__libc_vfork): New strong alias.
35619         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35621 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35623         * sysdeps/generic/elide.h: New file.
35625 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35627         * Makefile (installed-headers): Adjust path of pthread.h header.
35629 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35631         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35632         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35633         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35634         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35636         * nptl/sysdeps/s390/Makefile: Moved ...
35637         * sysdeps/s390/nptl/Makefile: ... here.
35638         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35639         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35640         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35641         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35642         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35643         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35644         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35645         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35646         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35647         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35648         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35649         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35650         * nptl/sysdeps/s390/tls.h: Moved ...
35651         * sysdeps/s390/nptl/tls.h: ... here.
35653         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35654         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35656 2014-06-13  David S. Miller  <davem@davemloft.net>
35658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35661         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35665         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35666         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35667         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35668         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35669         Remove RESET_PID cpp guards.
35670         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35671         Remove RESET_PID cpp guards.
35672         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35674 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35676         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35677         __sp to uintptr_t.
35679 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35681         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35683         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35691         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35695         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35696         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35700         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35702         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35703         (pthread_rwlock_rdlock): Add elision.
35704         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35705         (pthread_rwlock_wrlock): Add elision.
35706         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35707         (pthread_rwlock_trywrlock): Add elision.
35708         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35709         (pthread_rwlock_tryrdlock): Add elision.
35710         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35711         (pthread_rwlock_tryrdlock): Add elision unlock.
35712         * nptl/sysdeps/pthread/pthread.h:
35713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35714         (PTHREAD_RWLOCK_INITIALIZER,
35715         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35716         Handle new elision field.
35717         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35718         * sysdeps/arm/nptl/bits/pthreadtypes.h
35719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35720         * sysdeps/sh/nptl/bits/pthreadtypes.h
35721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35722         * sysdeps/tile/nptl/bits/pthreadtypes.h
35723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35724         * sysdeps/a/nptl/bits/pthreadtypes.h
35725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35726         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35727         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35728         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35730         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35732         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35733         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35734         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35735         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35736         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35738         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35739         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35740         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35741         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35742         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35743         (elision_init): Set try_xbegin to zero when no RTM.
35744         * sysdeps/x86/nptl/bits/pthreadtypes.h
35745         (pthread_rwlock_t): Change __pad1 to __rwelision.
35746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35748 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35750         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35751         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35752         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35753         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35755 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35757         [BZ #16996]
35758         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35759         that the cached result has been set before returning it.
35761 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35763         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35764         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35765         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35766         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35767         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35768         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35770         * nptl/sysdeps/sparc/Makefile: Moved ...
35771         * sysdeps/sparc/nptl/Makefile: ... here.
35772         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35773         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35774         * nptl/sysdeps/sparc/tls.h: Moved ...
35775         * sysdeps/sparc/nptl/tls.h: ... here.
35776         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35777         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35778         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35779         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35780         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35781         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35782         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35783         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35784         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35785         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35786         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35787         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35788         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35789         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35790         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35791         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35792         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35794         Update #include.
35795         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35797         Update #include.
35798         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35799         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35800         Update #include.
35801         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35803         Update #include.
35805         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35807         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35808         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35810         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35811         (struct list_links): Type removed.
35812         (struct thread_node, struct timer_node): Replace struct list_links
35813         with struct list_head.
35814         (list_unlink_ip): Likewise.
35815         * sysdeps/pthread/timer_routines.c
35816         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35817         (list_append, list_insbefore): Likewise.
35818         (list_init): Function removed.
35819         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35820         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35821         * sysdeps/pthread/Makefile: ... here, new file.
35823         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35824         * sysdeps/nptl/Implies: ... here.
35825         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35826         * nptl/sysdeps/pthread/list.h: Moved ...
35827         * include/list.h: ... here.
35828         * nptl/sysdeps/pthread/createthread.c: Moved ...
35829         * nptl/createthread.c: ... here.
35830         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35831         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35832         * nptl/pt-longjmp.c: ... here.
35833         * nptl/sysdeps/pthread/Makefile: Moved ...
35834         * sysdeps/nptl/Makefile: ... here.
35835         * nptl/sysdeps/pthread/Subdirs: Moved ...
35836         * sysdeps/nptl/Subdirs: ... here.
35837         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35838         * sysdeps/nptl/aio_misc.h: ... here.
35839         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35840         * sysdeps/nptl/bits/libc-lock.h: ... here.
35841         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35842         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35843         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35844         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35845         * nptl/sysdeps/pthread/configure: Moved ...
35846         * sysdeps/nptl/configure: ... here.
35847         * nptl/sysdeps/pthread/configure.ac: Moved ...
35848         * sysdeps/nptl/configure.ac: ... here.
35849         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35850         * sysdeps/nptl/gai_misc.h: ... here.
35851         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35852         * sysdeps/nptl/librt-cancellation.c: ... here.
35853         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35854         * sysdeps/nptl/malloc-machine.h: ... here.
35855         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35856         * sysdeps/nptl/pthread-functions.h: ... here.
35857         * nptl/sysdeps/pthread/pthread.h: Moved ...
35858         * sysdeps/nptl/pthread.h: ... here.
35859         * nptl/sysdeps/pthread/setxid.h: Moved ...
35860         * sysdeps/nptl/setxid.h: ... here.
35861         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35862         * sysdeps/nptl/sigfillset.c: ... here.
35863         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35864         * sysdeps/nptl/tcb-offsets.h: ... here.
35865         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35866         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35867         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35868         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35869         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35870         * sysdeps/pthread/allocalim.h: ... here.
35871         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35872         * sysdeps/pthread/bits/sigthread.h: ... here.
35873         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35874         * sysdeps/pthread/flockfile.c: ... here.
35875         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35876         * sysdeps/pthread/ftrylockfile.c: ... here.
35877         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35878         * sysdeps/pthread/funlockfile.c: ... here.
35879         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35880         * sysdeps/pthread/posix-timer.h: ... here.
35881         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35882         * sysdeps/pthread/timer_create.c: ... here.
35883         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35884         * sysdeps/pthread/timer_delete.c: ... here.
35885         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35886         * sysdeps/pthread/timer_getoverr.c: ... here.
35887         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35888         * sysdeps/pthread/timer_gettime.c: ... here.
35889         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35890         * sysdeps/pthread/timer_routines.c: ... here.
35891         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35892         * sysdeps/pthread/timer_settime.c: ... here.
35893         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35894         * sysdeps/pthread/tst-timer.c: ... here.
35895         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35896         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35898         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35899         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35901         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35902         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35903         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35904         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35905         Update #include target.
35906         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35907         * sysdeps/i386/i686/nptl/Makefile: ... here.
35908         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35909         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35910         Update #include target.
35911         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35912         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35913         * nptl/sysdeps/i386/Makefile: Moved ...
35914         * sysdeps/i386/nptl/Makefile: ... here.
35915         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35916         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35917         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35918         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35919         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35920         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35921         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35922         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35923         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35924         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35925         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35926         * nptl/sysdeps/i386/tls.h: Moved ...
35927         * sysdeps/i386/nptl/tls.h: ... here.
35929         * sysdeps/sh/Makefile [$(subdir) = csu]
35930         (gen-as-const-headers): Add tcb-offsets.sym.
35931         * nptl/sysdeps/sh/Makefile: File removed.
35932         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35933         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35934         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35935         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35936         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35937         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35938         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35939         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35940         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35941         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35942         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35943         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35944         * nptl/sysdeps/sh/tls.h: Moved ...
35945         * sysdeps/sh/nptl/tls.h: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35947         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35949         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35951         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35953         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35954         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35955         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35957         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35959         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35961         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35963         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35965         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35966         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35967         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35968         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35971         Moved ...
35972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35974         Moved ...
35975         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35977         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35979         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35980         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35981         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35983         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35985         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35986         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35987         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35988         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35989         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35991         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35992         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35993         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35995 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35997         * posix/spawn_faction_addopen.c: Include string.h.
35999 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36001         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36002         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36003         * nptl/sysdeps/x86_64/Makefile: Moved ...
36004         * sysdeps/x86_64/nptl/Makefile: ... here.
36005         * nptl/sysdeps/x86_64/configure: Moved ...
36006         * sysdeps/x86_64/nptl/configure: ... here.
36007         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36008         * sysdeps/x86_64/nptl/configure.ac: ... here.
36009         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36010         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36011         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36012         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36013         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36014         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36015         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36016         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36017         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36018         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36019         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36020         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36021         * nptl/sysdeps/x86_64/tls.h: Moved ...
36022         * sysdeps/x86_64/nptl/tls.h: ... here.
36023         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36024         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36025         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36026         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36028         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36030 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36034 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36036         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36037         type.
36038         [POSIX] (off_t): Likewise.
36039         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36040         [POSIX] (S_ISBLK): Require macro.
36041         [POSIX] (S_ISCHR): Likewise.
36042         [POSIX] (S_ISDIR): Likewise.
36043         [POSIX] (S_ISFIFO): Likewise.
36044         [POSIX] (S_ISREG): Likewise.
36045         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36046         optional-macro.
36047         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36048         type.
36049         [POSIX] (time_t): Likewise.
36050         [POSIX] (timer_t): Likewise.
36052 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36054         [BZ #17048]
36055         * posix/spawn_int.h (struct __spawn_action): Make the path string
36056         non-const to support deallocation.
36057         * posix/spawn_faction_addopen.c
36058         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36059         * posix/spawn_faction_destroy.c
36060         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36061         path in all spawn_do_open actions.
36062         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36063         posix_spawn_file_actions_addopen.
36065 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36067         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36068         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36069         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36070         conditional code always true.
36071         (__libc_vfork): New alias.
36073 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36075         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36076         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36078         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36080         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36081         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36083         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36084         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36086         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36087         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36089 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36091         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36092         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36093         multiarch strcmp for PPC64.
36094         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36097         multiarch optimizations.
36098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36099         (__libc_ifunc_impl_list): Likewise.
36101 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36103         * benchtests/scripts/validate_benchout.py: New script.
36104         * benchtests/Makefile (bench-func): Call it.
36105         * benchtests/scripts/benchout.schema.json: New file.
36107 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36109         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36110         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36111         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36112         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36113         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36114         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36115         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36116         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36117         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36118         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36119         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36120         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36121         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36122         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36123         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36124         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36126         Moved ...
36127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36128         ... here.
36129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36130         Moved ...
36131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36133         Moved ...
36134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36135         ... here.
36136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36137         Moved ...
36138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36139         ... here.
36140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36141         Moved ...
36142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36144         Moved ...
36145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36146         ... here.
36147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36148         Moved ...
36149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36150         ... here.
36151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36152         Moved ...
36153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36155         Moved ...
36156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36157         ... here.
36158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36159         Moved ...
36160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36161         ... here.
36162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36163         Moved ...
36164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36165         ... here.
36166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36167         Moved ...
36168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36170         Moved ...
36171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36172         ... here.
36173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36174         Moved ...
36175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36176         ... here.
36177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36178         Moved ...
36179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36180         ... here.
36181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36182         Moved ...
36183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36185         Moved ...
36186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36187         ... here.
36188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36189         Moved ...
36190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36191         ... here.
36192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36193         Moved ...
36194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36196         Moved ...
36197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36198         ... here.
36199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36200         Moved ...
36201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36203         Moved ...
36204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36206         Moved ...
36207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36208         ... here.
36209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36210         Moved ...
36211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36212         ... here.
36213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36214         Moved ...
36215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36216         ... here.
36217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36218         Moved ...
36219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36221         Moved ...
36222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36223         ... here.
36224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36225         Moved ...
36226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36227         ... here.
36228         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36229         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36231         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36233         Moved ...
36234         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36235         ... here.
36236         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36237         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36239         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36241         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36242         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36243         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36244         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36245         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36246         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36247         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36249         Moved ...
36250         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36252         Moved ...
36253         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36255         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36257         Moved ...
36258         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36260         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36261         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36262         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36263         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36264         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36266 2014-06-10  Wilco  <wdijkstr@arm.com>
36268         * math/test-fenv-return.c: New file.
36269         * math/Makefile: Add new test test-fenv-return.
36271 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36273         [BZ #17042]
36274         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36275         when x - 1 is zero.
36276         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36277         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36278         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36279         0.0L for an argument of 1.0L.
36280         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36281         Likewise.
36282         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36283         value when x - 1 is zero.
36284         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36285         * sysdeps/i386/fpu/libm-test-ulps: Update.
36286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36288 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36290         [BZ #15119]
36291         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36293 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36295         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36296         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36298 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36300         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36301         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36303         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36304         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36306         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36307         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36309         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36310         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36312         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36313         if not already defined.
36314         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36315         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36316         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36317         (TLS_INIT_TP): Use it.
36318         (TLS_DEFINE_INIT_TP): New macro.
36319         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36321 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36323         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36324         constant.
36325         [POSIX] (IXANY): Likewise.
36326         [POSIX] (OLCUC): Likewise.
36327         [POSIX || POSIX2008] (CBAUD): Do not allow.
36328         [POSIX || POSIX2008] (DEFECHO): Likewise.
36329         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36330         [POSIX || POSIX2008] (ECHOKE): Likewise.
36331         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36332         [POSIX || POSIX2008] (EXTA): Likewise.
36333         [POSIX || POSIX2008] (EXTB): Likewise.
36334         [POSIX || POSIX2008] (FLUSHO): Likewise.
36335         [POSIX || POSIX2008] (LOBLK): Likewise.
36336         [POSIX || POSIX2008] (PENDIN): Likewise.
36337         [POSIX || POSIX2008] (SWTCH): Likewise.
36338         [POSIX || POSIX2008] (VDISCARD): Likewise.
36339         [POSIX || POSIX2008] (VDSUSP): Likewise.
36340         [POSIX || POSIX2008] (VLNEXT): Likewise.
36341         [POSIX || POSIX2008] (VREPRINT): Likewise.
36342         [POSIX || POSIX2008] (VSTATUS): Likewise.
36343         [POSIX || POSIX2008] (VWERASE): Likewise.
36344         (B*): Change to B[0123456789]*.
36345         * conform/data/time.h-data [POSIX || UNIX98]
36346         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36347         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36348         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36349         [POSIX] (tm_*): Do not allow.
36351 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36353         * Makefile (install): Don't set LANGUAGE.
36354         * Makefile.in (install): Likewise.
36355         * assert/Makefile (test-assert-ENV): Remove variable.
36356         (test-assert-perr-ENV): Likewise.
36357         * elf/Makefile (neededtest4-ENV): Likewise.
36358         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36359         [$(cross-compiling) = no]: Don't set LANGUAGE.
36360         * io/ftwtest-sh (LANG): Remove variable.
36361         * libio/Makefile (tst-widetext-ENV): Likewise.
36362         * manual/install.texi (Running make install): Don't refer to
36363         environment settings for make install.
36364         * INSTALL: Regenerated.
36365         * nptl/tst-tls6.sh: Don't set LANG.
36366         * posix/globtest.sh (LANG): Remove variable.
36367         * string/Makefile (tester-ENV): Likewise.
36368         (inl-tester-ENV): Likewise.
36369         (noinl-tester-ENV): Likewise.
36370         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36371         [$(cross-compiling) = no]: Don't set LANGUAGE.
36372         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36373         without explicit environment settings.
36375 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36377         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36378         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36379         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36380         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36382 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36384         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36385         other files in the crypt directory.
36386         * crypt/crypt.c: Remove duplicate includes.
36387         * crypt/crypt-entry.c: Likewise.
36388         * crypt/crypt_util.c: Likewise.
36390 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36392         * Makeconfig (run-program-env): New variable.
36393         (run-program-prefix-before-env): Likewise.
36394         (run-program-prefix-after-env): Likewise.
36395         (run-program-prefix): Define in terms of new variables.
36396         (built-program-cmd-before-env): New variable.
36397         (built-program-cmd-after-env): Likewise.
36398         (built-program-cmd): Define in terms of new variables.
36399         (test-program-prefix-before-env): New variable.
36400         (test-program-prefix-after-env): Likewise.
36401         (test-program-prefix): Define in terms of new variables.
36402         (test-program-cmd-before-env): New variable.
36403         (test-program-cmd-after-env): Likewise.
36404         (test-program-cmd): Define in terms of new variables.
36405         * Rules (make-test-out): Use $(run-program-env).
36406         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36407         (help): Do not mention environment variables.  Mention
36408         --timeoutfactor option.
36409         (timeoutfactor): New variable.
36410         (blacklist_exports): Remove function.
36411         (exports): Remove variable.
36412         (command): Do not include ${exports}.
36413         * manual/install.texi (Configuring and compiling): Do not mention
36414         test wrappers preserving environment variables.  Mention that last
36415         assignment to a variable must take precedence.
36416         * INSTALL: Regenerated.
36417         * benchtests/Makefile (run-bench): Use $(run-program-env).
36418         * catgets/Makefile ($(objpfx)test1.cat): Use
36419         $(built-program-cmd-before-env), $(run-program-env) and
36420         $(built-program-cmd-after-env).
36421         ($(objpfx)test2.cat): Do not specify environment variables
36422         explicitly.
36423         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36424         $(run-program-env) and $(built-program-cmd-after-env).
36425         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36426         $(run-program-env) and $(test-program-cmd-after-env).
36427         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36428         explicitly.
36429         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36430         run_program_env and test_program_cmd_after_env arguments.
36431         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36432         * elf/tst-pathopt.sh: Use run_program_env argument.
36433         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36434         $(test-wrapper-env) and $(run-program-env).
36435         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36436         run_program_env arguments.
36437         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36438         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36439         $(test-program-prefix-before-env), $(run-program-env) and
36440         $(test-program-prefix-after-env).
36441         ($(objpfx)tst-gettext2.out): Likewise.
36442         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36443         run_program_env and test_program_prefix_after_env arguments.
36444         * intl/tst-gettext2.sh: Likewise.
36445         * intl/tst-gettext4.sh: Do not set environment variables
36446         explicitly.
36447         * intl/tst-gettext6.sh: Likewise.
36448         * intl/tst-translit.sh: Likewise.
36449         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36450         $(test-program-prefix-before-env), $(run-program-env) and
36451         $(test-program-prefix-after-env).
36452         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36453         run_program_env and test_program_prefix_after_env arguments.
36454         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36455         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36456         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36457         explicitly with each use of ${test_wrapper_env}.
36458         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36459         $(test-program-prefix-before-env), $(run-program-env) and
36460         $(test-program-prefix-after-env).
36461         * posix/tst-getconf.sh: Do not set environment variables
36462         explicitly.
36463         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36464         run_program_env and test_program_prefix_after_env arguments.
36465         * stdio-common/tst-printf.sh: Do not set environment variables
36466         explicitly.
36467         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36468         $(test-program-prefix-before-env), $(run-program-env) and
36469         $(test-program-prefix-after-env).
36470         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36471         run_program_env and test_program_prefix_after_env arguments.
36472         Split $test calls into $test_pre and $test.
36473         * timezone/Makefile (build-testdata): Use
36474         $(built-program-cmd-before-env), $(run-program-env) and
36475         $(built-program-cmd-after-env).
36477 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36479         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36480         strlen for non SHARED builds.
36482 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36484         * nptl/allocatestack.c (check_list): Inlined function...
36485         (__reclaim_stacks): ... here.
36487 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36489         [BZ #15698]
36490         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36491         memory overrun.
36493 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36495         * Rules (make-test-out): Include
36496         LOCPATH=$(common-objpfx)localedata in default environment.
36497         * debug/Makefile (tst-chk1-ENV): Remove variable.
36498         (tst-chk2-ENV): Likewise.
36499         (tst-chk3-ENV): Likewise.
36500         (tst-chk4-ENV): Likewise.
36501         (tst-chk5-ENV): Likewise.
36502         (tst-chk6-ENV): Likewise.
36503         (tst-lfschk1-ENV): Likewise.
36504         (tst-lfschk2-ENV): Likewise.
36505         (tst-lfschk3-ENV): Likewise.
36506         (tst-lfschk4-ENV): Likewise.
36507         (tst-lfschk5-ENV): Likewise.
36508         (tst-lfschk6-ENV): Likewise.
36509         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36510         (tst-iconv7-ENV): Likewise.
36511         * intl/Makefile (LOCPATH-ENV): Likewise.
36512         (tst-codeset-ENV): Likewise.
36513         (tst-gettext3-ENV): Likewise.
36514         (tst-gettext5-ENV): Likewise.
36515         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36516         (tst-fopenloc-ENV): Likewise.
36517         (tst-fgetws-ENV): Remove variable.
36518         (tst-ungetwc1-ENV): Likewise.
36519         (tst-ungetwc2-ENV): Likewise.
36520         (bug-ungetwc2-ENV): Likewise.
36521         (tst-swscanf-ENV): Likewise.
36522         (bug-ftell-ENV): Likewise.
36523         (tst-fgetwc-ENV): Likewise.
36524         (tst-fseek-ENV): Likewise.
36525         (tst-ftell-partial-wide-ENV): Likewise.
36526         (tst-ftell-active-handler-ENV): Likewise.
36527         (tst-ftell-append-ENV): Likewise.
36528         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36529         (tst-regexloc-ENV): Likewise.
36530         (bug-regex1-ENV): Likewise.
36531         (tst-regex-ENV): Likewise.
36532         (tst-regex2-ENV): Likewise.
36533         (bug-regex5-ENV): Likewise.
36534         (bug-regex6-ENV): Likewise.
36535         (bug-regex17-ENV): Likewise.
36536         (bug-regex18-ENV): Likewise.
36537         (bug-regex19-ENV): Likewise.
36538         (bug-regex20-ENV): Likewise.
36539         (bug-regex22-ENV): Likewise.
36540         (bug-regex23-ENV): Likewise.
36541         (bug-regex25-ENV): Likewise.
36542         (bug-regex26-ENV): Likewise.
36543         (bug-regex30-ENV): Likewise.
36544         (bug-regex32-ENV): Likewise.
36545         (bug-regex33-ENV): Likewise.
36546         (bug-regex34-ENV): Likewise.
36547         (bug-regex35-ENV): Likewise.
36548         (tst-rxspencer-ENV): Likewise.
36549         (tst-rxspencer-no-utf8-ENV): Likewise.
36550         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36551         (tst-sscanf-ENV): Likewise.
36552         (tst-swprintf-ENV): Likewise.
36553         (tst-swscanf-ENV): Likewise.
36554         (test-vfprintf-ENV): Likewise.
36555         (scanf13-ENV): Likewise.
36556         (bug14-ENV): Likewise.
36557         (tst-grouping-ENV): Likewise.
36558         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36559         (tst-strtod3-ENV): Likewise.
36560         (tst-strtod4-ENV): Likewise.
36561         (tst-strtod5-ENV): Likewise.
36562         (testmb2-ENV): Likewise./
36563         * string/Makefile (tst-strxfrm-ENV): Likewise.
36564         (tst-strxfrm2-ENV): Likewise.
36565         (bug-strcoll1-ENV): Likewise.
36566         (test-strcasecmp-ENV): Likewise.
36567         (test-strncasecmp-ENV): Likewise.
36568         * time/Makefile (tst-strptime-ENV): Likewise.
36569         (tst-ftime_l-ENV): Likewise.
36570         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36571         (tst-mbrtowc-ENV): Likewise.
36572         (tst-wcrtomb-ENV): Likewise.
36573         (tst-mbrtowc2-ENV): Likewise.
36574         (tst-c16c32-1-ENV): Likewise.
36575         (tst-mbsnrtowcs-ENV): Likewise.
36577 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36579         * manual/resource.texi (How to get information about the memory
36580         subsystem?): Fix typo.
36581         Reported by Peon de la Parra Ivan <peon@keba.com>
36583 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36585         [BZ #16882]
36586         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36587         (pthread_spin_lock): Branch out of spin loop to proper location.
36588         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36589         (pthread_spin_lock): Likewise.
36591         * nptl/tst-spin4.c: New test.
36592         * nptl/Makefile (tests): Add tst-spin4.
36594 2014-06-03  Andreas Schwab  <schwab@suse.de>
36596         [BZ #15946]
36597         * resolv/res_send.c (send_dg): Reload file descriptor after
36598         calling reopen.
36600 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36602         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36604 2014-06-03  Richard Henderson  <rth@redhat.com>
36606         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36607         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36608         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36609         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36610         in the SAVE_PID block.
36611         (__libc_vfork): New alias.
36612         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36614         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36615         child in registers, not on the stack.  Remove RESET_PID conditionals.
36616         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36618 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36620         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36622 2014-06-03  Wilco  <wdijkstr@arm.com>
36624         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36625         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36626         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36627         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36628         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36629         Likewise.
36631 2014-06-03  Wilco  <wdijkstr@arm.com>
36633         * sysdeps/aarch64/fpu/math_private.h
36634         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36635         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36636         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36637         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36638         Fix declarations.
36640 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36642         * crypt/crypt-private.h: Include ufc-crypt.h.
36643         (__b64_from_24bit): Declare extern.
36644         * crypt/crypt_util.c(__b64_from_24bit): New function.
36645         (b64t): New static const variable.
36646         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36647         (b64t): Remove variable.
36648         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36649         * crypt/sha256-crypt.c: Include crypt-private.h.
36650         (b64t): Remove variable.
36651         (__sha256_crypt_r): Remove b64_from_24bit and replace
36652         with __b64_from_24bit.
36653         * crypt/sha512-crypt.c: Likewise.
36655 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36657         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36658         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36659         Label the code __libc_vfork rather than __vfork.
36660         [!NOT_IN_libc] (vfork): Define as weak alias.
36661         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36662         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36663         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36665 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36667         * malloc/malloc.c (malloc_info): Fix format specifier for
36668         n_mmaps.
36670 2014-06-02  Wilco  <wdijkstr@arm.com>
36672         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36673         FPCR write.
36675 2014-06-02  Wilco  <wdijkstr@arm.com>
36677         [BZ #17009]
36678         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36679         Rewrite to reduce FPCR/FPSR accesses.
36681 2014-06-01  David S. Miller  <davem@davemloft.net>
36683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36685 2014-05-31  David S. Miller  <davem@davemloft.net>
36687         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36688         to occur in round to nearest mode when |x| >= 2.0
36690 2014-05-30  Richard Henderson  <rth@twiddle.net>
36692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36693         (PSEUDO_RET_NOERRNO): Remove.
36694         (ret): Don't redefine.
36695         (ret_NOERRNO): Define in terms of ret.
36696         (ret_ERRVAL): Likewise.
36698         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36699         use of PSEUDO_RET; perform the error check directly.
36701 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36703         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36704         with __int128_t.
36706 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * malloc/malloc (malloc_info): Fix formatting.
36710 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36711             Roland McGrath  <roland@hack.frob.com>
36713         * malloc/malloc (malloc_info): Also print mmapped statistics.
36715 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36717         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36718         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36720 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36722         * malloc/malloc.c (malloc_info): Inline mi_arena.
36724 2014-05-29  Richard Henderson  <rth@twiddle.net>
36726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36727         Remove comma before expanding ASM_ARGS_##nr.
36728         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36729         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36730         of ASM_ARGS_##nr.
36731         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36732         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36733         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36734         (ASM_ARGS_1): Add leading comma.
36736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36737         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36738         to __errno_location.
36739         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36740         Remove the expected plt for __errno_location.
36742         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36743         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36744         call to __read_tp.
36746         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36747         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36748         it and break it down.
36749         (DOCARGS_0, DOCARGS_1): Do nothing.
36750         (DOCARGS_2): Update to store into the new stack frame.
36751         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36752         (UNDOCARGS_1): Update to restore from the new stack frame.
36753         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36754         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36756         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36757         (SINGLE_THREAD_P): New parameter for result regno.
36758         (PSEUDO): Update to match; use cbz instead of beq.
36760         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36761         Use ENTRY to define the _nocancel entry point.  Share the syscall
36762         and syscall error check paths with the cancel path.
36763         (PSEUDO_END): New.
36765         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36766         whitespace; tabs before and after asm mnemonics.
36768 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36770         [BZ #15132]
36771         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36772         Call fstat64 or stat64 internally, depending on arguments passed.
36773         Replace stat buffer argument with file descriptor argument.
36774         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36775         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36776         Pass fd to __internal_statvfs instead of calling fstat64.
36777         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36778         Pass fd to __internal_statvfs64 instead of calling fstat64.
36779         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36780         Pass -1 to __internal_statvfs instead of calling stat64.
36781         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36782         Pass -1 to __internal_statvfs64 instead of calling stat64.
36784 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36786         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36787         that was previously under [RESET_PID].
36788         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36790         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36791         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36793 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36795         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36797         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36798         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36800 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36802         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36804 2014-05-27  Andreas Schwab  <schwab@suse.de>
36806         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36807         TLS_INIT_TP macro.
36808         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36809         * elf/rtld.c (init_tls, dl_main): Likewise.
36810         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36811         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36812         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36813         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36814         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36815         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36816         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36817         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36818         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36819         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36820         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36821         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36822         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36823         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36824         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36825         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36826         * sysdeps/generic/tls.h: Update description.
36828 2014-05-27  Will Newton  <will.newton@linaro.org>
36830         [BZ #16990]
36831         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36832         and restore r2 rather than just restoring.
36834 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36836         [BZ #16724]
36837         * libio/tst-ftell-append.c: New test case.
36838         * libio/Makefile (tests): Add test case.
36839         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36840         append mode.
36841         * libio/wfileops.c (do_ftell_wide): Likewise.
36843 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36847         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36848         ...
36849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36851         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36852         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36853         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36854         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36855         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36858         Moved ...
36859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36861         Moved ...
36862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36863         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36864         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36865         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36866         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36867         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36868         ...
36869         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36870         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36871         Moved ...
36872         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36873         here.
36874         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36875         ...
36876         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36878         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36880         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36881         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36882         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36883         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36886         merge into ...
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36889         ...
36890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36892         ...
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36895         Moved ...
36896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36897         here.
36898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36899         Moved ...
36900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36902         Moved ...
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36906         conditional [RESET_PID].
36907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36909         removed.
36910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36911         removed.
36913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36914         <tcb-offsets.h>.
36915         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36916         (__libc_vfork): New strong alias.
36917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36918         removed.
36919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36920         Removed.
36922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36923         <tcb-offsets.h>.
36924         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36925         (__libc_vfork): New strong alias.
36926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36927         removed.
36928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36929         removed.
36931 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36933         * malloc/malloc.c (mi_arena): New function.
36934         (malloc_info): Remove nested function mi_arena. Call non-nosted
36935         function mi_arena.
36937 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36939         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36940         by insrwi.
36941         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36942         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36943         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36944         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36945         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36946         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36949 2014-05-26  Andreas Schwab  <schwab@suse.de>
36951         [BZ #16984]
36952         * locale/programs/repertoire.c (repertoire_read): Add slash
36953         between I18NPATH element and file name.
36954         * locale/programs/locfile.c (locfile_read): Likewise.
36956 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36958         * nptl/pthread_mutexattr_settype.c
36959         (__pthread_mutexattr_settype):
36960         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36962 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36964         * nptl/tst-mutex5 (do_test):
36965         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36967 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36969         * benchtests/README: Document 'init' directive.
36970         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36971         BENCH_INIT.
36972         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36973         (parse_file): Recognize 'init' directive.
36975 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36977         [BZ #16796]
36978         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36979         alignment of struct pthread.
36981 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36983         [BZ #16878]
36984         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36985         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36986         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36987         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36989 2014-05-25  Richard Henderson  <rth@twiddle.net>
36991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36992         (SINGLE_THREAD_P_PIC): Remove.
36993         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36994         (SINGLE_THREAD_P_PIC): Remove.
36996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36997         branch to syscall error ...
36998         (PSEUDO): ... here.
36999         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37000         from __local_syscall_error to .Lsyscall_error.
37001         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37002         (SYSCALL_ERROR): Update label name.
37004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37005         Do not use DOARGS/UNDOARGS.
37006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37007         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37008         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37009         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37010         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37013         block comment.
37015         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37016         define if !NOT_IN_libc.
37017         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37018         define with non-default symbol versions.
37020 2014-05-23  Richard Henderson  <rth@twiddle.net>
37022         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37023         (vfork, __vfork): Define via compat_symbol.
37025         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37026         [!HAVE_IFUNC] (vfork_compat): Remove.
37027         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37029 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37031         [BZ #16978]
37032         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37033         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37034         variable.
37036 2014-05-23  Richard Henderson  <rth@twiddle.net>
37038         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37039         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37040         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37041         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37043         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37044         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37045         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37046         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37047         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37048         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37049         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37050         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37051         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37052         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37053         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37054         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37055         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37056         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37057         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37058         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37059         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37060         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37061         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37062         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37063         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37064         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37065         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37066         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37067         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37068         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37069         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37070         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37071         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37072         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37073         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37074         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37075         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37076         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37077         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37078         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37079         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37080         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37081         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37082         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37083         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37084         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37085         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37086         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37087         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37088         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37090         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37091         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37092         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37093         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37094         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37095         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37096         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37097         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37098         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37100         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37101         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37102         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37103         before exiting on error.
37104         (__libc_vfork): New strong alias.
37105         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37106         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37108         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37109         that was previously under [RESET_PID].
37110         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37112         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37114 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37116         [BZ #16977]
37117         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37118         value when x - 1 is zero.
37119         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37120         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37121         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37122         0.0L for an argument of 1.0L.
37123         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37124         Likewise.
37125         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37126         value when x - 1 is zero.
37127         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37128         * sysdeps/i386/fpu/libm-test-ulps: Update.
37129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37131 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37133         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37134         alphasort and versionsort.
37136 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37138         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37139         macro.
37140         [copysignf]: Likewise.
37142 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37144         * crypt/md5-crypt.c: Fix formatting.
37146 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37148         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37149         (b64_from_24bit): New function.
37151 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37153         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37154         libc_hidden_builtin_def to ifunc.
37155         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37156         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37158 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37160         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37161         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37163 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37165         * nscd/Depend (linuxthreads): Remove.
37166         (nptl): Add.
37167         * resolv/Depend (linuxthreads): Remove.
37168         * rt/Depend (linuxthreads): Remove.
37170         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37171         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37172         $(common-objpfx)elf/.
37173         (link-libc-before-gnulib): Likewise.
37174         (elfobjdir): Remove variable.
37175         * Makefile (install): Use $(elf-objpfx) instead of
37176         $(common-objpfx)elf/.
37177         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37178         $(elfobjdir)/.
37179         (link-libc-deps): Likewise.
37180         ($(common-objpfx)libc.so): Likewise.
37181         ($(common-objpfx)linkobj/libc.so): Likewise.
37182         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37183         instead of $(common-objpfx)elf/.
37184         (symbolic-link-list): Likewise.
37185         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37186         [$(cross-compiling) = no]: Likewise.
37187         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37188         $(elfobjdir)/.
37189         (static-gnulib-arch): Likewise.
37190         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37191         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37192         $(common-objpfx)elf/.
37194 2014-05-21  Richard Henderson  <rth@redhat.com>
37196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37197         (SINGLE_THREAD_P): Use the correct width load.  Fold
37198         into the ldr offset.
37200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37201         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37203 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37205         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37206         (libgcc_s_resume): Use __attribute_used__.
37207         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37208         Likewise.
37210 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37212         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37213         optimization when used with float constants.
37215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37217 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37219         [BZ #16915]
37220         * locale/nl_langinfo_l.c: Make direct reference to every
37221         _nl_current_CATEGORY symbol.
37222         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37223         (tests-static): Add tst-langinfo-static.
37224         (tests-special): Add tst-langinfo-static.out.
37225         ($(objpfx)tst-langinfo.out): Redirect output.
37226         ($(objpfx)tst-langinfo-static.out): New.
37227         * localedata/tst-langinfo.sh: Send output to stdout.
37228         * localedata/tst-langinfo-static.c: New file.
37230         [BZ #16965]
37231         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37232         when the shift amount is modulo the limb size.
37234 2014-05-20  Richard Henderson  <rth@redhat.com>
37236         [BZ #16967]
37237         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37238         Change type of sa_flags from unsigned int to int.
37240         [BZ #16966]
37241         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37243         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37245 2014-05-20  Will Newton  <will.newton@linaro.org>
37247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37248         Test the return value of the system call in the nocancel case.
37250 2014-05-20  Will Newton  <will.newton@linaro.org>
37251             Yvan Roux  <yvan.roux@linaro.org>
37253         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37254         #include of asm/ptrace.h.
37255         (PTRACE_GET_THREAD_AREA): Remove #undef.
37256         (PTRACE_GETHBPREGS): Likewise.
37257         (PTRACE_SETHBPREGS): Likewise.
37258         (struct user_regs_struct): New structure.
37259         (struct user_fpsimd_struct): New structure.
37260         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37261         #include of asm/ptrace.h and second #include of sys/user.h.
37262         (PTRACE_GET_THREAD_AREA): Remove #undef.
37263         (PTRACE_GETHBPREGS): Likewise.
37264         (PTRACE_SETHBPREGS): Likewise.
37265         (ELF_NGREG): Use new struct user_regs_struct.
37266         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37268 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37273 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37275         [BZ #16958]
37276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37277         membar to avoid block loads/stores to overlap previous stores.
37279 2014-05-17  Richard Henderson  <rth@redhat.com>
37281         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37282         Create the __##syscall_name##_nocancel entry point.
37283         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37284         Remove; let the sysdep-cancel.h code create it.
37286 2014-05-17  David S. Miller  <davem@davemloft.net>
37288         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37289         Protect with __USE_GNU.
37290         (TIOCSET_TEMPT): Likewise.
37291         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37292         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37293         these are already provided in bits/ioctl-types.h
37295 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37297         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37298         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37300         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37301         Use wait4 regardless of [__NR_waitpid].
37303 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37305         PR libgcc/60166
37306         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37307         (_FP_NANSIGN_Q): Set the quiet bit.
37309 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37311         * benchtests/Makefile
37312         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37313         not $(common-objpfx)math/libm.so.
37314         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37315         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37316         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37317         $(common-objpfx)dlfcn/libdl.so.
37318         ($(objpfx)tst-audit8): Depend on $(libm), not
37319         $(common-objpfx)math/libm.so.
37320         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37321         not $(common-objpfx)dlfcn/libdl.so.
37322         * math/Makefile
37323         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37324         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37325         [$(build-shared) = yes].
37326         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37327         $(common-objpfx)nptl/libpthread.so.
37328         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37329         $(common-objpfx)math/libm.so$(libm.so-version) or
37330         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37331         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37332         $(common-objpfx)dlfcn/libdl.so.
37333         * setjmp/Makefile (link-libm): Remove variable.
37334         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37335         * stdio-common/Makefile (link-libm): Remove variable.
37336         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37337         * stdlib/Makefile (link-libm): Remove variable.
37338         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37339         ($(objpfx)tst-strtod-round): Likewise.
37340         ($(objpfx)tst-tininess): Likewise.
37341         ($(objpfx)tst-strtod-underflow): Likewise.
37342         ($(objpfx)tst-strtod6): Likewise.
37343         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37344         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37345         $(common-objpfx)dlfcn/libdl.so.
37347 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37349         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37350         BSD terminal modes definitions.
37352 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37354         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37355         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37357         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37358         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37359         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37360         Don't do #include_next.
37361         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37362         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37363         Don't do #include_next.
37364         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37365         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37366         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37367         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37369 2014-05-16  Allan McRae  <allan@archlinux.org>
37371         * po/sv.po: Update Swedish translation from translation project.
37373         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37374         in sed expression.
37376 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37378         [BZ #16917]
37379         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37380         errno if the TIOCGPTN ioctl fails with an error different than
37381         EINVAL.
37382         * login/tst-ptsname.c: New file.
37383         * login/Makefile (tests): Add tst-ptsname.
37385         [BZ #16943]
37386         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37387         and prlimit64.
37389 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37391         [BZ #16849]
37392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37393         herrno to return EAI_AGAIN.
37395 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37397         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37398         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37399         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37400         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37401         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37402         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37404         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37406         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37407         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37408         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37409         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37410         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37411         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37412         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37413         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37414         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37415         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37416         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37417         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37418         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37419         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37420         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37421         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37422         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37423         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37424         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37425         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37426         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37428         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37430         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37432         Moved ...
37433         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37435         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37437         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37439         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37441         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37443         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37445         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37447         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37449         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37451         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37453         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37455         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37457         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37459         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37461         Moved ...
37462         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37464         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37466         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37468         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37470         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37472         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37474         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37476         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37478         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37480         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37482         Moved ...
37483         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37485         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37487         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37488         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37489         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37490         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37491         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37492         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37493         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37494         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37495         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37496         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37497         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37498         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37499         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37500         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37501         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37502         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37503         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37504         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37505         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37506         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37507         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37508         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37509         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37510         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37511         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37512         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37513         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37514         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37515         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37517         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37519         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37520         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37522         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37523         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37524         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37525         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37526         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37528         Moved ...
37529         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37531         Moved ...
37532         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37534         Moved ...
37535         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37537         Moved ...
37538         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37539         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37540         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37542         Moved ...
37543         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37544         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37545         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37546         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37548         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37549         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37550         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37551         Moved ...
37552         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37554         Moved ...
37555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37556         ... here.
37557         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37558         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37559         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37560         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37562         Moved ...
37563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37564         ... here.
37565         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37566         Moved ...
37567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37568         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37569         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37570         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37571         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37573         Moved ...
37574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37576         Moved ...
37577         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37578         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37579         Moved ...
37580         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37582         Moved ...
37583         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37584         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37585         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37587         Moved ...
37588         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37589         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37590         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37591         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37592         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37593         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37594         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37595         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37596         Moved ...
37597         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37599         Moved ...
37600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37601         ... here.
37602         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37603         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37604         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37605         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37606         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37607         Moved ...
37608         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37609         ... here.
37610         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37611         Moved ...
37612         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37614         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37615         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37616         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37617         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37618         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37619         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37620         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37622         Moved ...
37623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37625         Moved ...
37626         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37627         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37628         Moved ...
37629         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37630         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37631         Moved ...
37632         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37633         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37634         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37635         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37636         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37638         Moved ...
37639         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37640         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37641         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37642         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37643         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37644         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37645         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37646         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37647         Moved ...
37648         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37650         Moved ...
37651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37652         ... here.
37653         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37654         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37655         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37656         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37657         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37658         Moved ...
37659         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37660         ... here.
37661         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37662         Moved ...
37663         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37664         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37665         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37666         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37667         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37668         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37669         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37670         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37671         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37672         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37673         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37675         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37676         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37678         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37679         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37681         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37682         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37683         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37684         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37685         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37686         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37687         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37688         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37689         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37690         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37691         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37692         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37693         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37694         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37695         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37697         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37699         Moved ...
37700         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37704         Moved ...
37705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37709         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37711         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37712         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37713         Moved ...
37714         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37716         Moved ...
37717         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37719         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37722         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37723         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37724         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37725         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37726         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37727         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37728         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37729         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37730         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37731         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37732         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37733         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37735         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37736         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37737         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37738         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37739         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37741         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37742         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37743         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37744         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37745         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37746         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37747         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37748         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37749         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37750         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37753         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37755         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37756         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37757         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37758         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37759         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37760         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37761         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37762         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37763         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37764         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37765         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37766         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37767         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37768         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37770         Update #include.
37771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37772         Likewise.
37773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37774         Likewise.
37775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37776         Likewise.
37777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37778         Likewise.
37779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37780         Likewise.
37781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37782         Likewise.
37783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37784         Likewise.
37785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37786         Likewise.
37787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37788         Likewise.
37789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37805         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37806         that was previously under [RESET_PID].
37807         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37808         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37809         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37811         * sysdeps/i386/nptl/Implies: New file.
37812         * sysdeps/x86_64/nptl/Implies: New file.
37813         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37814         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37815         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37816         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37818         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37819         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37820         (__libc_vfork): New strong alias.
37821         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37822         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37824         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37825         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37826         (__libc_vfork): New strong alias.
37827         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37828         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37830         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37831         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37832         (__libc_vfork): New strong alias.
37833         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37834         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37835         * nptl/pt-vfork.c: New file.
37836         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37837         (libpthread: GLIBC_2.20): New version set (empty).
37839 2014-05-14  Will Newton  <will.newton@linaro.org>
37841         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37842         rather than #if.
37844 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37846         [BZ #16564]
37847         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37848         arguments with exponent 65 or above.
37849         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37850         arguments 0x1p113L or above.
37851         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37852         to arguments 0x1p107L or above.
37853         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37854         positive arguments with exponent 65 or above.
37855         * math/auto-libm-test-in: Add more tests of log1p.
37856         * math/auto-libm-test-out: Regenerated.
37858         [BZ #16928]
37859         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37860         non-finite arguments is +0.
37861         * math/s_cacosf.c (__cacosf): Likewise.
37862         * math/s_cacosl.c (__cacosl): Likewise.
37863         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37864         * sysdeps/i386/fpu/libm-test-ulps: Update.
37865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37867         [BZ #16927]
37868         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37869         value.
37870         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37871         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37872         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37873         for explicit high bit of mantissa when testing for argument equal
37874         to 1.
37875         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37876         * sysdeps/i386/fpu/libm-test-ulps: Update.
37877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37879         [BZ #16516]
37880         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37881         (__erf): Scale by 16 instead of 8 in potentially underflowing
37882         case.  Ensure exception if result actually underflows.
37883         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37884         (__erff): Scale by 16 instead of 8 in potentially underflowing
37885         case.  Ensure exception if result actually underflows.
37886         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37887         (efx8): Remove variable.
37888         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37889         case.  Ensure exception if result actually underflows.
37890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37891         (efx8): Remove variable.
37892         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37893         case.  Ensure exception if result actually underflows.
37894         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37895         (efx8): Remove variable.
37896         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37897         case.  Ensure exception if result actually underflows.
37898         * math/auto-libm-test-in: Add more tests of erf.
37899         * math/auto-libm-test-out: Regenerated.
37901 2014-05-14  Andreas Schwab  <schwab@suse.de>
37903         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37904         Remove code conditionalized on USE___THREAD.
37906         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37907         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37908         not definedness.
37910 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37913         Define unconditionally.
37914         (__ASSUME_O_CLOEXEC): Likewise.
37915         (__ASSUME_SOCK_CLOEXEC): Likewise.
37916         (__ASSUME_IN_NONBLOCK): Likewise.
37917         (__ASSUME_PIPE2): Likewise.
37918         (__ASSUME_EVENTFD2): Likewise.
37919         (__ASSUME_SIGNALFD4): Likewise.
37920         (__ASSUME_DUP3): Likewise.
37921         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37922         (__ASSUME_DUP3): Do not define.
37923         (__ASSUME_EVENTFD2): Likewise.
37924         (__ASSUME_IN_NONBLOCK): Likewise.
37925         (__ASSUME_O_CLOEXEC): Likewise.
37926         (__ASSUME_PIPE2): Likewise.
37927         (__ASSUME_SIGNALFD4): Likewise.
37928         (__ASSUME_SOCK_CLOEXEC): Likewise.
37929         (__ASSUME_UTIMES): Undefine.
37930         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37931         (__ASSUME_UTIMES): Do not define.
37932         (__ASSUME_O_CLOEXEC): Likewise.
37933         (__ASSUME_SOCK_CLOEXEC): Likewise.
37934         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37935         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37936         0x020621].
37937         (__ASSUME_PIPE2): Likewise.
37938         (__ASSUME_EVENTFD2): Likewise.
37939         (__ASSUME_SIGNALFD4): Likewise.
37940         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37941         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37942         Do not define.
37943         (__ASSUME_EVENTFD2): Likewise.
37944         (__ASSUME_SIGNALFD4): Likewise.
37945         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37946         (__ASSUME_32BITUIDS): Likewise.
37947         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37948         (__ASSUME_IPC64): Likewise.
37949         (__ASSUME_ST_INO_64_BIT): Likewise.
37950         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37951         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37952         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37953         (__ASSUME_UTIMES): Do not define.
37954         (__ASSUME_PSELECT): Likewise.
37955         (__ASSUME_PPOLL): Likewise.
37956         (__ASSUME_O_CLOEXEC): Likewise.
37957         (__ASSUME_SOCK_CLOEXEC): Likewise.
37958         (__ASSUME_IN_NONBLOCK): Likewise.
37959         (__ASSUME_PIPE2): Likewise.
37960         (__ASSUME_EVENTFD2): Likewise.
37961         (__ASSUME_SIGNALFD4): Likewise.
37962         (__ASSUME_DUP3): Likewise.
37963         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37964         (__ASSUME_UTIMES): Likewise.
37965         (__ASSUME_O_CLOEXEC): Likewise.
37966         (__ASSUME_SOCK_CLOEXEC): Likewise.
37967         (__ASSUME_IN_NONBLOCK): Likewise.
37968         (__ASSUME_PIPE2): Likewise.
37969         (__ASSUME_EVENTFD2): Likewise.
37970         (__ASSUME_SIGNALFD4): Likewise.
37971         (__ASSUME_DUP3): Likewise.
37972         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37973         (__ASSUME_UTIMES): Likewise.
37974         (__ASSUME_O_CLOEXEC): Likewise.
37975         (__ASSUME_SOCK_CLOEXEC): Likewise.
37976         (__ASSUME_IN_NONBLOCK): Likewise.
37977         (__ASSUME_PIPE2): Likewise.
37978         (__ASSUME_EVENTFD2): Likewise.
37979         (__ASSUME_SIGNALFD4): Likewise.
37980         (__ASSUME_DUP3): Likewise.
37981         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37982         Likewise.
37983         (__ASSUME_UTIMES): Likewise.
37984         (__ASSUME_EVENTFD2): Likewise.
37985         (__ASSUME_SIGNALFD4): Likewise.
37986         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37987         (__ASSUME_O_CLOEXEC): Likewise.
37988         (__ASSUME_SOCK_CLOEXEC): Likewise.
37989         (__ASSUME_IN_NONBLOCK): Likewise.
37990         (__ASSUME_PIPE2): Likewise.
37991         (__ASSUME_EVENTFD2): Likewise.
37992         (__ASSUME_SIGNALFD4): Likewise.
37993         (__ASSUME_DUP3): Likewise.
37994         (__ASSUME_UTIMES): Undefine.
37996         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37997         feclearexcept.  Remove symbol versioning code.
37998         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37999         symbol versioning code.
38000         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38001         symbol versioning code.
38002         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38003         feupdateenv.  Remove symbol versioning code.
38004         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38005         fegetexceptflag.  Remove symbol versioning code.
38006         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38007         fesetexceptflag.  Remove symbol versioning code.
38008         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38009         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38010         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38011         (__posix_fadvise64_l32): Remove prototype.
38012         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38013         code.
38015 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38017         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38018         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38019         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38020         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38022 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38024         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38025         current working directory
38027 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38029         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38030         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38031         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38032         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38033         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38034         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38035         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38036         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38037         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38038         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38039         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38040         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38041         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38042         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38043         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38044         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38045         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38046         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38047         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38048         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38049         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38050         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38051         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38052         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38053         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38054         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38055         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38056         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38057         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38058         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38059         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38060         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38061         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38062         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38063         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38064         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38065         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38066         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38067         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38068         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38069         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38070         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38072         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38073         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38075         * sysdeps/unix/sysv/linux/arm/Makefile
38076         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38077         Add rt-aeabi_unwind_cpp_pr1.
38078         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38079         Add nptl-aeabi_unwind_cpp_pr1.
38080         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38081         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38082         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38083         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38084         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38085         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38087         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38088         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38089         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38090         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38092         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38093         Deconditionalize the code that was previously under [RESET_PID].
38094         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38096         * sysdeps/generic/exit-thread.h: New file.
38097         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38098         * include/unistd.h (__exit_thread): Remove declaration.
38099         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38100         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38101         * csu/libc-start.c: Include <exit-thread.h>.
38102         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38103         * nptl/pthread_create.c: Include <exit-thread.h>.
38104         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38105         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38106         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38107         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38108         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38109         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38110         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38111         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38112         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38113         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38114         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38115         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38116         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38117         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38118         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38119         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38120         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38122 2014-05-13  Andreas Schwab  <schwab@suse.de>
38124         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38126 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38128         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38129         (__ASSUME_UTIMES): Do not condition on kernel version.
38130         (__ASSUME_PSELECT): Define unconditionally.
38131         (__ASSUME_PPOLL): Likewise.
38132         (__ASSUME_ATFCTS): Likewise.
38133         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38134         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38135         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38136         (__ASSUME_UTIMENSAT): Define unconditionally.
38137         (__ASSUME_PRIVATE_FUTEX): Likewise.
38138         (__ASSUME_FALLOCATE): Likewise.
38139         (__ASSUME_O_CLOEXEC): Likewise.
38140         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38141         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38142         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38143         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38144         (__ASSUME_IN_NONBLOCK): Likewise.
38145         (__ASSUME_PIPE2): Likewise.
38146         (__ASSUME_EVENTFD2): Likewise.
38147         (__ASSUME_SIGNALFD4): Likewise.
38148         (__ASSUME_DUP3): Likewise.
38149         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38150         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38151         (__ASSUME_AT_RANDOM): Likewise.
38152         (__ASSUME_PREADV): Likewise.
38153         (__ASSUME_PWRITEV): Likewise.
38154         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38155         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38156         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38157         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38158         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38159         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38160         (__ASSUME_O_CLOEXEC): Define unconditionally.
38161         (__ASSUME_PSELECT): Do not undefine conditionally.
38162         (__ASSUME_PPOLL): Likewise.
38163         (__ASSUME_ATFCTS): Likewise.
38164         (__ASSUME_SET_ROBUST_LIST): Likewise.
38165         (__ASSUME_UTIMENSAT): Likewise.
38166         (__ASSUME_FDATASYNC): Define unconditionally.
38167         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38168         (__ASSUME_SIGFRAME_V2): Likewise.
38169         )__ASSUME_EVENTFD2): Likewise.
38170         (__ASSUME_SIGNALFD4): Likewise.
38171         (__ASSUME_PSELECT): Do not undefine conditionally.
38172         (__ASSUME_PPOLL): Likewise.
38173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38174         (__ASSUME_PSELECT): Define unconditionally.
38175         (__ASSUME_PPOLL): Likewise.
38176         (__ASSUME_O_CLOEXEC): Likewise.
38177         (__ASSUME_SOCK_CLOEXEC): Likewise.
38178         (__ASSUME_IN_NONBLOCK): Likewise.
38179         (__ASSUME_PIPE2): Likewise.
38180         (__ASSUME_EVENTFD2): Likewise.
38181         (__ASSUME_SIGNALFD4): Likewise.
38182         (__ASSUME_DUP3): Likewise.
38183         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38184         (__ASSUME_O_CLOEXEC): Likewise.
38185         (__ASSUME_SOCK_CLOEXEC): Likewise.
38186         (__ASSUME_IN_NONBLOCK): Likewise.
38187         (__ASSUME_PIPE2): Likewise.
38188         (__ASSUME_EVENTFD2): Likewise.
38189         (__ASSUME_SIGNALFD4): Likewise.
38190         (__ASSUME_DUP3): Likewise.
38191         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38192         (__ASSUME_EVENTFD2): Likewise.
38193         (__ASSUME_SIGNALFD4): Likewise.
38194         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38196 2014-05-12  Andreas Schwab  <schwab@suse.de>
38198         [BZ #16932]
38199         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38200         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38201         than maximum RPC packet size.
38202         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38203         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38204         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38205         (_nss_nis_getservbyport_r): Likewise.
38207 2014-05-12  Will Newton  <will.newton@linaro.org>
38209         * malloc/Makefile (tests): Add tst-mallopt.
38210         * malloc/tst-mallopt.c: New file.
38212 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38214         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38215         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38217 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38219         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38220         (tst-tlsmod6.so): Likewise.
38222 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38224         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38226 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38228         [BZ #16064]
38229         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38230         and <dl-procinfo.h>.
38231         (__fegetenv): Save SSE state in envp->__eip if supported.
38232         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38233         envp->__eip if supported.
38234         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38235         and <dl-procinfo.h>.
38236         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38237         __data_offset and __data_selector in environment to 0.  Set SSE
38238         state if supported.
38239         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38240         test-fenv-sse.
38241         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38242         -mfpmath=sse.
38243         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38245 2014-05-09  Will Newton  <will.newton@linaro.org>
38247         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38248         and libc_relro_required for ARM.
38249         * sysdeps/arm/preconfigure: Regenerate.
38251 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38252             Stefan Liebler  <stli@linux.vnet.ibm.com>
38254         * config.make.in (enable-lock-elision): New Makefile variable.
38255         * configure.ac: Likewise.
38256         * configure: Regenerate.
38257         * sysdeps/s390/configure.ac:
38258         Add check for gcc transactions support.
38259         * sysdeps/s390/configure: Regenerate.
38260         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38261         Build elision files if enabled.
38262         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38263         Add lock elision support for s390.
38264         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38265         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38266         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38267         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38268         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38269         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38270         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38271         Likewise.
38272         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38273         Likewise.
38274         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38275         Likewise.
38276         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38277         Likewise.
38278         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38279         (__lll_timedlock_elision, __lll_lock_elision)
38280         (__lll_unlock_elision, __lll_trylock_elision)
38281         (lll_timedlock_elision, lll_lock_elision)
38282         (lll_unlock_elision, lll_trylock_elision): Add.
38283         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38284         (pthread_mutex_t): Add lock elision support for s390.
38286 2014-05-14  Wilco  <wdijkstr@arm.com>
38288         * sysdeps/arm/fclrexcpt.c: Cleanup.
38289         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38290         * sysdeps/arm/feenablxcpt.c: Cleanup.
38291         * sysdeps/arm/fegetenv.c: Cleanup.
38292         * sysdeps/arm/fegetexcept.c: Cleanup.
38293         * sysdeps/arm/fegetround.c: Cleanup.
38294         * sysdeps/arm/feholdexcpt.c: Cleanup.
38295         * sysdeps/arm/fesetenv.c: Cleanup.
38296         * sysdeps/arm/fesetround.c: Cleanup.
38297         * sysdeps/arm/feupdateenv.c: Cleanup.
38298         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38299         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38300         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38301         * sysdeps/arm/ftestexcept.c: Cleanup.
38302         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38303         * sysdeps/arm/setfpucw.c: Cleanup.
38305 2014-05-09  Will Newton  <will.newton@linaro.org>
38307         * sysdeps/arm/armv7/strcmp.S: New file.
38308         * NEWS: Mention addition of ARMv7 optimized strcmp.
38310 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38312         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38313         look for %.ac rather than %.in.
38315         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38316         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38317         * sysdeps/mach/hurd/configure: Regenerated.
38318         * sysdeps/unix/sysv/linux/configure: Regenerated.
38320         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38322 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38324         [BZ# 16922]
38325         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38326         (LONG_SUB): Ditto.
38327         (PTR_SUB): Ditto.
38329 2014-05-07  Andreas Schwab  <schwab@suse.de>
38331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38332         when skipping over non-matching result from nscd.
38334 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38336         [BZ #16876]
38337         * nptl/sockperf.c (client): Check socket return value.
38339         [BZ #16877]
38340         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38341         nscd security class.
38343 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38345         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38346         * sysdeps/arm/unwind.h: ... here.
38348 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38350         [BZ# 16916]
38351         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38352         Define.
38354 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38356         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38357         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38358         multiarch strncpy for PPC64.
38359         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38360         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38362         multiarch optimizations.
38363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38364         (__libc_ifunc_impl_list): Likewise.
38365         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38367         multiarch stpncpy for PPC64.
38368         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38371 2014-05-06  Andreas Schwab  <schwab@suse.de>
38373         [BZ #16912]
38374         * gmon/mcount.c (_MCOUNT_DECL): Use
38375         atomic_compare_and_exchange_bool_acq instead of
38376         catomic_compare_and_exchange_bool_acq.
38378 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38380         * elf/Makefile (others, install-bin): Remove pldd.
38381         (pldd-modules): Variable removed.
38382         ($(objpfx)pldd): Target removed.
38383         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38384         (others, install-bin): Append pldd here.
38385         ($(objpfx)pldd): New target.
38387         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38388         to 0, so the first #if test emitted later doesn't see it undefined.
38389         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38390         * sysdeps/gnu/errlist.c: Regenerated.
38392 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38394         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38395         [libc_hidden_builtin_def]: Define to empty value.
38396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38397         [libc_hidden_builtin_def]: Likewise.
38398         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38399         [libc_hidden_builtin_def]: Likewise.
38400         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38401         [libc_hidden_builtin_def]: Likewise.
38402         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38403         __redirect_memcpy and define ifunc as default hidden symbol.
38404         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38405         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38407 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38409         * locale/iso-4217.def: Reintroduce XDR currency.
38411 2014-05-04  Allan McRae  <allan@archlinux.org>
38413         * po/eo.po: Update Esperanto translation from translation project.
38415 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38417         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38418         and FEATURE_INDEX_MAX to 1.
38419         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38421 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38423         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38424         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38425         * iconvdata/big5.c (ONE_DIRECTION): Define.
38426         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38427         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38428         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38429         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38430         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38431         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38432         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38433         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38434         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38435         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38436         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38437         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38438         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38439         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38440         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38441         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38442         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38443         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38444         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38445         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38446         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38447         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38448         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38449         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38450         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38451         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38452         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38453         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38454         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38455         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38456         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38457         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38458         * iconvdata/johab.c (ONE_DIRECTION): Define.
38459         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38460         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38461         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38462         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38463         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38464         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38465         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38466         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38467         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38468         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38470 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38472         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38473         (_IO_JUMPS_OFFSET): Define to 0.
38475         * nptl/sysdeps/pthread/bits/libc-lock.h
38476         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38477         (__libc_lock_define_initialized_recursive): Always define using
38478         initializer.  Modern compilers treat uninitialized (implicit zero) and
38479         explicit zero initializers the same (i.e. put the datum in bss).
38481 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38483         * nscd/nscd-client.h: Include <string.h>.
38485 2014-05-01  David S. Miller  <davem@davemloft.net>
38487         [BZ #16885]
38488         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38489         multiple zero bytes exist at the end of a string.
38490         Reported by Aurelien Jarno <aurelien@aurel32.net>
38492         * string/test-strcmp.c (check): Add explicit test for situations where
38493         there are multiple zero bytes after the first.
38495 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38497         [BZ #16890]
38498         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38499         when compiling wprintf.
38500         * stdio-common/tstdiomisc.c (t3): New function.
38501         (main): Call it.
38503 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38505         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38506         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38507         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38508         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38510 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38512         * stdlib/longlong.h: Updated from GCC.
38514 2014-05-01  Will Newton  <will.newton@linaro.org>
38515             Bernard Ogden  <bernie.ogden@linaro.org>
38517         * NEWS: Update fixed bug list.
38519         [BZ #15119]
38520         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38522 2014-04-30  David S. Miller  <davem@davemloft.net>
38524         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38525         (libc_feholdexcept_setround_sparc_ctx): New function.
38526         (libc_fesetenv_sparc_ctx): Likewise.
38527         (libc_feupdateenv_sparc_ctx): Likewise.
38528         (libc_feholdsetround_sparc_ctx): Likewise.
38529         (libc_feholdexcept_setround_ctx): Define.
38530         (libc_feholdexcept_setroundf_ctx): Likewise.
38531         (libc_feholdexcept_setroundl_ctx): Likewise.
38532         (libc_fesetenv_ctx): Likewise.
38533         (libc_fesetenvf_ctx): Likewise.
38534         (libc_fesetenvl_ctx): Likewise.
38535         (libc_feupdateenv_ctx): Likewise.
38536         (libc_feupdateenvf_ctx): Likewise.
38537         (libc_feupdateenvl_ctx): Likewise.
38538         (libc_feresetround_ctx): Likewise.
38539         (libc_feresetroundf_ctx): Likewise.
38540         (libc_feresetroundl_ctx): Likewise.
38541         (libc_feholdsetround_ctx): Likewise.
38542         (libc_feholdsetroundf_ctx): Likewise.
38543         (libc_feholdsetroundl_ctx): Likewise.
38545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38546         with __USE_GNU instead of XOPEN cpp guards.
38548         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38549         0.
38551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38552         with XOPEN cpp guards.
38554 2014-04-30  Julian Brown  <julian@codesourcery.com>
38556         [BZ #16888]
38557         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38558         handling.
38560 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38562         [BZ #9894]
38563         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38564         Change to 2.6.32.
38565         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38566         * sysdeps/unix/sysv/linux/configure: Regenerated.
38567         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38568         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38569         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38570         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38571         * README: Update reference to required Linux kernel version.
38572         * manual/install.texi (Linux): Update reference to required Linux
38573         kernel headers version.
38574         * INSTALL: Regenerated.
38576         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38577         header inclusion.
38578         [POSIX] (limits.h): Likewise.
38579         [POSIX] (math.h): Likewise.
38580         [POSIX] (sys/wait.h): Likewise.
38581         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38582         function.
38583         [POSIX] (stddef.h): Do not allow header inclusion.
38585 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38587         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38589 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38591         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38592         Return immediately after lll_futex_wake.
38594 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38596         [BZ #16791]
38597         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38598         structure.
38599         (datahead_init_pos): Call datahead_init_common early.
38600         (datahead_init_neg): Likewise.
38602         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38603         datahead_init_neg): New functions.
38604         * nscd/aicache.c (addhstaiX): Use them.
38605         * nscd/grpcache.c (cache_addgr): Likewise.
38606         * nscd/hstcache.c (cache_addhst): Likewise.
38607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38608         * nscd/netgroupcache.c (do_notfound): Likewise.
38609         (addgetnetgrentX): Likewise.
38610         (addinnetgrX): Likewise.
38611         * nscd/pwdcache.c (cache_addpw): Likewise.
38612         * nscd/servicescache.c (cache_addserv): Likewise.
38614 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38615             Atsushi Onoe  <atsushi@onoe.org>
38617         [BZ #14308]
38618         [BZ #12994]
38619         [BZ #13651]
38620         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38621         one response is valid.
38622         * resolv/res_send.c (send_dg): Check for validity of other
38623         response if the current response is a referral.
38625 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38627         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38629 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38631         [BZ #16823]
38632         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38633         Always divide by positive zero when computing -Inf result.
38634         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38635         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38637 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38639         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38640         FPSCR if value do not change.
38641         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38642         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38643         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38644         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38645         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38646         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38647         function.
38649 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38651         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38652         * sysdeps/unix/sysv/linux/hppa: Move directory from
38653         ports/systeps/unix/sysv/linux/hppa.
38654         * README: Update listing for hppa-*-linux-gnu.
38656 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38658         [BZ #16754]
38659         * manual/stdio.texi (Hook functions): Fix types of stream hook
38660         functions.
38661         [BZ #16854]
38662         * socket/sys/socket.h: Fix typo in comment.
38664 2014-04-28  Wilco  <wdijkstr@arm.com>
38666         * sysdeps/arm/fenv_private.h: New file.
38667         * sysdeps/arm/math_private.h: New file.
38668         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38670 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38672         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38673         with __int128_t.
38674         (La_x86_64_retval): Likewise.
38676 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38678         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38679         fpsr if value didn't change.
38680         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38681         to fpcr if value didn't change.
38682         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38683         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38684         fpsr or fpcr if value didn't change.
38685         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38686         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38687         fpcr if value didn't change.
38688         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38689         to fpsr if value didn't change.
38691 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38693         * nptl/tst-sem3.c: Use test-skeleton.c
38694         (main): Rename to do_test.  Use return instead of
38695         exit.
38696         * nptl/tst-sem4.c: Use test-skeleton.c
38697         (main): Rename to do_test.
38699 2014-04-22  David S. Miller  <davem@davemloft.net>
38701         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38702         (struct sigaction): New struct member __glibc_reserved0, change
38703         type of sa_flags to int.
38705 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38707         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38708         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38710 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38712         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38713         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38715 2014-04-22  Will Newton  <will.newton@linaro.org>
38716             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38718         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38719         (__longjmp): Add longjmp and longjmp_target SystemTap
38720         probes.
38721         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38722         (__sigsetjmp): Add setjmp SystemTap probe.
38724 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38726         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38727         match manual order.
38729 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38731         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38733         * sysdeps/powerpc/fpu/fenv_private.h
38734         (libc_feholdexcept_setroundl_ctx): Define to
38735         libc_feholdexcept_setround_ppc_ctx.
38736         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38737         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38738         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38739         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38741 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38743         * sysdeps/aarch64/math-tests.h: New file.
38745 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38747         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38748         New.
38749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38750         Check and set bit_AVX2_Usable.
38751         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38752         macro.
38753         (bit_AVX2): Likewise.
38754         (index_AVX2_Usable): Likewise.
38755         (CPUID_AVX2): Likewise.
38756         (HAS_AVX2): Likewise.
38758 2014-04-17  Will Newton  <will.newton@linaro.org>
38760         * manual/setjmp.texi (System V contexts): Add note that
38761         calling setcontext on a context created by a call to a
38762         signal handler is undefined.  Update text to note that
38763         setcontext from a signal handler is possible but not
38764         recommended.
38766         [BZ #16629]
38767         * stdlib/tst-setcontext.c: Include signal.h.
38768         (main): Check that the signal stack before and
38769         after swapcontext is the same.
38771         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38772         Re-implement to restore registers in user code and avoid
38773         rt_sigreturn system call.
38775 2014-04-17  Wilco  <wdijkstr@arm.com>
38777         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38778         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38779         * math/test-fenv.c: Skip exception trap tests on targets which only
38780         support non-stop mode.
38782 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38783             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38785         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38786         (libc_feholdsetround_aarch64_ctx)
38787         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38788         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38789         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38790         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38791         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38792         (libc_feresetround_noexl_ctx): Define.
38794 2014-04-16  Richard Henderson  <rth@redhat.com>
38796         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38798         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38799         unwind tables.
38801         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38802         const from the non-libc, non-ldso copy.
38804         * sysdeps/alpha/libm-test-ulps: Regenerate.
38806 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38807             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38809         * sysdeps/aarch64/fpu/math_private.h: New file.
38811 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38813         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38815 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38817         [BZ #16275]
38818         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38819         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38821         Intel MPX bound registers before _dl_profile_fixup.
38822         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38823         registers after _dl_profile_fixup.  Save and restore bound
38824         registers bnd0/bnd1 when calling _dl_call_pltexit.
38825         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38826         (LR_BND_OFFSET): Likewise.
38827         (LRV_BND0_OFFSET): Likewise.
38828         (LRV_BND1_OFFSET): Likewise.
38830 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38832         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38833         to...
38834         * sysdeps/mach/hurd/i386/tls.h: ... here.
38835         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38836         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38837         fields.
38839 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38841         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38843 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38845         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38847 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38849         [BZ #14770]
38850         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38851         * sysdeps/s390/configure: Regenerate.
38853         [BZ #16824]
38854         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38855         Set round-to-nearest internally to reduce error accumulation.
38857 2014-04-16  Alan Modra  <amodra@gmail.com>
38859         [BZ #16740]
38860         [BZ #16619]
38861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38862         * math/libm-test.inc (frexp_test_data): Add tests.
38863         * NEWS: Update fixed bug list.
38865 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38867         * benchtests/Makefile: Depend on libraries in build directory.
38868         (bench-math): Separate out math tests.
38869         (bench-pthread): Separate out pthread tests.
38870         (bench): Include math and pthread tests.
38872 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38874         [BZ #16831]
38875         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38876         _dl_debug_initialize.
38878         * configure.ac: Remove SELinux header check.
38879         * configure: Regenerate.
38880         * nscd/selinux.c (perms): Array of const char* to permission names.
38881         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38882         default policy. Call string_to_security_class and string_to_av_perm to
38883         translate strings. Enforce default policy and call avs_has_perm with
38884         results of translated strings.
38886 2014-04-13  David S. Miller  <davem@davemloft.net>
38888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38890 2014-04-12  Allan McRae  <allan@archlinux.org>
38892         [BZ #16838]
38893         * manual/string.texi (Collation Functions): Fix qsort argument
38894         order in example.
38895         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38897 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38899         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38900         Make the test a no-op if there are no exceptions defined.
38902 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38904         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38905         enable-hardcoded-path-in-tests
38907 2014-04-11  Will Newton  <will.newton@linaro.org>
38909         * benchtests/Makefile (extra-objs): Add json-lib.o.
38910         (bench-func): Tidy up JSON output.
38911         * benchtests/bench-skeleton.c: Include json-lib.h.
38912         (main): Use JSON library functions to do output of
38913         benchmark results.
38914         * benchtests/bench-timing-type.c (main): Output the
38915         timing type simply, leaving formatting to the user.
38916         * benchtests/json-lib.c: New file.
38917         * benchtests/json-lib.h: Likewise.
38919 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38921         [BZ #15215]
38922         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38923         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38924         memory barriers.  Add comments.
38925         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38926         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38927         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38928         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38929         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38930         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38932 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38934         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38935         * sysdeps/s390/s390-64/configure.ac: ... this ...
38936         * sysdeps/s390/configure.ac: ... to here.
38937         * sysdeps/s390/s390-32/configure: Delete file.
38938         * sysdeps/s390/s390-64/configure: Delete file.
38939         * sysdeps/s390/configure: Regenerate.
38941 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38943         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38945 2014-04-11  Will Newton  <will.newton@linaro.org>
38947         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38948         to zero if it is not defined elsewhere.  (mtrim): Test
38949         the value of MALLOC_DEBUG with #if rather than #ifdef.
38951 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38953         * benchtests/pthread_once-inputs: New file.
38954         * benchtests/pthread_once-source.c: New file.
38955         * benchtests/README: Update documentation.
38957 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38958             H.J. Lu  <hongjiu.lu@intel.com>
38960         [BZ #16275]
38961         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38962         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38963         * sysdeps/x86_64/configure: Regenerated.
38964         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38965         macro.
38966         (REGISTER_SAVE_RAX): Likewise.
38967         (REGISTER_SAVE_RCX): Likewise.
38968         (REGISTER_SAVE_RDX): Likewise.
38969         (REGISTER_SAVE_RSI): Likewise.
38970         (REGISTER_SAVE_RDI): Likewise.
38971         (REGISTER_SAVE_R8): Likewise.
38972         (REGISTER_SAVE_R9): Likewise.
38973         (REGISTER_SAVE_BND0): Likewise.
38974         (REGISTER_SAVE_BND1): Likewise.
38975         (REGISTER_SAVE_BND2): Likewise.
38976         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38977         bound registers when calling _dl_fixup.
38979 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38981         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38982         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38983         of its definition.
38984         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38985         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38986         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38987         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38988         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38989         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38990         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38992 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38994         [BZ #15514]
38995         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38996         pathconf(_PC_NAME_MAX).
38998 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39000         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39001         Remove macro usage.
39002         (__PTHREAD_SPINS): Move definition to ...
39003         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39004         (__PTHREAD_SPINS): ... here.
39005         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39006         (__PTHREAD_SPIN): Likewise.
39007         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39008         (__PTHREAD_SPIN): Likewise.
39009         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39010         (__PTHREAD_SPIN): Likewise.
39011         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39012         (__PTHREAD_SPIN): Likewise.
39013         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39014         (__PTHREAD_SPIN): Likewise.
39015         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39016         (__PTHREAD_SPIN): Likewise.
39017         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39018         (__PTHREAD_SPIN): Likewise.
39019         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39020         (__PTHREAD_SPIN): Likewise.
39021         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39022         (__PTHREAD_SPIN): Likewise.
39023         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39024         (__PTHREAD_SPIN): Likewise.
39025         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39026         (__PTHREAD_SPIN): Likewise.
39027         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39028         (__PTHREAD_SPIN): Likewise.
39030         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39031         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39032         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39033         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39034         imply folder.
39035         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39036         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39037         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39038         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39039         correct imply path.
39040         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39041         strlen symbol for non multi-arch builds.
39042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39043         missing hidden_def and weak_alias.
39045 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39047         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39049 2014-04-07  Will Newton  <will.newton@linaro.org>
39051         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39052         and contents.  [!_LIBC] Remove #ifndef and contents.
39053         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39054         * string/memccpy.c (__memccpy): Use ANSI prototype.
39055         * string/memfrob.c (memfrob): Likewise.
39056         * string/strcoll.c (STRCOLL): Likewise.
39057         * string/strlen.c (strlen): Likewise.
39058         * string/strtok.c (STRTOK): Likewise.
39059         * string/strcat.c: Remove unused #include of memcopy.h.
39060         (strcat): Use ANSI prototype.
39061         * string/strchr.c: Remove unused #include of memcopy.h.
39062         (strchr): Use ANSI prototype.
39063         * string/strcmp.c: Remove unused #include of memcopy.h.
39064         (strcmp): Use ANSI prototype.
39065         * string/strcpy.c: Remove unused #include of memcopy.h.
39066         (strcpy): Use ANSI prototype.
39068 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39070         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39071         * config.make.in (config-extra-cppflags): Set it from
39072         libc_extra_cppflags.
39073         * configure.ac (libc_extra_cflags): Make it accumulate over
39074         configure fragments.
39075         (libc_extra_cppflags): New flag.
39076         * configure. Regenerate.
39077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39078         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39079         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39082         [BZ #16815]
39083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39084         result for FE_DOWNWARD rounding mode.
39085         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39086         Likewise.
39087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39089 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39091         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39092         in function argument name.
39094 2014-04-03  David Svoboda  <svoboda@cert.org>
39096         [BZ #5666]
39097         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39098         explicitly.
39100 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39102         * elf/dl-unmap-segments.h: New file.
39103         * sysdeps/generic/ldsodefs.h
39104         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39105         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39106         * elf/dl-fptr.c: Likewise.
39107         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39108         * sysdeps/aarch64/tlsdesc.c: Likewise.
39109         * sysdeps/arm/tlsdesc.c: Likewise.
39110         * sysdeps/i386/tlsdesc.c: Likewise.
39111         * sysdeps/tile/dl-runtime.c: Likewise.
39112         * sysdeps/x86_64/tlsdesc.c: Likewise.
39113         * elf/dl-load.h: New file.
39114         * elf/dl-load.c: Include it.
39115         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39116         Macros moved to dl-load.h.
39117         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39118         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39119         Use _dl_unmap_segments in place of __munmap.
39120         Break out segment-mapping loop into ...
39121         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39123 2014-04-03  Will Newton  <will.newton@linaro.org>
39125         * elf/dl-lookup.c (do_lookup_x): Remove comment
39126         referring to nested function and move variable
39127         declarations down to before first use.
39129 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39131         [BZ #16799]
39132         [BZ #16800]
39133         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39134         with 0 numerator.
39135         * math/s_catanf.c (__catanf): Likewise.
39136         * math/s_catanh.c (__catanh): Likewise.
39137         * math/s_catanhf.c (__catanhf): Likewise.
39138         * math/s_catanhl.c (__catanhl): Likewise.
39139         * math/s_catanl.c (__catanl): Likewise.
39140         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39141         by positive zero when computing -Inf result.
39142         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39143         (catanh_test): Likewise.
39144         * sysdeps/i386/fpu/libm-test-ulps: Update.
39145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39147         [BZ #16789]
39148         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39149         instead of using underflowing value in computing result.
39150         * math/s_clog10.c (__clog10): Likewise.
39151         * math/s_clog10f.c (__clog10f): Likewise.
39152         * math/s_clog10l.c (__clog10l): Likewise.
39153         * math/s_clogf.c (__clogf): Likewise.
39154         * math/s_clogl.c (__clogl): Likewise.
39155         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39156         (clog10_test): Likewise.
39157         * sysdeps/i386/fpu/libm-test-ulps: Update.
39158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39160 2014-04-02  Alan Modra  <amodra@gmail.com>
39162         [BZ #16739]
39163         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39164         output when value is near a power of two.  Use int64_t for lx and
39165         remove casts.  Use decimal rather than hex exponent constants.
39166         Don't use long double multiplication when double will suffice.
39167         * math/libm-test.inc (nextafter_test_data): Add tests.
39168         * NEWS: Add 16739 and 16786 to bug list.
39170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39172         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39174 2014-04-01  Will Newton  <will.newton@linaro.org>
39176         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39177         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39179 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39181         [BZ #13347]
39182         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39183         * nptl/tst-setuid2.c: New file.
39184         * nptl/Makefile (xtests): Add tst-setuid2.
39186 2014-04-01  Alan Modra  <amodra@gmail.com>
39188         [BZ #16786]
39189         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39191 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39193         [BZ #6803]
39194         [BZ #6804]
39195         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39196         set errno as appropriate.
39197         * math/w_scalbf.c (__scalbf): Likewise.
39198         * math/w_scalbl.c (__scalbl): Likewise.
39199         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39200         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39201         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39202         Add more NaN tests.
39204         [BZ #16349]
39205         * math/w_atan2.c: Include <errno.h>.
39206         (__atan2): Set errno for result underflowing to zero.
39207         * math/w_atan2f.c: Include <errno.h>.
39208         (__atan2f): Set errno for result underflowing to zero.
39209         * math/w_atan2l.c: Include <errno.h>.
39210         (__atan2l): Set errno for result underflowing to zero.
39211         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39212         tests.
39213         * math/auto-libm-test-out: Regenerated.
39215 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39217         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39218         Encode instruction correctly in little endian.
39219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39220         Likewise.
39221         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39222         Likewise.
39223         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39224         Likewise.
39225         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39226         Likewise.
39228 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39230         [BZ #9894]
39231         * sysdeps/unix/sysv/linux/kernel-features.h
39232         [__sparc__ && !__arch64__ && !__sparc_v9__]
39233         (__ASSUME_SET_ROBUST_LIST): Do not define.
39234         [__sparc__ && !__arch64__ && !__sparc_v9__]
39235         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39236         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39237         Likewise.
39238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39239         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39240         (__ASSUME_REQUEUE_PI): Likewise.
39241         (__ASSUME_SET_ROBUST_LIST): Likewise.
39242         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39243         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39244         Undefine.
39245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39246         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39247         Likewise.
39248         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39249         Likewise.
39250         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39251         Likewise.
39252         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39253         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39254         Undefine.
39255         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39256         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39257         Likewise.
39259         [BZ #16648]
39260         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39262         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39264 2014-03-31  Will Newton  <will.newton@linaro.org>
39266         * benchtests/Makefile (bench): Add ffs and ffsll to list
39267         of tests.
39268         * benchtests/ffs-inputs: New file.
39269         * benchtests/ffsll-inputs: Likewise.
39271 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39273         [BZ #16770]
39274         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39275         too large before casting to int.
39276         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39277         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39278         * math/libm-test.inc (scalb_test_data): Add more tests.
39280 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39282         * benchtests/Makefile (DETAILED_OPT): New make option.
39283         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39284         set.
39285         * benchtests/bench-skeleton.c: Include stdbool.h.
39286         (main): Store and print timings per input.
39287         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39288         member to each argument value.
39289         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39290         (_print_arg_data): Initialize per-input timing to 0.
39292         * benchtests/Makefile (timing-type): New binary.
39293         (bench-clean): Also remove bench-timing-type.
39294         (bench): New target for timing-type.
39295         (bench-func): Print output in JSON format.
39296         * benchtests/bench-skeleton.c (main): Print output in JSON
39297         format.
39298         * benchtests/bench-timing-type.c: New file.
39299         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39300         (TIMING_PRINT_STATS): Remove.
39301         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39302         name separately.
39304         * benchtests/bench-modf.c: Remove.
39305         * benchtests/modf-inputs: New inputs file.
39307 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39309         [BZ #16362]
39310         * math/s_clog10.c (M_PI_LOG10E): New macro.
39311         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39312         imaginary parts are 0.
39313         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39314         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39315         imaginary parts are 0.
39316         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39317         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39318         imaginary parts are 0.
39319         * math/libm-test.inc (clog10_test_data): Update expected results
39320         for when real and imaginary parts are 0.
39322 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39324         * elf/dl-load.c: Finish conversion of __builtin_expect into
39325         __glibc_{un}likely.
39327 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39329         [BZ #16348]
39330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39331         1+x for argument with exponent below -67.
39332         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39333         Likewise.
39334         * math/auto-libm-test-in: Add more tests of exp.
39335         * math/auto-libm-test-out: Regenerated.
39337 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39339         [BZ #16759]
39340         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39341         (nscd_getnetgrent): Use it.
39343         [BZ #16760]
39344         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39345         of stpcpy.
39347 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39349         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39350         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39351         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39352         (lll_robust_unlock): Remove out of line section. Use cfi
39353         intrinsics.
39354         (LLL_STUB_UNWIND_INFO*): Remove.
39355         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39356         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39357         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39358         (lll_robust_unlock): Remove out of line section. Use cfi
39359         intrinsics.
39360         (LLL_STUB_UNWIND_INFO*): Remove.
39362 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39364         [BZ #16758]
39365         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39366         blank values.
39368 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39370         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39372 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39374         [BZ #16198]
39375         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39376         fnstenv.
39377         * math/test-fenv-preserve.c: New file.
39378         * math/Makefile (tests): Add test-fenv-preserve.
39380 2014-03-26  Will Newton <will.newton@linaro.org>
39382         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39384 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39386         * scripts/versionlist.awk: Partition the version sets and emit all
39387         GLIBC_* (sorted) before all others (sorted).
39389 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39391         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39392         GLIBC_2.2.5 version.
39394 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39396         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39397         calls.
39399         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39400         previous change.
39402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39404 2014-03-25  Andreas Schwab  <schwab@suse.de>
39406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39407         label to be used after in6ailist is initialized.
39409 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39411         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39412         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39414 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39416         [BZ #16357]
39417         [BZ #16599]
39418         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39419         min_plus_half.
39420         (fp_formats): Update initializers.
39421         (init_fp_formats): Initialize new field.
39422         (output_for_one_input_case): Allow underflow for results up to
39423         min_plus_half.
39424         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39425         * math/auto-libm-test-in: Don't mark some underflows from asin and
39426         atanh as spurious.
39427         * math/auto-libm-test-out: Regenerated.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39431 2014-03-25  Andreas Schwab  <schwab@suse.de>
39433         * libio/Makefile (tst-ftell-partial-wide-ENV)
39434         (tst-ftell-active-handler-ENV): Define.
39436 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39438         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39440 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39442         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39444 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39446         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39447         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39448         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39450 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39452         [BZ #16634]
39453         * elf/dl-load.c (open_verify): Add mode parameter.
39454         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39455         (open_path): Change from boolean 'secure' to complete flag 'mode'
39456         (_dl_map_object): Adjust.
39457         * elf/Makefile (tests): Add tst-dlopen-aout.
39458         * elf/tst-dlopen-aout.c: New test.
39460 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39462         [BZ #16714]
39463         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39464         (struct stat): Rename member pad0 to __glibc_reserved0.
39466         [BZ #16712]
39467         * sysdeps/s390/s390-32/bits/wordsize.h
39468         (__WORDSIZE32_SIZE_ULONG): New define.
39469         * sysdeps/s390/s390-64/bits/wordsize.h
39470         (__WORDSIZE32_SIZE_ULONG): Likewise.
39471         * sysdeps/generic/stdint.h (SIZE_MAX):
39472         Define as UL if __WORDSIZE32_SIZE_ULONG.
39474         [BZ #16713]
39475         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39476         (__glibc_reserved0): New variable.
39477         (sa_flags): Change type to int.
39479         * posix/Makefile (before-compile): Use += before-compile instead
39480         of a :=.
39482         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39483         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39485 2014-03-20  Andreas Schwab  <schwab@suse.de>
39487         [BZ #16743]
39488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39489         non-matching result from nscd.
39491 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39493         * scripts/bench.py: Moved to ...
39494         * benchtests/scripts/bench.py: ... here.
39495         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39497 2014-03-24  Andreas Schwab  <schwab@suse.de>
39499         [BZ #16002]
39500         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39501         alloca_account and account alloca use for struct in6ailist.
39503 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39505         [BZ #16284]
39506         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39507         rounding mode to recompute results that overflow to infinity or
39508         underflow to zero.
39509         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39510         bug 16284.
39511         * math/auto-libm-test-out: Regenerated.
39512         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39513         (ccosh_test): Likewise.
39514         (csin_test_data): Use plus_oflow.
39515         (csin_test): Use ALL_RM_TEST.
39516         (csinh_test_data): Use plus_oflow.
39517         (csinh_test): Use ALL_RM_TEST.
39518         * sysdeps/i386/fpu/libm-test-ulps: Update.
39519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39521 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39523         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39524         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39525         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39527         [BZ #16731]
39528         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39529         when x - 1 is zero.
39530         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39531         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39532         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39534         argument is 1.
39535         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39536         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39537         zero.
39538         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39539         * sysdeps/i386/fpu/libm-test-ulps: Update.
39540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39542 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544         * scripts/bench.pl: Remove file.
39545         * scripts/bench.py: New benchmark script.
39546         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39547         * benchtests/README: Mention python dependency.
39548         * scripts/pylintrc: New file.
39549         * scripts/pylint: New file.
39551         * bits/mathdef.h: Use #ifdef instead of #if.
39552         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39553         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39554         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39555         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39556         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39557         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39559 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39560             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39562         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39564         and strpbrk-ppc64 objects.
39565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39566         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39567         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39568         multiarch strpbrk for POWER7.
39569         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39570         multiarch strpbrk for PPC64.
39571         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39572         ifunc selector.
39573         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39574         strpbrk for POWER7.
39576 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39578         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39579         (atan_test): Likewise.
39580         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39581         (atanh_test): Use ALL_RM_TEST.
39582         (atan2_test_data): Likewise.
39583         (cabs_test): Likewise.
39584         (cacosh_test): Likewise.
39585         (carg_test): Likewise.
39586         (casin_test): Likewise.
39587         (casinh_test): Likewise.
39588         (cbrt_test): Likewise.
39589         (csqrt_test): Likewise.
39590         (erf_test): Likewise.
39591         (erfc_test): Likewise.
39592         (pow10_test): Likewise.
39593         (exp2_test): Likewise.
39594         (hypot_test): Likewise.
39595         (j0_test): Likewise.
39596         (j1_test): Likewise.
39597         (lgamma_test): Likewise.
39598         (gamma_test): Likewise.
39599         (sincos_test): Likewise.
39600         (tanh_test): Likewise.
39601         (y0_test): Likewise.
39602         (y1_test): Likewise.
39603         * sysdeps/i386/fpu/libm-test-ulps: Update.
39604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39606 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39608         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39610         and strcspn-ppc64 objects.
39611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39612         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39613         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39614         multiarch strcspn for POWER7.
39615         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39616         multiarch strcspn for PPC64.
39617         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39618         ifunc selector.
39619         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39620         strcspn for POWER7.
39622 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39624         * math/gen-libm-test.pl (generate_testfile): Expect only function
39625         name as argument to AUTO_TESTS_* and pass results for all rounding
39626         modes to parse_args.
39627         (parse_auto_input): Separate inputs of automatic tests from
39628         outputs before storing in %auto_tests.
39629         * math/libm-test.inc (acos_test_data): Update call to
39630         AUTO_TESTS_f_f.
39631         (acos_test): Use ALL_RM_TEST.
39632         (acos_tonearest_test_data): Remove.
39633         (acos_test_tonearest): Likewise.
39634         (acos_towardzero_test_data): Likewise.
39635         (acos_test_towardzero): Likewise.
39636         (acos_downward_test_data): Likewise.
39637         (acos_test_downward): Likewise.
39638         (acos_upward_test_data): Likewise.
39639         (acos_test_upward): Likewise.
39640         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39641         (asin_test_data): Likewise.
39642         (asin_test): Use ALL_RM_TEST.
39643         (asin_tonearest_test_data): Remove.
39644         (asin_test_tonearest): Likewise.
39645         (asin_towardzero_test_data): Likewise.
39646         (asin_test_towardzero): Likewise.
39647         (asin_downward_test_data): Likewise.
39648         (asin_test_downward): Likewise.
39649         (asin_upward_test_data): Likewise.
39650         (asin_test_upward): Likewise.
39651         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39652         (atan_test_data): Likewise.
39653         (atanh_test_data): Likewise.
39654         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39655         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39656         (carg_test_data): Likewise.
39657         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39658         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39659         (ccosh_test_data): Likewise.
39660         (cexp_test_data): Likewise.
39661         (clog_test_data): Likewise.
39662         (clog10_test_data): Likewise.
39663         (cos_test_data): Update call to AUTO_TESTS_f_f.
39664         (cos_test): Use ALL_RM_TEST.
39665         (cos_tonearest_test_data): Remove.
39666         (cos_test_tonearest): Likewise.
39667         (cos_towardzero_test_data): Likewise.
39668         (cos_test_towardzero): Likewise.
39669         (cos_downward_test_data): Likewise.
39670         (cos_test_downward): Likewise.
39671         (cos_upward_test_data): Likewise.
39672         (cos_test_upward): Likewise.
39673         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39674         (cosh_test): Use ALL_RM_TEST.
39675         (cosh_tonearest_test_data): Remove.
39676         (cosh_test_tonearest): Likewise.
39677         (cosh_towardzero_test_data): Likewise.
39678         (cosh_test_towardzero): Likewise.
39679         (cosh_downward_test_data): Likewise.
39680         (cosh_test_downward): Likewise.
39681         (cosh_upward_test_data): Likewise.
39682         (cosh_test_upward): Likewise.
39683         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39684         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39685         (ctan_test_data): Likewise.
39686         (ctan_test): Use ALL_RM_TEST.
39687         (ctan_tonearest_test_data): Remove.
39688         (ctan_test_tonearest): Likewise.
39689         (ctan_towardzero_test_data): Likewise.
39690         (ctan_test_towardzero): Likewise.
39691         (ctan_downward_test_data): Likewise.
39692         (ctan_test_downward): Likewise.
39693         (ctan_upward_test_data): Likewise.
39694         (ctan_test_upward): Likewise.
39695         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39696         (ctanh_test): Use ALL_RM_TEST.
39697         (ctanh_tonearest_test_data): Remove.
39698         (ctanh_test_tonearest): Likewise.
39699         (ctanh_towardzero_test_data): Likewise.
39700         (ctanh_test_towardzero): Likewise.
39701         (ctanh_downward_test_data): Likewise.
39702         (ctanh_test_downward): Likewise.
39703         (ctanh_upward_test_data): Likewise.
39704         (ctanh_test_upward): Likewise.
39705         (erf_test_data): Update call to AUTO_TESTS_f_f.
39706         (erfc_test_data): Likewise.
39707         (exp_test_data): Likewise.
39708         (exp_test): Use ALL_RM_TEST.
39709         (exp_tonearest_test_data): Remove.
39710         (exp_test_tonearest): Likewise.
39711         (exp_towardzero_test_data): Likewise.
39712         (exp_test_towardzero): Likewise.
39713         (exp_downward_test_data): Likewise.
39714         (exp_test_downward): Likewise.
39715         (exp_upward_test_data): Likewise.
39716         (exp_test_upward): Likewise.
39717         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39718         (exp10_test): Use ALL_RM_TEST.
39719         (exp10_tonearest_test_data): Remove.
39720         (exp10_test_tonearest): Likewise.
39721         (exp10_towardzero_test_data): Likewise.
39722         (exp10_test_towardzero): Likewise.
39723         (exp10_downward_test_data): Likewise.
39724         (exp10_test_downward): Likewise.
39725         (exp10_upward_test_data): Likewise.
39726         (exp10_test_upward): Likewise.
39727         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39728         (expm1_test_data): Likewise.
39729         (expm1_test): Use ALL_RM_TEST.
39730         (expm1_tonearest_test_data): Remove.
39731         (expm1_test_tonearest): Likewise.
39732         (expm1_towardzero_test_data): Likewise.
39733         (expm1_test_towardzero): Likewise.
39734         (expm1_downward_test_data): Likewise.
39735         (expm1_test_downward): Likewise.
39736         (expm1_upward_test_data): Likewise.
39737         (expm1_test_upward): Likewise.
39738         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39739         (fma_test): Use ALL_RM_TEST.
39740         (fma_towardzero_test_data): Remove.
39741         (fma_test_towardzero): Likewise.
39742         (fma_downward_test_data): Likewise.
39743         (fma_test_downward): Likewise.
39744         (fma_upward_test_data): Likewise.
39745         (fma_test_upward): Likewise.
39746         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39747         (j0_test_data): Update call to AUTO_TESTS_f_f.
39748         (j1_test_data): Likewise.
39749         (jn_test_data): Update call to AUTO_TESTS_if_f.
39750         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39751         (log_test_data): Update call to AUTO_TESTS_f_f.
39752         (log10_test_data): Likewise.
39753         (log1p_test_data): Likewise.
39754         (log2_test_data): Likewise.
39755         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39756         (pow_tonearest_test_data): Likewise.
39757         (sin_test_data): Update call to AUTO_TESTS_f_f.
39758         (sin_test): Use ALL_RM_TEST.
39759         (sin_tonearest_test_data): Remove.
39760         (sin_test_tonearest): Likewise.
39761         (sin_towardzero_test_data): Likewise.
39762         (sin_test_towardzero): Likewise.
39763         (sin_downward_test_data): Likewise.
39764         (sin_test_downward): Likewise.
39765         (sin_upward_test_data): Likewise.
39766         (sin_test_upward): Likewise.
39767         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39768         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39769         (sinh_test): Use ALL_RM_TEST.
39770         (sinh_tonearest_test_data): Remove.
39771         (sinh_test_tonearest): Likewise.
39772         (sinh_towardzero_test_data): Likewise.
39773         (sinh_test_towardzero): Likewise.
39774         (sinh_downward_test_data): Likewise.
39775         (sinh_test_downward): Likewise.
39776         (sinh_upward_test_data): Likewise.
39777         (sinh_test_upward): Likewise.
39778         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39779         (sqrt_test): Use ALL_RM_TEST.
39780         (sqrt_tonearest_test_data): Remove.
39781         (sqrt_test_tonearest): Likewise.
39782         (sqrt_towardzero_test_data): Likewise.
39783         (sqrt_test_towardzero): Likewise.
39784         (sqrt_downward_test_data): Likewise.
39785         (sqrt_test_downward): Likewise.
39786         (sqrt_upward_test_data): Likewise.
39787         (sqrt_test_upward): Likewise.
39788         (tan_test_data): Update call to AUTO_TESTS_f_f.
39789         (tan_test): Use ALL_RM_TEST.
39790         (tan_tonearest_test_data): Remove.
39791         (tan_test_tonearest): Likewise.
39792         (tan_towardzero_test_data): Likewise.
39793         (tan_test_towardzero): Likewise.
39794         (tan_downward_test_data): Likewise.
39795         (tan_test_downward): Likewise.
39796         (tan_upward_test_data): Likewise.
39797         (tan_test_upward): Likewise.
39798         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39799         (tgamma_test_data): Likewise.
39800         (y0_test_data): Likewise.
39801         (y1_test_data): Likewise.
39802         (yn_test_data): Update call to AUTO_TESTS_if_f.
39803         (main): Do not call removed functions.
39805 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39807         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39808         (ldexp_test_data): Remove.
39809         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39810         scalbn_test_data.
39811         (scalb_test): Use ALL_RM_TEST.
39813 2014-03-19  Andreas Schwab  <schwab@suse.de>
39815         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39817 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39819         [BZ #16649]
39820         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39822         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39824         (__ASSUME_PREADV): Undefine.
39825         (__ASSUME_PWRITEV): Likewise.
39827 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39829         * bits/mman-linux.h: Add comment about non-Linux use.
39830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39831         bits/mman-linux.h resting place.
39833         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39834         * bits/mman-linux.h: ... here.
39836 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39838         * conform/conformtest.pl: Add standard definition when calling C
39839         preprocessor on data files.
39840         (checknamespace): Remove unused variable.
39842 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39844         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39845         minus_oflow, plus_uflow and minus_uflow in expected results.
39846         * math/libm-test.inc (scalbn_test_data): Add more tests of
39847         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39848         minus_uflow.
39849         (scalbn_test): Use ALL_RM_TEST.
39850         (scalbln_test_data): Add more tests of negative arguments.  Use
39851         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39852         (scalbln_test): Use ALL_RM_TEST.
39854 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39856         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39858 2014-03-18  Will Newton  <will.newton@linaro.org>
39860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39861         inaccurate comment.
39863 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39865         * Makerules [!subdir] (check-abi): Exit with error status if a
39866         test failed.
39868 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39870         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39871         for rint.  Include results for all rounding modes.
39872         (nearbyint_test): Use ALL_RM_TEST.
39873         (rint_test_data): Include all tests used for nearbyint.
39875 2014-03-17  Will Newton  <will.newton@linaro.org>
39877         * nptl/sysdeps/pthread/pthread.h: Revert previous
39878         change.
39880         * sysdeps/generic/ldsodefs.h: Revert previous
39881         change.
39883         * libio/genops.c: Revert previous change.
39884         * libio/libioP.h: Likewise.
39885         * stdio-common/vfprintf.c: Likewise.
39887         * sysdeps/generic/math_private.h: Revert previous
39888         change.
39890         * sysdeps/generic/math_private.h: Check whether
39891         HAVE_RM_CTX is defined with #ifdef rather
39892         than #if.
39894         * argp/argp-fmtstream.h: Check whether
39895         __STRICT_ANSI__ is defined with #ifdef rather
39896         than #if.
39897         * argp/argp.h: Likewise.
39899         * libio/genops.c: Check whether
39900         _IO_JUMPS_OFFSET is defined with #ifdef rather
39901         than #if.
39902         * libio/libioP.h: Likewise.
39903         * stdio-common/vfprintf.c: Likewise.
39905         * sysdeps/generic/ldsodefs.h: Check whether
39906         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39907         than #if.
39909         * nptl/sysdeps/pthread/pthread.h: Check
39910         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39911         its value.
39913 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39915         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39916         setting O_APPEND.
39917         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39918         test case.
39920         [BZ #16680]
39921         * libio/fileops.c (_IO_file_open): Seek to end of file but
39922         don't cache the offset.
39923         (get_file_offset): Remove function.
39924         (do_ftell): Use cached offset when available.
39925         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39926         don't cache the offset.
39927         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39928         case.
39929         (do_one_test): Call it.
39930         (do_ftell_test): Fix up expected old offset for a+ mode.
39931         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39932         available.
39934         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39935         up test status with function return status.
39936         (do_write_test): Likewise.
39937         (do_append_test): Likewise.
39939         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39940         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39941         Remove.
39943 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39945         * math/gen-libm-test.pl (parse_args): Handle results specified for
39946         each rounding mode separately.
39947         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39948         tests and results from lrint_tonearest_test_data,
39949         lrint_towardzero_test_data, lrint_downward_test_data and
39950         lrint_upward_test_data.
39951         (lrint_test): Use ALL_RM_TEST.
39952         (lrint_tonearest_test_data): Remove.
39953         (lrint_test_tonearest): Likewise.
39954         (lrint_towardzero_test_data): Likewise.
39955         (lrint_test_towardzero): Likewise.
39956         (lrint_downward_test_data): Likewise.
39957         (lrint_test_downward): Likewise.
39958         (lrint_upward_test_data): Likewise.
39959         (lrint_test_upward): Likewise.
39960         (llrint_test_data): Merge in per-rounding-mode tests and results
39961         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39962         llrint_downward_test_data and llrint_upward_test_data.
39963         (llrint_test): Use ALL_RM_TEST.
39964         (llrint_tonearest_test_data): Remove.
39965         (llrint_test_tonearest): Likewise.
39966         (llrint_towardzero_test_data): Likewise.
39967         (llrint_test_towardzero): Likewise.
39968         (llrint_downward_test_data): Likewise.
39969         (llrint_test_downward): Likewise.
39970         (llrint_upward_test_data): Likewise.
39971         (llrint_test_upward): Likewise.
39972         (rint_test_data): Merge in per-rounding-mode tests and results
39973         from rint_tonearest_test_data, rint_towardzero_test_data,
39974         rint_downward_test_data and rint_upward_test_data.  Add
39975         per-rounding-mode results for tests not in those arrays.
39976         (rint_test): Use ALL_RM_TEST.
39977         (rint_tonearest_test_data): Remove.
39978         (rint_test_tonearest): Likewise.
39979         (rint_towardzero_test_data): Likewise.
39980         (rint_test_towardzero): Likewise.
39981         (rint_downward_test_data): Likewise.
39982         (rint_test_downward): Likewise.
39983         (rint_upward_test_data): Likewise.
39984         (rint_test_upward): Likewise.
39985         (main): Don't call removed functions.
39987 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39989         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39990         "Compiled on ..." crapola.  It is anti-useful.
39992 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39994         * scripts/evaluate-test.sh: Handle fourth argument to determine
39995         whether test run should stop on failure.
39996         * Makeconfig (stop-on-test-failure): New variable.
39997         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39998         $(stop-on-test-failure).
39999         * Makefile (tests): Give a summary of results from testing and
40000         exit with failure status if they include an ERROR or FAIL.
40001         (xtests): Likewise.
40002         * manual/install.texi (Configuring and compiling): Mention
40003         stop-on-test-failure=y.
40004         * INSTALL: Regenerated.
40006 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40008         * scripts/versionlist.awk: New file.
40009         * Makerules [$(build-shared) = yes]
40010         (postclean-generated): Add Versions.def, not Versions.def.v and
40011         Versions.def.v.i.
40012         ($(common-objpfx)Versions.def.v.i): Target removed.
40013         ($(common-objpfx)Versions.def): New target.
40014         ($(common-objpfx)Versions.all): Depend on that rather that
40015         $(common-objpfx)Versions.def.v.
40016         * Versions.def: File removed.
40018         * Makeconfig (+gccwarn): Add -Wundef.
40019         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40020         a dl-sysdep.h breaking its contract.
40021         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40022         * include/stackinfo.h: New file.
40023         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40024         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40025         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40026         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40027         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40028         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40029         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40030         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40031         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40032         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40033         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40034         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40035         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40036         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40037         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40039 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40041         [BZ #16707]
40042         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40043         implementation.
40044         * math/libm-test.inc (round_test_data): Add more tests.
40046         [BZ #16706]
40047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40048         implementation.
40049         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40051         [BZ #16701]
40052         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40053         implementation.
40054         * math/libm-test.inc (ceil_test_data): Add more tests.
40056         * math/libm-test.inc (trunc_test_data): Add more tests related to
40057         BZ#16414.
40059 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40061         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40062         with #if rather than #ifdef.
40063         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40065 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40067         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40068         first.  Disable AVX-512 GCC support if assembler doesn't support
40069         it.
40070         * sysdeps/x86_64/configure: Regenerated.
40072 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40074         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40075         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40076         (__old_pthread_attr_setstack): Likewise.
40077         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40078         [!_STACK_GROWS_DOWN]: Likewise.
40080 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40082         * config.make.in (have-bash2): Delete.
40083         * configure.ac (libc_cv_have_bash2): Delete.
40084         * configure: Regenerate.
40085         * elf/Makefile (common-ldd-rewrite): Rename to ...
40086         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40087         (sh-ldd-rewrite): Delete.
40088         (bash-ldd-rewrite): Delete.
40089         (have-bash2): Delete checks.
40090         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40091         ldd-rewrite.
40093         * config.make.in (have-ksh): Delete.
40094         (KSH): Delete.
40095         * configure.ac (libc_cv_have_ksh): Delete.
40096         * configure: Regenerate.
40098         * elf/Makefile: Delete $(have-ksh) check.
40099         ($(objpfx)sotruss): Change KSH to BASH.
40100         * elf/sotruss.ksh: Rename to ...
40101         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40102         function style to match POSIX.  Drop ksh vim mode setting.
40104         * manual/time.texi (Specifying the Time Zone with TZ): Change
40105         Tuesday to Thursday.
40107         * debug/tst-longjmp_chk2.c: Update header comment.
40108         (stackoverflow_handler): Add comment.  Call assert on pass value.
40110 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40112         [BZ #16194]
40113         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40114         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40115         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40116         (La_x86_64_vector): Add zmm.
40117         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40118         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40119         ($(objpfx)tst-audit10): New target.
40120         ($(objpfx)tst-audit10.out): Likewise.
40121         (tst-audit10-ENV): New.
40122         (AVX512-CFLAGS): Likewise.
40123         (CFLAGS-tst-audit10.c): Likewise.
40124         (CFLAGS-tst-auditmod10a.c): Likewise.
40125         (CFLAGS-tst-auditmod10b.c): Likewise.
40126         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40127         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40128         * sysdeps/x86_64/configure: Regenerated.
40129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40130         AVX-512 zmm register support.
40131         (_dl_x86_64_save_sse): Likewise.
40132         (_dl_x86_64_restore_sse): Likewise.
40133         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40134         size vector registers.
40135         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40136         (ZMM_SIZE): Likewise.
40137         * sysdeps/x86_64/tst-audit10.c: New file.
40138         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40139         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40141 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40143         * configure.ac (HAVE_EHDR_START): New check.
40144         * configure: Regenerated.
40145         * config.h.in (HAVE_EHDR_START): New #undef.
40146         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40147         assuming the lowest-addressed segment maps the start of the file.
40149 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40151         * INSTALL: Regenerated.
40153 2014-03-13  Will Newton  <will.newton@linaro.org>
40155         * manual/setjmp.texi (System V contexts): Improve
40156         clarity and grammar of documentation.
40158 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40160         [BZ #16381]
40161         * elf/Makefile (tests): Add tst-pie2.
40162         (tests-pie): Add tst-pie2.
40163         * elf/tst-pie2.c: New file.
40164         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40165         for ET_EXEC.
40166         * elf/rtld.c (map_doit): Load executable as lt_executable.
40167         (dl_main): Likewise.
40169 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40171         [BZ #16642]
40172         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40173         (__ASSUME_PSELECT): Undefine.
40175 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40177         [BZ #16689]
40178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40179         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40180         static build.
40181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40182         selector for static builds.
40184 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40186         [BZ #16695]
40187         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40188         key in the buffer.
40190 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40192         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40193         IFUNC selector for static builds.
40195 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40197         * sysdeps/mips/math_private.h [__mips_hard_float]
40198         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40199         libc_feresetround_mips_ctx.
40200         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40201         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40202         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40204         [BZ #16677]
40205         * math/s_nextafter.c (__nextafter): Do not return value from
40206         overflowing computation.
40207         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40208         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40209         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40210         Likewise.
40211         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40212         Likewise.
40213         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40214         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40216 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40218         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40219         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40220         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40221         the new mov targetting sp.
40223 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40225         [BZ #16683]
40226         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40227         Define it for static builds as well.
40228         (NO_BZERO_IMPL): Likewise.
40230 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40232         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40233         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40234         multiarch strspn for PPC64.
40235         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40236         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40238         (__libc_ifunc_impl_list): Likewise.
40239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40240         multiarch optimizations
40241         * string/strspn.c (strspn): Using macro to redefine symbol name.
40243 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40244             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40246         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40247         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40248         multiarch strncat for PPC64.
40249         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40250         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40252         (__libc_ifunc_impl_list): Likewise.
40253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40254         multiarch optimizations
40256 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40258         [BZ #16639]
40259         * nscd/nscd.service: Make service type forking.
40261 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40263         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40264         sign in non default rounding modes.
40265         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40267 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40269         * math/libm-test.inc (ALL_RM_TEST): New macro.
40270         (ceil_test): Use ALL_RM_TEST.
40271         (cimag_test): Likewise.
40272         (conj_test): Likewise.
40273         (copysign_test): Likewise.
40274         (cproj_test): Likewise.
40275         (creal_test): Likewise.
40276         (fabs_test): Likewise.
40277         (floor_test): Likewise.
40278         (fmax_test): Likewise.
40279         (fmin_test): Likewise.
40280         (fmod_test): Likewise.
40281         (fpclassify_test): Likewise.
40282         (frexp_test): Likewise.
40283         (ilogb_test): Likewise.
40284         (isfinite_test): Likewise.
40285         (finite_test): Likewise.
40286         (isgreater_test): Likewise.
40287         (isgreaterequal_test): Likewise.
40288         (isinf_test): Likewise.
40289         (isless_test): Likewise.
40290         (islessequal_test): Likewise.
40291         (islessgreater_test): Likewise.
40292         (isnan_test): Likewise.
40293         (isnormal_test): Likewise.
40294         (issignaling_test): Likewise.
40295         (isunordered_test): Likewise.
40296         (logb_test): Likewise.
40297         (logb_downward_test_data): Remove.
40298         (logb_test_downward): Likewise.
40299         (lround_test): Use ALL_RM_TEST.
40300         (llround_test): Likewise.
40301         (modf_test): Likewise.
40302         (nexttoward_test): Likewise.
40303         (remainder_test): Likewise.
40304         (drem_test): Likewise.
40305         (remainder_tonearest_test_data): Likewise.
40306         (remainder_test_tonearest): Likewise.
40307         (drem_test_tonearest): Likewise.
40308         (remainder_towardzero_test_data): Likewise.
40309         (remainder_test_towardzero): Likewise.
40310         (drem_test_towardzero): Likewise.
40311         (remainder_downward_test_data): Likewise.
40312         (remainder_test_downward): Likewise.
40313         (drem_test_downward): Likewise.
40314         (remainder_upward_test_data): Likewise.
40315         (remainder_test_upward): Likewise.
40316         (drem_test_upward): Likewise.
40317         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40318         (round_test): Use ALL_RM_TEST.
40319         (signbit_test): Likewise.
40320         (trunc_test): Likewise.
40321         (significand_test): Likewise.
40322         (main): Don't call removed functions.
40324 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40326         [BZ #16674]
40327         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40328         || __USE_XOPEN2K8].
40329         (ILL_ILLOPN): Likewise.
40330         (ILL_ILLADR): Likewise.
40331         (ILL_ILLTRP): Likewise.
40332         (ILL_PRVOPC): Likewise.
40333         (ILL_PRVREG): Likewise.
40334         (ILL_COPROC): Likewise.
40335         (ILL_BADSTK): Likewise.
40336         (FPE_INTDIV): Likewise.
40337         (FPE_INTOVF): Likewise.
40338         (FPE_FLTDIV): Likewise.
40339         (FPE_FLTOVF): Likewise.
40340         (FPE_FLTUND): Likewise.
40341         (FPE_FLTRES): Likewise.
40342         (FPE_FLTINV): Likewise.
40343         (FPE_FLTSUB): Likewise.
40344         (SEGV_MAPERR): Likewise.
40345         (SEGV_ACCERR): Likewise.
40346         (BUS_ADRALN): Likewise.
40347         (BUS_ADRERR): Likewise.
40348         (BUS_OBJERR): Likewise.
40349         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40350         (TRAP_TRACE): Likewise.
40351         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40352         __USE_XOPEN2K8].
40353         (CLD_KILLED): Likewise.
40354         (CLD_DUMPED): Likewise.
40355         (CLD_TRAPPED): Likewise.
40356         (CLD_STOPPED): Likewise.
40357         (CLD_CONTINUED): Likewise.
40358         (POLL_IN): Likewise.
40359         (POLL_OUT): Likewise.
40360         (POLL_MSG): Likewise.
40361         (POLL_ERR): Likewise.
40362         (POLL_PRI): Likewise.
40363         (POLL_HUP): Likewise.
40364         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40365         Likewise.
40366         (ILL_ILLOPN): Likewise.
40367         (ILL_ILLADR): Likewise.
40368         (ILL_ILLTRP): Likewise.
40369         (ILL_PRVOPC): Likewise.
40370         (ILL_PRVREG): Likewise.
40371         (ILL_COPROC): Likewise.
40372         (ILL_BADSTK): Likewise.
40373         (FPE_INTDIV): Likewise.
40374         (FPE_INTOVF): Likewise.
40375         (FPE_FLTDIV): Likewise.
40376         (FPE_FLTOVF): Likewise.
40377         (FPE_FLTUND): Likewise.
40378         (FPE_FLTRES): Likewise.
40379         (FPE_FLTINV): Likewise.
40380         (FPE_FLTSUB): Likewise.
40381         (SEGV_MAPERR): Likewise.
40382         (SEGV_ACCERR): Likewise.
40383         (BUS_ADRALN): Likewise.
40384         (BUS_ADRERR): Likewise.
40385         (BUS_OBJERR): Likewise.
40386         (BUS_MCEERR_AR): Likewise.
40387         (BUS_MCEERR_AO): Likewise.
40388         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40389         (TRAP_TRACE): Likewise.
40390         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40391         __USE_XOPEN2K8].
40392         (CLD_KILLED): Likewise.
40393         (CLD_DUMPED): Likewise.
40394         (CLD_TRAPPED): Likewise.
40395         (CLD_STOPPED): Likewise.
40396         (CLD_CONTINUED): Likewise.
40397         (POLL_IN): Likewise.
40398         (POLL_OUT): Likewise.
40399         (POLL_MSG): Likewise.
40400         (POLL_ERR): Likewise.
40401         (POLL_PRI): Likewise.
40402         (POLL_HUP): Likewise.
40403         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40404         (ILL_ILLOPN): Likewise.
40405         (ILL_ILLADR): Likewise.
40406         (ILL_ILLTRP): Likewise.
40407         (ILL_PRVOPC): Likewise.
40408         (ILL_PRVREG): Likewise.
40409         (ILL_COPROC): Likewise.
40410         (ILL_BADSTK): Likewise.
40411         (FPE_INTDIV): Likewise.
40412         (FPE_INTOVF): Likewise.
40413         (FPE_FLTDIV): Likewise.
40414         (FPE_FLTOVF): Likewise.
40415         (FPE_FLTUND): Likewise.
40416         (FPE_FLTRES): Likewise.
40417         (FPE_FLTINV): Likewise.
40418         (FPE_FLTSUB): Likewise.
40419         (SEGV_MAPERR): Likewise.
40420         (SEGV_ACCERR): Likewise.
40421         (BUS_ADRALN): Likewise.
40422         (BUS_ADRERR): Likewise.
40423         (BUS_OBJERR): Likewise.
40424         (BUS_MCEERR_AR): Likewise.
40425         (BUS_MCEERR_AO): Likewise.
40426         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40427         (TRAP_TRACE): Likewise.
40428         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40429         __USE_XOPEN2K8].
40430         (CLD_KILLED): Likewise.
40431         (CLD_DUMPED): Likewise.
40432         (CLD_TRAPPED): Likewise.
40433         (CLD_STOPPED): Likewise.
40434         (CLD_CONTINUED): Likewise.
40435         (POLL_IN): Likewise.
40436         (POLL_OUT): Likewise.
40437         (POLL_MSG): Likewise.
40438         (POLL_ERR): Likewise.
40439         (POLL_PRI): Likewise.
40440         (POLL_HUP): Likewise.
40441         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40442         Likewise.
40443         (ILL_ILLOPN): Likewise.
40444         (ILL_ILLADR): Likewise.
40445         (ILL_ILLTRP): Likewise.
40446         (ILL_PRVOPC): Likewise.
40447         (ILL_PRVREG): Likewise.
40448         (ILL_COPROC): Likewise.
40449         (ILL_BADSTK): Likewise.
40450         (ILL_BADIADDR): Likewise.
40451         (ILL_BREAK): Likewise.
40452         (FPE_INTDIV): Likewise.
40453         (FPE_INTOVF): Likewise.
40454         (FPE_FLTDIV): Likewise.
40455         (FPE_FLTOVF): Likewise.
40456         (FPE_FLTUND): Likewise.
40457         (FPE_FLTRES): Likewise.
40458         (FPE_FLTINV): Likewise.
40459         (FPE_FLTSUB): Likewise.
40460         (FPE_DECOVF): Likewise.
40461         (FPE_DECDIV): Likewise.
40462         (FPE_DECERR): Likewise.
40463         (FPE_INVASC): Likewise.
40464         (FPE_INVDEC): Likewise.
40465         (SEGV_MAPERR): Likewise.
40466         (SEGV_ACCERR): Likewise.
40467         (SEGV_PSTKOVF): Likewise.
40468         (BUS_ADRALN): Likewise.
40469         (BUS_ADRERR): Likewise.
40470         (BUS_OBJERR): Likewise.
40471         (BUS_MCEERR_AR): Likewise.
40472         (BUS_MCEERR_AO): Likewise.
40473         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40474         (TRAP_TRACE): Likewise.
40475         (TRAP_BRANCH): Likewise.
40476         (TRAP_HWBKPT): Likewise.
40477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40478         __USE_XOPEN2K8].
40479         (CLD_KILLED): Likewise.
40480         (CLD_DUMPED): Likewise.
40481         (CLD_TRAPPED): Likewise.
40482         (CLD_STOPPED): Likewise.
40483         (CLD_CONTINUED): Likewise.
40484         (POLL_IN): Likewise.
40485         (POLL_OUT): Likewise.
40486         (POLL_MSG): Likewise.
40487         (POLL_ERR): Likewise.
40488         (POLL_PRI): Likewise.
40489         (POLL_HUP): Likewise.
40490         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40491         (ILL_ILLOPN): Likewise.
40492         (ILL_ILLADR): Likewise.
40493         (ILL_ILLTRP): Likewise.
40494         (ILL_PRVOPC): Likewise.
40495         (ILL_PRVREG): Likewise.
40496         (ILL_COPROC): Likewise.
40497         (ILL_BADSTK): Likewise.
40498         (FPE_INTDIV): Likewise.
40499         (FPE_INTOVF): Likewise.
40500         (FPE_FLTDIV): Likewise.
40501         (FPE_FLTOVF): Likewise.
40502         (FPE_FLTUND): Likewise.
40503         (FPE_FLTRES): Likewise.
40504         (FPE_FLTINV): Likewise.
40505         (FPE_FLTSUB): Likewise.
40506         (SEGV_MAPERR): Likewise.
40507         (SEGV_ACCERR): Likewise.
40508         (BUS_ADRALN): Likewise.
40509         (BUS_ADRERR): Likewise.
40510         (BUS_OBJERR): Likewise.
40511         (BUS_MCEERR_AR): Likewise.
40512         (BUS_MCEERR_AO): Likewise.
40513         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40514         (TRAP_TRACE): Likewise.
40515         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40516         __USE_XOPEN2K8].
40517         (CLD_KILLED): Likewise.
40518         (CLD_DUMPED): Likewise.
40519         (CLD_TRAPPED): Likewise.
40520         (CLD_STOPPED): Likewise.
40521         (CLD_CONTINUED): Likewise.
40522         (POLL_IN): Likewise.
40523         (POLL_OUT): Likewise.
40524         (POLL_MSG): Likewise.
40525         (POLL_ERR): Likewise.
40526         (POLL_PRI): Likewise.
40527         (POLL_HUP): Likewise.
40528         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40529         (ILL_ILLOPN): Likewise.
40530         (ILL_ILLADR): Likewise.
40531         (ILL_ILLTRP): Likewise.
40532         (ILL_PRVOPC): Likewise.
40533         (ILL_PRVREG): Likewise.
40534         (ILL_COPROC): Likewise.
40535         (ILL_BADSTK): Likewise.
40536         (FPE_INTDIV): Likewise.
40537         (FPE_INTOVF): Likewise.
40538         (FPE_FLTDIV): Likewise.
40539         (FPE_FLTOVF): Likewise.
40540         (FPE_FLTUND): Likewise.
40541         (FPE_FLTRES): Likewise.
40542         (FPE_FLTINV): Likewise.
40543         (FPE_FLTSUB): Likewise.
40544         (SEGV_MAPERR): Likewise.
40545         (SEGV_ACCERR): Likewise.
40546         (BUS_ADRALN): Likewise.
40547         (BUS_ADRERR): Likewise.
40548         (BUS_OBJERR): Likewise.
40549         (BUS_MCEERR_AR): Likewise.
40550         (BUS_MCEERR_AO): Likewise.
40551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40552         (TRAP_TRACE): Likewise.
40553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40554         __USE_XOPEN2K8].
40555         (CLD_KILLED): Likewise.
40556         (CLD_DUMPED): Likewise.
40557         (CLD_TRAPPED): Likewise.
40558         (CLD_STOPPED): Likewise.
40559         (CLD_CONTINUED): Likewise.
40560         (POLL_IN): Likewise.
40561         (POLL_OUT): Likewise.
40562         (POLL_MSG): Likewise.
40563         (POLL_ERR): Likewise.
40564         (POLL_PRI): Likewise.
40565         (POLL_HUP): Likewise.
40566         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40567         (ILL_ILLOPN): Likewise.
40568         (ILL_ILLADR): Likewise.
40569         (ILL_ILLTRP): Likewise.
40570         (ILL_PRVOPC): Likewise.
40571         (ILL_PRVREG): Likewise.
40572         (ILL_COPROC): Likewise.
40573         (ILL_BADSTK): Likewise.
40574         (FPE_INTDIV): Likewise.
40575         (FPE_INTOVF): Likewise.
40576         (FPE_FLTDIV): Likewise.
40577         (FPE_FLTOVF): Likewise.
40578         (FPE_FLTUND): Likewise.
40579         (FPE_FLTRES): Likewise.
40580         (FPE_FLTINV): Likewise.
40581         (FPE_FLTSUB): Likewise.
40582         (SEGV_MAPERR): Likewise.
40583         (SEGV_ACCERR): Likewise.
40584         (BUS_ADRALN): Likewise.
40585         (BUS_ADRERR): Likewise.
40586         (BUS_OBJERR): Likewise.
40587         (BUS_MCEERR_AR): Likewise.
40588         (BUS_MCEERR_AO): Likewise.
40589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40590         (TRAP_TRACE): Likewise.
40591         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40592         __USE_XOPEN2K8].
40593         (CLD_KILLED): Likewise.
40594         (CLD_DUMPED): Likewise.
40595         (CLD_TRAPPED): Likewise.
40596         (CLD_STOPPED): Likewise.
40597         (CLD_CONTINUED): Likewise.
40598         (POLL_IN): Likewise.
40599         (POLL_OUT): Likewise.
40600         (POLL_MSG): Likewise.
40601         (POLL_ERR): Likewise.
40602         (POLL_PRI): Likewise.
40603         (POLL_HUP): Likewise.
40604         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40605         (ILL_ILLOPN): Likewise.
40606         (ILL_ILLADR): Likewise.
40607         (ILL_ILLTRP): Likewise.
40608         (ILL_PRVOPC): Likewise.
40609         (ILL_PRVREG): Likewise.
40610         (ILL_COPROC): Likewise.
40611         (ILL_BADSTK): Likewise.
40612         (ILL_DBLFLT): Likewise.
40613         (ILL_HARDWALL): Likewise.
40614         (FPE_INTDIV): Likewise.
40615         (FPE_INTOVF): Likewise.
40616         (FPE_FLTDIV): Likewise.
40617         (FPE_FLTOVF): Likewise.
40618         (FPE_FLTUND): Likewise.
40619         (FPE_FLTRES): Likewise.
40620         (FPE_FLTINV): Likewise.
40621         (FPE_FLTSUB): Likewise.
40622         (SEGV_MAPERR): Likewise.
40623         (SEGV_ACCERR): Likewise.
40624         (BUS_ADRALN): Likewise.
40625         (BUS_ADRERR): Likewise.
40626         (BUS_OBJERR): Likewise.
40627         (BUS_MCEERR_AR): Likewise.
40628         (BUS_MCEERR_AO): Likewise.
40629         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40630         (TRAP_TRACE): Likewise.
40631         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40632         __USE_XOPEN2K8].
40633         (CLD_KILLED): Likewise.
40634         (CLD_DUMPED): Likewise.
40635         (CLD_TRAPPED): Likewise.
40636         (CLD_STOPPED): Likewise.
40637         (CLD_CONTINUED): Likewise.
40638         (POLL_IN): Likewise.
40639         (POLL_OUT): Likewise.
40640         (POLL_MSG): Likewise.
40641         (POLL_ERR): Likewise.
40642         (POLL_PRI): Likewise.
40643         (POLL_HUP): Likewise.
40644         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40645         (ILL_ILLOPN): Likewise.
40646         (ILL_ILLADR): Likewise.
40647         (ILL_ILLTRP): Likewise.
40648         (ILL_PRVOPC): Likewise.
40649         (ILL_PRVREG): Likewise.
40650         (ILL_COPROC): Likewise.
40651         (ILL_BADSTK): Likewise.
40652         (FPE_INTDIV): Likewise.
40653         (FPE_INTOVF): Likewise.
40654         (FPE_FLTDIV): Likewise.
40655         (FPE_FLTOVF): Likewise.
40656         (FPE_FLTUND): Likewise.
40657         (FPE_FLTRES): Likewise.
40658         (FPE_FLTINV): Likewise.
40659         (FPE_FLTSUB): Likewise.
40660         (SEGV_MAPERR): Likewise.
40661         (SEGV_ACCERR): Likewise.
40662         (BUS_ADRALN): Likewise.
40663         (BUS_ADRERR): Likewise.
40664         (BUS_OBJERR): Likewise.
40665         (BUS_MCEERR_AR): Likewise.
40666         (BUS_MCEERR_AO): Likewise.
40667         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40668         (TRAP_TRACE): Likewise.
40669         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40670         __USE_XOPEN2K8].
40671         (CLD_KILLED): Likewise.
40672         (CLD_DUMPED): Likewise.
40673         (CLD_TRAPPED): Likewise.
40674         (CLD_STOPPED): Likewise.
40675         (CLD_CONTINUED): Likewise.
40676         (POLL_IN): Likewise.
40677         (POLL_OUT): Likewise.
40678         (POLL_MSG): Likewise.
40679         (POLL_ERR): Likewise.
40680         (POLL_PRI): Likewise.
40681         (POLL_HUP): Likewise.
40682         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40683         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40685         [BZ #16670]
40686         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40687         before #include of <time.h>.
40688         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40689         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40690         (test-xfail-UNIX98/sched.h/conform): Likewise.
40692 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40694         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40695         error absence of trapping exception support.
40696         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40698 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40700         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40701         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40702         * timezone/Makefile (testdata): Move definition above include of
40703         Rules.
40704         (test-zones): New variable.
40705         (tests-special): Add zone files.
40706         (build-testdata): Use $(evaluate-test).
40708         * elf/Makefile (tests-special): Rename tests to end with .out.
40709         ($(objpfx)noload-mem): Likewise.
40710         ($(objpfx)tst-leaks1-mem): Likewise.
40711         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40712         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40713         $(objpfx)test-iconvconfig.out.
40714         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40715         set -e inside subshell and redirect output to file.
40716         * iconvdata/Makefile (generated): Rename tests to end with .out.
40717         Correct type.
40718         (tests-special): Rename tests to end with .out.
40719         ($(objpfx)mtrace-tst-loading): Likewise.
40720         * intl/Makefile (generated): Likewise.
40721         (tests-special): Likewise.
40722         ($(objpfx)mtrace-tst-gettext): Likewise.
40723         * misc/Makefile (generated): Likewise.
40724         (tests-special): Likewise.
40725         ($(objpfx)tst-error1-mem): Likewise.
40726         * nptl/Makefile (tests-special): Likewise.
40727         ($(objpfx)tst-stack3-mem): Likewise.
40728         (generated): Likewise.
40729         * posix/Makefile (generated): Likewise.
40730         (tests-special): Likewise.
40731         (xtests-special): Likewise.
40732         ($(objpfx)tst-fnmatch-mem): Likewise.
40733         ($(objpfx)bug-regex2-mem): Likewise.
40734         ($(objpfx)bug-regex14-mem): Likewise.
40735         ($(objpfx)bug-regex21-mem): Likewise.
40736         ($(objpfx)bug-regex31-mem): Likewise.
40737         ($(objpfx)tst-vfork3-mem): Likewise.
40738         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40739         ($(objpfx)tst-pcre-mem): Likewise.
40740         ($(objpfx)tst-boost-mem): Likewise.
40741         ($(objpfx)bug-ga2-mem): Likewise.
40742         ($(objpfx)bug-glob2-mem): Likewise.
40743         * resolv/Makefile (generate): Likewise.
40744         (tests-special): Likewise.
40745         (xtests-special): Likewise.
40746         (generated): Likewise.
40747         ($(objpfx)mtrace-tst-leaks): Likewise.
40748         ($(objpfx)mtrace-tst-leaks2): Likewise.
40750         * scripts/merge-test-results.sh: New file.
40751         * Makefile (tests-special-notdir): New variable.
40752         (tests): Run merge-test-results.sh.
40753         (xtests): Likewise.
40754         * Rules (tests-special-notdir): New variable.
40755         (xtests-special-notdir): Likewise.
40756         (tests): Run merge-test-results.sh
40757         (xtests): Likewise.
40759         * Makeconfig (test-xfail-name): New variable.
40760         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40761         compute variable name for expected failures.
40762         * conform/Makefile (conformtest-headers-data): New variable.
40763         (conformtest-standards): Likewise.
40764         (conformtest-headers-ISO): Likewise.
40765         (conformtest-headers-ISO99): Likewise.
40766         (conformtest-headers-ISO11): Likewise.
40767         (conformtest-headers-POSIX): Likewise.
40768         (conformtest-headers-XPG3): Likewise.
40769         (conformtest-headers-XPG4): Likewise.
40770         (conformtest-headers-UNIX98): Likewise.
40771         (conformtest-headers-XOPEN2K): Likewise.
40772         (conformtest-headers-POSIX2008): Likewise.
40773         (conformtest-headers-XOPEN2K8): Likewise.
40774         (conformtest-header-list-base): Likewise.
40775         (conformtest-header-list-tests): Likewise.
40776         (conformtest-header-base): Likewise.
40777         (conformtest-header-tests): Likewise.
40778         (tests-special): Add $(conformtest-header-list-tests).  If
40779         [$(fast-check) && !$(cross-compiling)], add
40780         $(conformtest-header-tests) instead of
40781         $(objpfx)run-conformtest.out.
40782         (generated): Add $(conformtest-header-list-base).  If
40783         [$(fast-check) && !$(cross-compiling)], add
40784         $(conformtest-header-base).  Remove previous setting.
40785         ($(conformtest-header-list-tests)): New target.
40786         (test-xfail-run-conformtest): Remove variable.
40787         ($(objpfx)run-conformtest.out): Remove target.
40788         (test-xfail-ISO11/complex.h/conform): New variable.
40789         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40790         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40791         (test-xfail-XPG3/varargs.h/conform): Likewise.
40792         (test-xfail-XPG4/varargs.h/conform): Likewise.
40793         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40794         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40795         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40796         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40797         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40798         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40799         (test-xfail-XPG3/ftw.h/conform): Likewise.
40800         (test-xfail-XPG3/grp.h/conform): Likewise.
40801         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40802         (test-xfail-XPG3/limits.h/conform): Likewise.
40803         (test-xfail-XPG3/pwd.h/conform): Likewise.
40804         (test-xfail-XPG3/search.h/conform): Likewise.
40805         (test-xfail-XPG3/signal.h/conform): Likewise.
40806         (test-xfail-XPG3/stdio.h/conform): Likewise.
40807         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40808         (test-xfail-XPG3/string.h/conform): Likewise.
40809         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40810         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40811         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40812         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40813         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40814         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40815         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40816         (test-xfail-XPG3/termios.h/conform): Likewise.
40817         (test-xfail-XPG3/time.h/conform): Likewise.
40818         (test-xfail-XPG3/unistd.h/conform): Likewise.
40819         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40820         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40821         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40822         (test-xfail-XPG4/netdb.h/conform): Likewise.
40823         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40824         (test-xfail-XPG4/signal.h/conform): Likewise.
40825         (test-xfail-XPG4/stdio.h/conform): Likewise.
40826         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40827         (test-xfail-XPG4/stropts.h/conform): Likewise.
40828         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40829         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40830         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40831         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40832         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40833         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40834         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40835         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40836         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40837         (test-xfail-XPG4/termios.h/conform): Likewise.
40838         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40839         (test-xfail-XPG4/unistd.h/conform): Likewise.
40840         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40841         (test-xfail-POSIX/sched.h/conform): Likewise.
40842         (test-xfail-POSIX/signal.h/conform): Likewise.
40843         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40844         (test-xfail-POSIX/tar.h/conform): Likewise.
40845         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40846         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40847         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40848         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40849         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40850         (test-xfail-UNIX98/sched.h/conform): Likewise.
40851         (test-xfail-UNIX98/signal.h/conform): Likewise.
40852         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40853         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40854         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40855         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40856         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40857         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40858         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40859         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40860         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40861         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40862         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40863         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40864         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40865         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40866         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40867         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40868         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40869         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40870         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40871         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40872         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40873         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40874         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40875         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40876         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40877         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40878         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40879         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40880         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40881         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40882         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40883         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40884         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40885         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40886         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40887         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40888         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40889         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40890         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40891         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40892         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40893         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40894         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40895         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40896         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40897         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40898         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40899         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40900         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40901         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40902         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40903         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40904         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40905         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40906         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40907         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40908         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40909         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40910         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40911         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40912         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40913         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40914         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40915         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40916         (conformtest-cc-flags): Likewise.
40917         ($(conformtest-header-tests): New target.
40918         * conform/check-header-lists.sh: New file.
40919         * conform/run-conformtest.sh: Remove.
40921         * conform/conformtest.pl: Allow ' and \ in values given for
40922         constants.
40923         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40924         inclusion.
40925         [POSIX] (sys/types.h): Likewise.
40926         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40927         inclusion.
40928         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40929         inclusion.
40930         * conform/data/signal.h-data (SIGIO): Remove expectation.
40931         [XPG3] (SIGBUS): Do not expect.
40932         [POSIX || XPG3] (SIGPOLL): Likewise.
40933         [POSIX || XPG3] (SIGPROF): Likewise.
40934         [POSIX || XPG3] (SIGSYS): Likewise.
40935         [XPG3] (SIGTRAP): Likewise.
40936         [POSIX || XPG3] (SIGURG): Likewise.
40937         [POSIX || XPG3] (SIGVTALRM): Likewise.
40938         [POSIX || XPG3] (SIGXCPU): Likewise.
40939         [POSIX || XPG3] (SIGXFSZ): Likewise.
40940         [POSIX] (SA_SIGINFO): Expect.
40941         [XPG3] (siginfo_t): Do not expect type or contents.
40942         [POSIX] (si_pid): Do not expect element.
40943         [POSIX] (si_uid): Likewise.
40944         [POSIX] (si_addr): Likewise.
40945         [POSIX] (si_status): Likewise.
40946         [POSIX] (si_band): Likewise.
40947         [XPG4] (si_value): Likewise.
40948         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40949         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40950         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40951         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40952         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40953         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40954         [POSIX || XPG3] (ILL_COPROC): Likewise.
40955         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40956         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40957         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40958         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40959         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40960         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40961         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40962         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40963         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40964         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40965         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40966         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40967         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40968         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40969         [POSIX || XPG3] (CLD_EXITED): Likewise.
40970         [POSIX || XPG3] (CLD_KILLED): Likewise.
40971         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40972         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40973         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40974         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40975         [POSIX || XPG3] (POLL_IN): Likewise.
40976         [POSIX || XPG3] (POLL_OUT): Likewise.
40977         [POSIX || XPG3] (POLL_MSG): Likewise.
40978         [POSIX || XPG3] (POLL_ERR): Likewise.
40979         [POSIX || XPG3] (POLL_PRI): Likewise.
40980         [POSIX || XPG3] (POLL_HUP): Likewise.
40981         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40982         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40983         (SIG*): Do not allow.
40984         [XPG3] (si_*): Likewise.
40985         [XPG3] (SI_*): Likewise.
40986         [XPG3 || XPG4] (sigev_*): Likewise.
40987         [XPG3 || XPG4] (SIGEV_*): Likewise.
40988         [XPG3 || XPG4] (sival_*): Likewise.
40989         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40990         [POSIX || XPG3] (BUS_*): Likewise.
40991         [POSIX || XPG3] (CLD_*): Likewise.
40992         [POSIX || XPG3] (FPE_*): Likewise.
40993         [POSIX || XPG3] (ILL_*): Likewise.
40994         [POSIX || XPG3] (POLL_*): Likewise.
40995         [POSIX || XPG3] (SEGV_*): Likewise.
40996         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40997         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40998         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40999         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41000         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41001         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41002         Specify type and value.
41003         (TVERSLEN): Likewise.
41004         (REGTYPE): Likewise.
41005         (AREGTYPE): Likewise.
41006         (LNKTYPE): Likewise.
41007         (SYMTYPE): Likewise.
41008         (CHRTYPE): Likewise.
41009         (BLKTYPE): Likewise.
41010         (DIRTYPE): Likewise.
41011         (FIFOTYPE): Likewise.
41012         (CONTTYPE): Likewise.
41013         (TSUID): Likewise.
41014         (TSGID): Likewise.
41015         (TSVTX): Likewise.
41016         (TUREAD): Likewise.
41017         (TUWRITE): Likewise.
41018         (TUEXEC): Likewise.
41019         (TGREAD): Likewise.
41020         (TGWRITE): Likewise.
41021         (TGEXEC): Likewise.
41022         (TOREAD): Likewise.
41023         (TOWRITE): Likewise.
41024         (TOEXEC): Likewise.
41025         [POSIX] (TSVTX): Expect constant.
41027 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41029         * Makefile (tests): Change dependencies to ....
41030         (tests-special): ... additions to this variable.
41031         (tests): Depend on $(tests-special).
41032         * Makerules (check-abi-list): New variable.
41033         (check-abi): Depend on $(check-abi-list).
41034         [$(subdir) = elf] (tests-special): Add
41035         $(objpfx)check-abi-libc.out.
41036         [$(build-shared) = yes && subdir] (tests-special): Add
41037         $(check-abi-list).
41038         [$(build-shared) = yes && subdir] (tests): Do not depend on
41039         check-abi.
41040         * Rules (tests): Depend on $(tests-special).
41041         (xtests): Depend on $(xtests-special).
41042         * catgets/Makefile (tests): Change dependencies to ....
41043         (tests-special): ... additions to this variable.
41044         * conform/Makefile (tests): Change dependencies to ....
41045         (tests-special): ... additions to this variable.
41046         * elf/Makefile (tests): Change dependencies to ....
41047         (tests-special): ... additions to this variable.
41048         * grp/Makefile (tests): Change dependencies to ....
41049         (tests-special): ... additions to this variable.
41050         * iconv/Makefile (xtests): Change dependencies to ....
41051         (xtests-special): ... additions to this variable.
41052         * iconvdata/Makefile (tests): Change dependencies to ....
41053         (tests-special): ... additions to this variable.
41054         * intl/Makefile (tests): Change dependencies to ....
41055         (tests-special): ... additions to this variable.  Also add
41056         $(objpfx)tst-gettext.out.
41057         * io/Makefile (tests): Change dependencies to ....
41058         (tests-special): ... additions to this variable.
41059         * libio/Makefile (tests): Change dependencies to ....
41060         (tests-special): ... additions to this variable.
41061         * malloc/Makefile (tests): Change dependencies to ....
41062         (tests-special): ... additions to this variable.
41063         * misc/Makefile (tests): Change dependencies to ....
41064         (tests-special): ... additions to this variable.
41065         * nptl/Makefile (tests): Change dependencies to ....
41066         (tests-special): ... additions to this variable.
41067         * nptl_db/Makefile (tests): Change dependencies to ....
41068         (tests-special): ... additions to this variable.
41069         * posix/Makefile (tests): Change dependencies to ....
41070         (tests-special): ... additions to this variable.
41071         (xtests): Change dependencies to ....
41072         (xtests-special): ... additions to this variable.
41073         * resolv/Makefile (tests): Change dependencies to ....
41074         (tests-special): ... additions to this variable.
41075         (xtests): Change dependencies to ....
41076         (xtests-special): ... additions to this variable.
41077         * stdio-common/Makefile (tests): Change dependencies to ....
41078         (tests-special): ... additions to this variable.
41079         (do-tst-unbputc): Remove target.
41080         (do-tst-printf): Likewise.
41081         * stdlib/Makefile (tests): Change dependencies to ....
41082         (tests-special): ... additions to this variable.
41083         * string/Makefile (tests): Change dependencies to ....
41084         (tests-special): ... additions to this variable.
41085         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41086         (tests-special): ... additions to this variable.
41088         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41089         whole file.
41090         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41091         whole file.
41092         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41093         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41095         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41096         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41097         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41098         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41099         * conform/data/libgen.h-data [XPG3]: Likewise.
41100         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41101         * conform/data/ndbm.h-data [XPG3]: Likewise.
41102         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41103         * conform/data/netdb.h-data [XPG3]: Likewise.
41104         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41105         * conform/data/poll.h-data [XPG3]: Likewise.
41106         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41107         * conform/data/strings.h-data [XPG3]: Likewise.
41108         * conform/data/stropts.h-data [XPG3]: Likewise.
41109         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41110         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41111         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41112         Likewise.
41113         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41114         * conform/data/sys/time.h-data [XPG3]: Likewise.
41115         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41116         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41117         * conform/data/sys/un.h-data [XPG3]: Likewise.
41118         * conform/data/syslog.h-data [XPG3]: Likewise.
41119         * conform/data/ucontext.h-data [XPG3]: Likewise.
41120         * conform/data/utmpx.h-data [XPG3]: Likewise.
41121         * conform/data/varargs.h-data [UNIX98]: Enable file.
41123         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41125         * math/libm-test.inc (struct test_f_f_data): Move expected results
41126         into structure for each rounding mode.
41127         (struct test_ff_f_data): Likewise.
41128         (struct test_ff_f_data_nexttoward): Likewise.
41129         (struct test_fi_f_data): Likewise.
41130         (struct test_fl_f_data): Likewise.
41131         (struct test_if_f_data): Likewise.
41132         (struct test_fff_f_data): Likewise.
41133         (struct test_c_f_data): Likewise.
41134         (struct test_f_f1_data): Likewise.
41135         (struct test_fF_f1_data): Likewise.
41136         (struct test_ffI_f1_data): Likewise.
41137         (struct test_c_c_data): Likewise.
41138         (struct test_cc_c_data): Likewise.
41139         (struct test_f_i_data): Likewise.
41140         (struct test_ff_i_data): Likewise.
41141         (struct test_f_l_data): Likewise.
41142         (struct test_f_L_data): Likewise.
41143         (struct test_fFF_11_data): Likewise.
41144         (RM_): New macro.
41145         (RM_FE_DOWNWARD): Likewise.
41146         (RM_FE_TONEAREST): Likewise.
41147         (RM_FE_TOWARDZERO): Likewise.
41148         (RM_FE_UPWARD): Likewise.
41149         (RUN_TEST_LOOP_f_f): Update references to expected results.
41150         (RUN_TEST_LOOP_2_f): Likewise.
41151         (RUN_TEST_LOOP_fff_f): Likewise.
41152         (RUN_TEST_LOOP_c_f): Likewise.
41153         (RUN_TEST_LOOP_f_f1): Likewise.
41154         (RUN_TEST_LOOP_fF_f1): Likewise.
41155         (RUN_TEST_LOOP_fI_f1): Likewise.
41156         (RUN_TEST_LOOP_ffI_f1): Likewise.
41157         (RUN_TEST_LOOP_c_c): Likewise.
41158         (RUN_TEST_LOOP_cc_c): Likewise.
41159         (RUN_TEST_LOOP_f_i): Likewise.
41160         (RUN_TEST_LOOP_f_i_tg): Likewise.
41161         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41162         (RUN_TEST_LOOP_f_b): Likewise.
41163         (RUN_TEST_LOOP_f_b_tg): Likewise.
41164         (RUN_TEST_LOOP_f_l): Likewise.
41165         (RUN_TEST_LOOP_f_L): Likewise.
41166         (RUN_TEST_LOOP_fFF_11): Likewise.
41167         * math/gen-libm-test.pl (parse_args): Output four copies of
41168         expected results for each test.
41170         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41171         (__ASSUME_UTIMES): Remove.
41172         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41173         (__ASSUME_UTIMES): Likewise.
41175         * math/gen-auto-libm-tests.c: Update comment on output format.
41176         (output_for_one_input_case): Generate before-rounding and
41177         after-rounding information as conditions on output flags not
41178         floating-point format.
41179         * math/auto-libm-test-out: Regenerated.
41180         * math/gen-libm-test.pl (cond_value): New function.
41181         (or_cond_value): Use cond_value.
41182         (generate_testfile): Handle conditional exceptions.
41184 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41186         * math/libm-test.inc (max_valid_error): New variable.
41187         (init_max_error): Take new argument specifying whether function
41188         results are exactly determined.  Set max_valid_error and bound
41189         other variables for errors based on this argument.
41190         (set_max_error): Do not record results above max_valid_error.
41191         (check_float_internal): Only accept errors of up to 0.5ulps if
41192         also at most max_valid_error.
41193         (START): Take new argument EXACT and pass it to init_max_error.
41194         (acos_test): Update call to START.
41195         (acos_test_tonearest): Likewise.
41196         (acos_test_towardzero): Likewise.
41197         (acos_test_downward): Likewise.
41198         (acos_test_upward): Likewise.
41199         (acosh_test): Likewise.
41200         (asin_test): Likewise.
41201         (asin_test_tonearest): Likewise.
41202         (asin_test_towardzero): Likewise.
41203         (asin_test_downward): Likewise.
41204         (asin_test_upward): Likewise.
41205         (asinh_test): Likewise.
41206         (atan_test): Likewise.
41207         (atanh_test): Likewise.
41208         (atan2_test): Likewise.
41209         (cabs_test): Likewise.
41210         (cacos_test): Likewise.
41211         (cacosh_test): Likewise.
41212         (carg_test): Likewise.
41213         (casin_test): Likewise.
41214         (casinh_test): Likewise.
41215         (catan_test): Likewise.
41216         (catanh_test): Likewise.
41217         (cbrt_test): Likewise.
41218         (ccos_test): Likewise.
41219         (ccosh_test): Likewise.
41220         (ceil_test): Likewise.
41221         (cexp_test): Likewise.
41222         (cimag_test): Likewise.
41223         (clog_test): Likewise.
41224         (clog10_test): Likewise.
41225         (conj_test): Likewise.
41226         (copysign_test): Likewise.
41227         (cos_test): Likewise.
41228         (cos_test_tonearest): Likewise.
41229         (cos_test_towardzero): Likewise.
41230         (cos_test_downward): Likewise.
41231         (cos_test_upward): Likewise.
41232         (cosh_test): Likewise.
41233         (cosh_test_tonearest): Likewise.
41234         (cosh_test_towardzero): Likewise.
41235         (cosh_test_downward): Likewise.
41236         (cosh_test_upward): Likewise.
41237         (cpow_test): Likewise.
41238         (cproj_test): Likewise.
41239         (creal_test): Likewise.
41240         (csin_test): Likewise.
41241         (csinh_test): Likewise.
41242         (csqrt_test): Likewise.
41243         (ctan_test): Likewise.
41244         (ctan_test_tonearest): Likewise.
41245         (ctan_test_towardzero): Likewise.
41246         (ctan_test_downward): Likewise.
41247         (ctan_test_upward): Likewise.
41248         (ctanh_test): Likewise.
41249         (ctanh_test_tonearest): Likewise.
41250         (ctanh_test_towardzero): Likewise.
41251         (ctanh_test_downward): Likewise.
41252         (ctanh_test_upward): Likewise.
41253         (erf_test): Likewise.
41254         (erfc_test): Likewise.
41255         (exp_test): Likewise.
41256         (exp_test_tonearest): Likewise.
41257         (exp_test_towardzero): Likewise.
41258         (exp_test_downward): Likewise.
41259         (exp_test_upward): Likewise.
41260         (exp10_test): Likewise.
41261         (exp10_test_tonearest): Likewise.
41262         (exp10_test_towardzero): Likewise.
41263         (exp10_test_downward): Likewise.
41264         (exp10_test_upward): Likewise.
41265         (pow10_test): Likewise.
41266         (exp2_test): Likewise.
41267         (expm1_test): Likewise.
41268         (expm1_test_tonearest): Likewise.
41269         (expm1_test_towardzero): Likewise.
41270         (expm1_test_downward): Likewise.
41271         (expm1_test_upward): Likewise.
41272         (fabs_test): Likewise.
41273         (fdim_test): Likewise.
41274         (floor_test): Likewise.
41275         (fma_test): Likewise.
41276         (fma_test_towardzero): Likewise.
41277         (fma_test_downward): Likewise.
41278         (fma_test_upward): Likewise.
41279         (fmax_test): Likewise.
41280         (fmin_test): Likewise.
41281         (fmod_test): Likewise.
41282         (fpclassify_test): Likewise.
41283         (frexp_test): Likewise.
41284         (hypot_test): Likewise.
41285         (ilogb_test): Likewise.
41286         (isfinite_test): Likewise.
41287         (finite_test): Likewise.
41288         (isgreater_test): Likewise.
41289         (isgreaterequal_test): Likewise.
41290         (isinf_test): Likewise.
41291         (isless_test): Likewise.
41292         (islessequal_test): Likewise.
41293         (islessgreater_test): Likewise.
41294         (isnan_test): Likewise.
41295         (isnormal_test): Likewise.
41296         (issignaling_test): Likewise.
41297         (isunordered_test): Likewise.
41298         (j0_test): Likewise.
41299         (j1_test): Likewise.
41300         (jn_test): Likewise.
41301         (ldexp_test): Likewise.
41302         (lgamma_test): Likewise.
41303         (gamma_test): Likewise.
41304         (lrint_test): Likewise.
41305         (lrint_test_tonearest): Likewise.
41306         (lrint_test_towardzero): Likewise.
41307         (lrint_test_downward): Likewise.
41308         (lrint_test_upward): Likewise.
41309         (llrint_test): Likewise.
41310         (llrint_test_tonearest): Likewise.
41311         (llrint_test_towardzero): Likewise.
41312         (llrint_test_downward): Likewise.
41313         (llrint_test_upward): Likewise.
41314         (log_test): Likewise.
41315         (log10_test): Likewise.
41316         (log1p_test): Likewise.
41317         (log2_test): Likewise.
41318         (logb_test): Likewise.
41319         (logb_test_downward): Likewise.
41320         (lround_test): Likewise.
41321         (llround_test): Likewise.
41322         (modf_test): Likewise.
41323         (nearbyint_test): Likewise.
41324         (nextafter_test): Likewise.
41325         (nexttoward_test): Likewise.
41326         (pow_test): Likewise.
41327         (pow_test_tonearest): Likewise.
41328         (pow_test_towardzero): Likewise.
41329         (pow_test_downward): Likewise.
41330         (pow_test_upward): Likewise.
41331         (remainder_test): Likewise.
41332         (drem_test): Likewise.
41333         (remainder_test_tonearest): Likewise.
41334         (drem_test_tonearest): Likewise.
41335         (remainder_test_towardzero): Likewise.
41336         (drem_test_towardzero): Likewise.
41337         (remainder_test_downward): Likewise.
41338         (drem_test_downward): Likewise.
41339         (remainder_test_upward): Likewise.
41340         (drem_test_upward): Likewise.
41341         (remquo_test): Likewise.
41342         (rint_test): Likewise.
41343         (rint_test_tonearest): Likewise.
41344         (rint_test_towardzero): Likewise.
41345         (rint_test_downward): Likewise.
41346         (rint_test_upward): Likewise.
41347         (round_test): Likewise.
41348         (scalb_test): Likewise.
41349         (scalbn_test): Likewise.
41350         (scalbln_test): Likewise.
41351         (signbit_test): Likewise.
41352         (sin_test): Likewise.
41353         (sin_test_tonearest): Likewise.
41354         (sin_test_towardzero): Likewise.
41355         (sin_test_downward): Likewise.
41356         (sin_test_upward): Likewise.
41357         (sincos_test): Likewise.
41358         (sinh_test): Likewise.
41359         (sinh_test_tonearest): Likewise.
41360         (sinh_test_towardzero): Likewise.
41361         (sinh_test_downward): Likewise.
41362         (sinh_test_upward): Likewise.
41363         (sqrt_test): Likewise.
41364         (sqrt_test_tonearest): Likewise.
41365         (sqrt_test_towardzero): Likewise.
41366         (sqrt_test_downward): Likewise.
41367         (sqrt_test_upward): Likewise.
41368         (tan_test): Likewise.
41369         (tan_test_tonearest): Likewise.
41370         (tan_test_towardzero): Likewise.
41371         (tan_test_downward): Likewise.
41372         (tan_test_upward): Likewise.
41373         (tanh_test): Likewise.
41374         (tgamma_test): Likewise.
41375         (trunc_test): Likewise.
41376         (y0_test): Likewise.
41377         (y1_test): Likewise.
41378         (yn_test): Likewise.
41379         (significand_test): Likewise.
41381         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41382         individual tests in comment.
41383         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41384         (prev_max_error): New variable.
41385         (prev_real_max_error): Likewise.
41386         (prev_imag_max_error): Likewise.
41387         (compare_ulp_data): Don't refer to test names in comment.
41388         (find_test_ulps): Remove function.
41389         (find_function_ulps): Likewise.
41390         (find_complex_function_ulps): Likewise.
41391         (init_max_error): Take function name as argument.  Look up ulps
41392         for that function.
41393         (print_ulps): Remove function.
41394         (print_max_error): Use prev_max_error instead of calling
41395         find_function_ulps.
41396         (print_complex_max_error): Use prev_real_max_error and
41397         prev_imag_max_error instead of calling find_complex_function_ulps.
41398         (check_float_internal): Take max_ulp parameter instead of calling
41399         find_test_ulps.  Don't call print_ulps.
41400         (check_float): Update call to check_float_internal.
41401         (check_complex): Update calls to check_float_internal.
41402         (START): Pass argument to init_max_error.
41403         * math/gen-libm-test.pl (%results): Don't include "kind"
41404         information.
41405         (parse_ulps): Don't handle ulps of individual tests.
41406         (print_ulps_file): Likewise.
41407         (output_ulps): Likewise.
41408         * math/README.libm-test: Update.
41409         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41410         individual tests.
41411         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41412         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41413         * sysdeps/arm/libm-test-ulps: Likewise.
41414         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41415         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41416         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41417         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41418         * sysdeps/microblaze/libm-test-ulps: Likewise.
41419         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41420         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41422         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41423         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41424         * sysdeps/sh/libm-test-ulps: Likewise.
41425         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41426         * sysdeps/tile/libm-test-ulps: Likewise.
41427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41429 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41431         * math/libm-test.inc (print_complex_max_error): Check separately
41432         whether real and imaginary errors are within allowed range and
41433         pass 0 to print_complex_function_ulps instead of value within
41434         allowed range.
41436 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41438         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41439         formatting.
41440         (get_handles_fopen): Likewise.
41441         (do_write_test): Likewise.
41443         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41445         * libio/fileops.c (do_ftell): Use cached offset when
41446         available.
41447         * libio/iofwide.c (do_ftell_wide): Likewise.
41448         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41449         _IO_file_attach.
41450         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41452         [BZ #16532]
41453         * libio/libioP.h (get_file_offset): New function.
41454         * libio/fileops.c (get_file_offset): Likewise.
41455         (do_ftell): Likewise.
41456         (_IO_new_file_seekoff): Split out ftell logic.
41457         * libio/wfileops.c (do_ftell_wide): Likewise.
41458         (_IO_wfile_seekoff): Split out ftell logic.
41459         * libio/tst-ftell-active-handler.c: New test case.
41460         * libio/Makefile (tests): Add it.
41462 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41464         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41465         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41467 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41469         [BZ #16639]
41470         * nscd/connections.c (nscd_init): Call do_exit.
41471         (start_threads): Call do_exit and notify_parent.
41472         (begin_drop_privileges): Call do_exit.
41473         (finish_drop_privileges): Likewise.
41474         * nscd/selinux.c (preserve_capabilities): Likewise.
41475         (install_real_capabilities): Likewise.
41476         (nscd_selinux_enabled): Likewise.
41477         (avc_create_thread): Likewise.
41478         (avc_alloc_lock): Likewise.
41479         (nscd_avc_init): Likewise.
41480         * nscd/nscd.c (parent_fd): New static variable.
41481         (main): Create a pipe between parent and child processes.
41482         Skip closing parent_fd.
41483         (monitor_child): New function.
41484         (do_exit): Likewise.
41485         (notify_parent): Likewise.
41486         * nscd/nscd.h (notify_parent): Likewise.
41487         (do_exit): Likewise.
41489 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41491         * malloc/malloc.c (__libc_calloc): Revert last change.
41493 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41497 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41499         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41501         implementation.
41502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41503         (__libc_ifunc_impl_list): Likewise.
41504         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41505         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41506         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41507         * string/strrchr.c: Define STRRCHR.
41509 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41511         * benchtest/bench-strtok.c (simple_strtok): Delete.
41512         (strtok_string): Use as benchmark.
41513         * string/strtok (STRTOK): New macro.
41515 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41517         * manual/threads.texi: Add header and standard comments to all
41518         functions.
41520         * elf/dl-lookup.c (check_match): New function.
41521         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41522         (do_lookup_x): Remove nested function check_match. Use non-nested
41523         function check_match.
41525 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41527         * csu/Makefile (generated, before-compile): Use += rather than =.
41528         * catgets/Makefile (generated, generated-dirs): Likewise.
41529         * debug/Makefile (generated): Likewise.
41530         * dlfcn/Makefile (generated): Likewise.
41531         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41532         * iconvdata/Makefile (before-compile, generated): Likewise.
41533         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41534         * libio/Makefile (generated): Likewise.
41535         * malloc/Makefile (generated): Likewise.
41536         * manual/Makefile (generated, generated-dirs): Likewise.
41537         * misc/Makefile (generated): Likewise.
41538         * posix/Makefile (generated): Likewise.
41539         * resolv/Makefile (generated): Likewise.
41540         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41541         * timezone/Makefile (generated, generated-dirs): Likewise.
41543         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41545 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41548         power8 implementation.
41549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41550         file: POWER8 llround ifunc implementation.
41551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41552         (__lllround): Add POWER8 implementation.
41553         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41554         POWER8 llround implementation.
41556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41557         power8 implementation.
41558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41559         file: POWER8 llrint ifunc implementation.
41560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41561         Add POWER8 implementation.
41562         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41563         POWER8 llrint implementation.
41565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41566         power8 implementation.
41567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41568         file: POWER8 finite ifunc implementation.
41569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41570         Add POWER8 implementation.
41571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41572         Likewise.
41573         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41574         POWER8 finite implementation.
41575         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41578         power8 implementation.
41579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41580         file: POWER8 isinf ifunc implementation.
41581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41582         POWER8 implementation.
41583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41584         Likewise.
41585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41586         isinf implementation.
41587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41589         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41590         (INIT_ARCH): Add hwcap2 initialization.
41591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41592         power8 implementation.
41593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41594         file: POWER8 isnan ifunc implementation.
41595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41596         POWER8 implementation.
41597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41598         Likewise.
41599         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41600         isnan implementation.
41601         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41603 2014-02-27  Joey Ye  <joey.ye@arm.com>
41605         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41606         (_FP_NANFRAC_Q): Set to zero.
41608 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41610         [BZ #16623]
41611         * math/auto-libm-test-in: New test inputs.
41612         * math/auto-libm-test-out: Regenerate.
41613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41614         and DA.
41615         (__cos): Likewise.
41616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41618 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41620         * scripts/evaluate-test.sh: Take new argument indicating whether
41621         failure is expected.
41622         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41623         indicating whether failure is expected.
41624         * conform/Makefile (test-xfail-run-conformtest): New variable.
41625         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41626         level.
41627         * posix/Makefile (test-xfail-annexc): New variable.
41628         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41630 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41632         * argp/Makefile: Include Makeconfig immediately after defining
41633         subdir.
41634         * assert/Makefile: Likewise.
41635         * benchtests/Makefile: Likewise.
41636         * catgets/Makefile: Likewise.
41637         * conform/Makefile: Likewise.
41638         * crypt/Makefile: Likewise.
41639         * csu/Makefile: Likewise.
41640         (all): Remove target.
41641         * ctype/Makefile: Include Makeconfig immediately after defining
41642         subdir.
41643         * debug/Makefile: Likewise.
41644         * dirent/Makefile: Likewise.
41645         * dlfcn/Makefile: Likewise.
41646         * gmon/Makefile: Likewise.
41647         * gnulib/Makefile: Likewise.
41648         * grp/Makefile: Likewise.
41649         * gshadow/Makefile: Likewise.
41650         * hesiod/Makefile: Likewise.
41651         * hurd/Makefile: Likewise.
41652         (all): Remove target.
41653         * iconvdata/Makefile: Include Makeconfig immediately after
41654         defining subdir.
41655         * inet/Makefile: Likewise.
41656         * intl/Makefile: Likewise.
41657         * io/Makefile: Likewise.
41658         * libio/Makefile: Likewise.
41659         (all): Remove target.
41660         * locale/Makefile: Include Makeconfig immediately after defining
41661         subdir.
41662         * login/Makefile: Likewise.
41663         * mach/Makefile: Likewise.
41664         (all): Remove target.
41665         * malloc/Makefile: Include Makeconfig immediately after defining
41666         subdir.
41667         (all): Remove target.
41668         * manual/Makefile: Include Makeconfig immediately after defining
41669         subdir.
41670         * math/Makefile: Likewise.
41671         * misc/Makefile: Likewise.
41672         * nis/Makefile: Likewise.
41673         * nss/Makefile: Likewise.
41674         * po/Makefile: Likewise.
41675         (all): Remove target.
41676         * posix/Makefile: Include Makeconfig immediately after defining
41677         subdir.
41678         * pwd/Makefile: Likewise.
41679         * resolv/Makefile: Likewise.
41680         * resource/Makefile: Likewise.
41681         * rt/Makefile: Likewise.
41682         * setjmp/Makefile: Likewise.
41683         * shadow/Makefile: Likewise.
41684         * signal/Makefile: Likewise.
41685         * socket/Makefile: Likewise.
41686         * soft-fp/Makefile: Likewise.
41687         * stdio-common/Makefile: Likewise.
41688         * stdlib/Makefile: Likewise.
41689         * streams/Makefile: Likewise.
41690         * string/Makefile: Likewise.
41691         * sunrpc/Makefile: Likewise.
41692         (all): Remove target.
41693         * sysvipc/Makefile: Include Makeconfig immediately after defining
41694         subdir.
41695         * termios/Makefile: Likewise.
41696         * time/Makefile: Likewise.
41697         * timezone/Makefile: Likewise.
41698         (all): Remove target.
41699         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41700         subdir.
41701         * wctype/Makefile: Likewise.
41703 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41705         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41706         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41707         (libc_feholdexcept_setround_mips): Ditto.
41708         (libc_feholdsetround): New.
41709         (libc_feholdsetroundf): New.
41710         (libc_feholdsetroundl): New.
41711         (libc_feupdateenv_test_mips): New.
41712         (libc_feupdateenv_test): New.
41713         (libc_feupdateenv_testf): New.
41714         (libc_feupdateenv_testl): New.
41715         (libc_feresetround): New.
41716         (libc_feresetroundf): New.
41717         (libc_feresetroundl): New.
41718         (libc_fetestexcept_mips): New.
41719         (libc_fetestexcept): New.
41720         (libc_fetestexceptf): New.
41721         (libc_fetestexceptl): New.
41722         (HAVE_RM_CTX): New.
41723         (libc_feholdexcept_setround_mips_ctx): New.
41724         (libc_feholdexcept_setround_ctx): New.
41725         (libc_feholdexcept_setroundf_ctx): New.
41726         (libc_feholdexcept_setroundl_ctx): New.
41727         (libc_fesetenv_mips_ctx): New.
41728         (libc_fesetenv_ctx): New.
41729         (libc_fesetenv_ctxf): New.
41730         (libc_fesetenv_ctxl): New.
41731         (libc_feupdateenv_mips_ctx): New.
41732         (libc_feupdateenv_ctx): New.
41733         (libc_feupdateenvf_ctx): New.
41734         (libc_feupdateenvl_ctx): New.
41735         (libc_feholdsetround_mips_ctx): New.
41736         (libc_feholdsetround_ctx): New.
41737         (libc_feholdsetroundf_ctx): New.
41738         (libc_feholdsetroundl_ctx): New.
41739         (libc_feresetround_mips_ctx): New.
41740         (libc_feresetround_ctx): New.
41741         (libc_feresetroundf_ctx): New.
41742         (libc_feresetroundl_ctx): New.
41744 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41746         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41748         * manual/ipc.texi: New file.
41749         * manual/Makefile (chapters): Add ipc.
41750         * manual/job.texi: Add "Inter-Process Communication" to next.
41751         * manual/process.texi: Add "Inter-Process Communication" to prev.
41753 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41757 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41759         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41761         * manual/arith.texi: Fix spaces after sentences.
41762         * manual/charset.texi: Likewise.
41763         * manual/errno.texi: Likewise.
41764         * manual/install.texi: Likewise.
41765         * manual/llio.texi: Likewise.
41766         * manual/locale.texi: Likewise.
41767         * manual/maint.texi: Likewise.
41768         * manual/math.texi: Likewise.
41769         * manual/memory.texi: Likewise.
41770         * manual/message.texi: Likewise.
41771         * manual/probes.texi: Likewise.
41772         * manual/resource.texi: Likewise.
41773         * manual/signal.texi: Likewise.
41774         * manual/socket.texi: Likewise.
41775         * manual/stdio.texi: Likewise.
41776         * manual/string.texi: Likewise.
41777         * manual/time.texi: Likewise.
41778         * manual/users.texi: Likewise.
41780 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41782         [BZ #16632]
41783         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41784         _DEFAULT_SOURCE is defined.
41786 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41787             Carlos O'Donell  <carlos@redhat.com>
41789         [BZ #16613]
41790         * elf/dl-tls.c (_dl_count_modids): New function.
41791         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41792         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41793         audit library and increment generation counter.
41794         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41795         * elf/tst-audit9.c: New file.
41796         * elf/tst-auditmod9a.c: New file.
41797         * elf/tst-auditmod9b.c: New file.
41798         * elf/Makefile: Add rules to build and run tst-audit9.
41800 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41802         [BZ #15347]
41803         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41805 2014-02-25  Will Newton  <will.newton@linaro.org>
41807         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41808         (__longjmp): Restore sp and lr before restoring callee
41809         saved registers.  Add longjmp and longjmp_target
41810         SystemTap probe point.
41811         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41812         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41813         Define to zero to match jmpbuf layout.
41814         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41815         (__sigsetjmp): Save sp and lr before saving callee
41816         saved registers.  Add setjmp SystemTap probe point.
41818 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41820         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41822 2014-02-24  Andreas Schwab  <schwab@suse.de>
41824         [BZ #15804]
41825         * elf/pldd.c (wait_for_ptrace_stop): New function.
41826         (main): Call it after attaching.
41828 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41830         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41831         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41832         Versions files is now verboten.
41833         * hurd/Versions (libc: GLIBC_2.0):
41834         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41835         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41836         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41837         * mach/Versions: Likewise.
41839         * csu/Versions: Remove unused %include.
41840         * resolv/Versions: Likewise.
41842 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41844         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41845         ($(objpfx)check-local-headers.out): Likewise.
41846         ($(objpfx)begin-end-check.out): Likewise.
41847         * Makerules (check-abi-%.out): Likewise.
41848         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41849         ($(objpfx)test2.cat): Likewise.
41850         ($(objpfx)de/libc.cat): Likewise.
41851         ($(objpfx)test-gencat.out): Likewise.
41852         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41853         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41854         ($(objpfx)noload-mem): Likewise.
41855         ($(objpfx)tst-pathopt.out): Likewise.
41856         ($(objpfx)tst-rtld-load-self.out): Likewise.
41857         ($(objpfx)tst-array1-cmp.out): Likewise.
41858         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41859         ($(objpfx)tst-array2-cmp.out): Likewise.
41860         ($(objpfx)tst-array3-cmp.out): Likewise.
41861         ($(objpfx)tst-array4-cmp.out): Likewise.
41862         ($(objpfx)tst-array5-cmp.out): Likewise.
41863         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41864         ($(objpfx)check-textrel.out): Likewise.
41865         ($(objpfx)check-execstack.out): Likewise.
41866         ($(objpfx)check-localplt.out): Likewise.
41867         ($(objpfx)order2-cmp.out): Likewise.
41868         ($(objpfx)tst-leaks1-mem): Likewise.
41869         ($(objpfx)tst-leaks1-static-mem): Likewise.
41870         ($(objpfx)tst-initorder-cmp.out): Likewise.
41871         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41872         ($(objpfx)tst-unused-dep.out): Likewise.
41873         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41874         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41875         * iconv/Makefile (test-iconvconfig): Likewise.
41876         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41877         ($(objpfx)iconv-test.out): Likewise.
41878         ($(objpfx)tst-tables.out): Likewise.
41879         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41880         ($(objpfx)tst-gettext.out): Likewise.
41881         ($(objpfx)tst-translit.out): Likewise.
41882         ($(objpfx)tst-gettext2.out): Likewise.
41883         ($(objpfx)tst-gettext4.out): Likewise.
41884         ($(objpfx)tst-gettext6.out): Likewise.
41885         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41886         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41887         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41888         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41889         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41890         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41891         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41892         ($(objpfx)wordexp-tst.out): Likewise.
41893         ($(objpfx)annexc.out): Likewise.
41894         ($(objpfx)tst-fnmatch-mem): Likewise.
41895         ($(objpfx)bug-regex2-mem): Likewise.
41896         ($(objpfx)bug-regex14-mem): Likewise.
41897         ($(objpfx)bug-regex21-mem): Likewise.
41898         ($(objpfx)bug-regex31-mem): Likewise.
41899         ($(objpfx)tst-vfork3-mem): Likewise.
41900         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41901         ($(objpfx)tst-pcre-mem): Likewise.
41902         ($(objpfx)tst-boost-mem): Likewise.
41903         ($(objpfx)tst-getconf.out): Likewise.
41904         ($(objpfx)bug-ga2-mem): Likewise.
41905         ($(objpfx)bug-glob2-mem): Likewise.
41906         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41907         ($(objpfx)mtrace-tst-leaks2): Likewise.
41908         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41909         ($(objpfx)tst-printf.out): Likewise.
41910         ($(objpfx)tst-setvbuf1.out): Likewise.
41911         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41912         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41913         ($(objpfx)tst-fmtmsg.out): Likewise.
41914         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41915         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41917         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41918         * bits/sigaction.h [__USE_MISC]: Likewise.
41919         * bits/waitstatus.h: Update #endif comments.
41920         * ctype/ctype.h: Likewise.
41921         * dirent/dirent.h: Likewise.
41922         [__USE_MISC]: Remove redundant conditionals.
41923         * grp/grp.h: Update #endif comments.
41924         [__USE_GNU]: Remove redundant conditionals.
41925         [__USE_MISC]: Likewise.
41926         * inet/netinet/in.h [__USE_GNU]: Likewise.
41927         * io/sys/stat.h [__USE_MISC]: Likewise.
41928         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41929         * libio/bits/stdio.h: Update #endif comments.
41930         [__USE_MISC]: Remove redundant conditionals.
41931         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41932         * libio/stdio.h: Update #endif comments.
41933         [__USE_MISC]: Remove redundant conditionals.
41934         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41935         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41936         * math/math.h: Update #else and #endif comments.
41937         [__USE_MISC]: Remove redundant conditionals.
41938         * misc/sys/uio.h: Update #endif comments.
41939         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41940         * posix/glob.h [__USE_MISC]: Likewise.
41941         * posix/sys/types.h: Update #endif comments.
41942         [__USE_MISC]: Remove redundant conditionals.
41943         * posix/sys/wait.h: Update #endif comments.
41944         [__USE_MISC]: Remove redundant conditionals.
41945         * posix/unistd.h: Update #endif comments.
41946         [__USE_MISC]: Remove redundant conditionals.
41947         * pwd/pwd.h [__USE_GNU]: Likewise.
41948         [__USE_MISC]: Likewise.
41949         * resolv/netdb.h [__USE_GNU]: Likewise.
41950         * signal/signal.h: Update #endif comments.
41951         [__USE_MISC]: Remove redundant conditionals.
41952         * stdlib/stdlib.h: Update #else and #endif comments.
41953         [__USE_MISC]: Remove redundant conditionals.
41954         [__USE_GNU]: Likewise.
41955         * string/bits/string2.h [__USE_MISC]: Likewise.
41956         * string/string.h: Update #endif comments.
41957         [__USE_MISC]: Remove redundant conditionals.
41958         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41959         Likewise.
41960         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41961         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41962         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41963         Likewise.
41964         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41965         Likewise.
41966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41967         comments.
41968         [__USE_MISC]: Remove redundant conditionals.
41969         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41970         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41971         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41972         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41973         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41974         Likewise.
41975         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41976         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41977         Likewise.
41978         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41979         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41980         Likewise.
41981         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41982         Likewise.
41983         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41984         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41985         Likewise.
41986         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41987         Likewise.
41988         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41989         * sysdeps/x86/bits/string.h: Update #endif comments.
41990         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41991         conditionals.
41992         * time/sys/time.h: Update #endif comments.
41993         * time/time.h: Likewise.
41994         [__USE_MISC]: Remove redundant conditionals.
41996 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41998         [BZ #16600]
41999         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42001 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42003         * Versions.def (librt): Add GLIBC_2.17.
42005 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42007         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42008         synonym for _SYS_AUXV_H to allow direct inclusion.
42009         * sysdeps/sparc/bits/hwcap.h: Likewise.
42010         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42011         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42012         * sysdeps/sparc/sysdep.h: Likewise.
42014 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42016         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42018 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42020         * benchtests/bench-strrchr.c: Print length instead of position.
42022 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42024         [BZ #16611]
42025         * sysdeps/unix/sysv/linux/kernel-features.h
42026         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42027         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42028         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42029         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42030         Likewise.
42031         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42032         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42033         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42034         (__ASSUME_SENDMMSG): Define instead of using previous
42035         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42036         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42037         (__ASSUME_SENDMMSG_SYSCALL): Define.
42038         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42039         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42040         Likewise.
42041         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42042         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42043         Likewise.
42044         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42045         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42046         Likewise.
42047         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42048         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42049         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42050         [__ASSUME_SENDMMSG]: Change conditionals to
42051         [__ASSUME_SENDMMSG_SOCKETCALL].
42052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42053         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42054         Define.
42055         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42056         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42057         Likewise.
42058         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42059         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42060         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42061         [!__ASSUME_SENDMMSG]: Change conditional to
42062         [!__ASSUME_SENDMMSG_SOCKETCALL].
42063         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42064         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42065         Define.
42067         [BZ #16610]
42068         * sysdeps/unix/sysv/linux/kernel-features.h
42069         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42070         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42071         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42072         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42073         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42074         [__i386__ || __sparc__]
42075         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42076         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42077         (__ASSUME_RECVMMSG): Define instead of using previous
42078         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42079         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42080         (__ASSUME_RECVMMSG_SYSCALL): Define.
42081         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42082         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42083         Likewise.
42084         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42086         Likewise.
42087         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42089         Likewise.
42090         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42091         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42092         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42093         [__ASSUME_RECVMMSG]: Change condition to
42094         [__ASSUME_RECVMMSG_SOCKETCALL].
42095         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42096         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42097         Define.
42098         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42099         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42100         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42101         Likewise.
42102         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42103         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42104         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42105         [!__ASSUME_RECVMMSG]: Change condition to
42106         [!__ASSUME_RECVMMSG_SOCKETCALL].
42107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42108         (__ASSUME_RECVMMSG_SYSCALL): Define.
42110         [BZ #16609]
42111         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42112         __powerpc__ || __s390__ || __sh__ || __sparc__]
42113         (__ASSUME_SOCKETCALL): Define.
42114         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42115         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42116         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42117         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42118         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42119         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42120         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42121         (__ASSUME_ACCEPT4): Define instead of using previous
42122         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42123         __powerpc__ || __sparc__ || __s390__)] condition.
42124         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42125         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42126         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42127         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42128         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42129         [!__ASSUME_ACCEPT4]: Change condition to
42130         [!__ASSUME_ACCEPT4_SOCKETCALL].
42131         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42132         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42133         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42135         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42136         __ASSUME_ACCEPT4_SYSCALL.
42137         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42138         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42139         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42140         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42141         __ASSUME_ACCEPT4_SYSCALL.
42142         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42143         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42144         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42145         [__ASSUME_ACCEPT4]: Change condition to
42146         [__ASSUME_ACCEPT4_SOCKETCALL].
42147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42148         (__ASSUME_SOCKETCALL): Define.
42149         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42150         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42151         (__ASSUME_SOCKETCALL): Define.
42152         (__ASSUME_ACCEPT4): Remove.
42153         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42154         Define.
42155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42156         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42157         Likewise.
42158         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42159         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42161         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42162         macro.
42163         (HWCAP_ARM_LPAE): Likewise.
42164         (HWCAP_ARM_EVTSTRM): Likewise.
42165         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42166         Add vpfd32, lpae and evtstrm.
42167         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42168         Increase to 22.
42170 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42172         * math/auto-libm-test-in: Add tests of clog10.
42173         * math/auto-libm-test-out: Regenerated.
42174         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42175         * sysdeps/i386/fpu/libm-test-ulps: Update.
42176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42178 2014-02-18  Andreas Schwab  <schwab@suse.de>
42180         [BZ #16574]
42181         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42182         Store non-zero if the second buffer was newly allocated.
42183         (send_dg): Likewise.
42184         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42185         to send_vc and send_dg.
42186         (res_nsend): Pass NULL for ansp2_malloced.
42187         * resolv/res_query.c (__libc_res_nquery): Add parameter
42188         answerp2_malloced and pass it down to __libc_res_nsend.
42189         (res_nquery): Pass additional NULL to __libc_res_nquery.
42190         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42191         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42192         second answer buffer if answerp2_malloced was set.
42193         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42194         (__libc_res_nquerydomain): Add parameter
42195         answerp2_malloced and pass it down to __libc_res_nquery.
42196         (res_nquerydomain): Pass additional NULL to
42197         __libc_res_nquerydomain.
42198         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42199         additional NULL to __libc_res_nsend and __libc_res_nquery.
42200         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42201         additional NULL to __libc_res_nsearch.
42202         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42203         parameter of __libc_res_nsearch to check for separately allocated
42204         second buffer.
42205         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42206         __libc_res_nquery.
42207         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42208         additional NULL to __libc_res_nquery.
42209         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42210         __libc_res_nsearch.
42211         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42212         * include/resolv.h: Update prototypes of __libc_res_nquery,
42213         __libc_res_nsearch, __libc_res_nsend.
42215 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42217         * math/auto-libm-test-in: Add tests of fma.
42218         * math/auto-libm-test-out: Regenerated.
42219         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42220         (fma_towardzero_test_data): Likewise.
42221         (fma_downward_test_data): Likewise.
42222         (fma_upward_test_data): Likewise.
42223         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42224         mpc_mode.
42225         (rounding_modes): Add values for new field.
42226         (func_calc_method): Add value mpfr_fff_f.
42227         (func_calc_desc): Add mpfr_fff_f union field.
42228         (test_function): Add field exact_args.
42229         (FUNC): Add macro argument EXACT_ARGS.
42230         (FUNC_mpfr_f_f): Update call to FUNC.
42231         (FUNC_mpfr_f_f): Likewise.
42232         (FUNC_mpfr_ff_f): Likewise.
42233         (FUNC_mpfr_if_f): Likewise.
42234         (FUNC_mpc_c_f): Likewise.
42235         (FUNC_mpc_c_c): Likewise.
42236         (test_functions): Add fma.  Update calls to FUNC.
42237         (handle_input_arg): Add argument exact_args.
42238         (add_test): Update call to handle_input_arg.
42239         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42240         (output_for_one_input_case): Update call to calc_generic_results.
42241         Recalculate exact zero results in each rounding mode.
42243         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42244         non-negative before setting low bit.
42245         * math/auto-libm-test-in: Mark one asin test possibly having
42246         spurious underflow.
42247         * math/auto-libm-test-out: Regenerated.
42248         * sysdeps/i386/fpu/libm-test-ulps: Update.
42249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42251 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42253         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42254         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42255         ports/sysdeps/unix/sysv/linux/microblaze.
42256         * README: Add missing listing for microblaze*-*-linux-gnu.
42258 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42260         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42261         duplicate code
42263 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42265         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42266         * sysdeps/unix/sysv/linux/ia64: Move directory from
42267         ports/sysdeps/unix/sysv/linux/ia64.
42268         * README: Update listing for ia64-*-linux-gnu.
42270 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42271             Joseph Myers  <joseph@codesourcery.com>
42273         * Makeconfig (test-name): New variable.
42274         (evaluate-test): Likewise.
42275         * Makerules (do-test-clean): Remove .test-result files.
42276         (common-mostlyclean): Likewise.
42277         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42278         * scripts/evaluate-test.sh: New file.
42280 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42282         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42283         separate $(objpfx)tst-fopenloc-cmp.out and
42284         $(objpfx)tst-fopenloc-mem.out targets.
42285         (tests): Update dependencies.
42286         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42287         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42288         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42289         (tst-rxspencer-no-utf8-ARGS): New variable.
42290         (tst-rxspencer-no-utf8-ENV): Likewise.
42291         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42292         instead of $(objpfx)tst-rxspencer-mem.
42293         ($(objpfx)tst-rxspencer-mem): Change target to
42294         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42295         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42296         * posix/tst-rxspencer-no-utf8.c: New file.
42298         * elf/Makefile ($(objpfx)order.out): Remove rule.
42299         [$(run-built-tests) = yes] (tests): Depend on
42300         $(objpfx)order-cmp.out.
42301         ($(objpfx)order-cmp.out): New rule.
42302         [$(run-built-tests) = yes] (tests): Depend on
42303         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42304         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42305         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42306         $(objpfx)tst-array5-static-cmp.out.
42307         ($(objpfx)tst-array1.out): Remove rule.
42308         ($(objpfx)tst-array1-cmp.out): New rule.
42309         ($(objpfx)tst-array1-static.out): Remove rule.
42310         ($(objpfx)tst-array1-static-cmp.out): New rule.
42311         ($(objpfx)tst-array2.out): Remove rule.
42312         ($(objpfx)tst-array2-cmp.out): New rule.
42313         ($(objpfx)tst-array3.out): Remove rule.
42314         ($(objpfx)tst-array3-cmp.out): New rule.
42315         ($(objpfx)tst-array4.out): Remove rule.
42316         ($(objpfx)tst-array4-cmp.out): New rule.
42317         ($(objpfx)tst-array5.out): Remove rule.
42318         ($(objpfx)tst-array5-cmp.out): New rule.
42319         ($(objpfx)tst-array5-static.out): Remove rule.
42320         ($(objpfx)tst-array5-static-cmp.out): New rule.
42321         [$(run-built-tests) = yes] (tests): Depend on
42322         $(objpfx)order2-cmp.out.
42323         ($(objpfx)order2.out): Remove rule.
42324         ($(objpfx)order2-cmp.out): New rule.
42325         ($(objpfx)tst-initorder.out): Remove rule.
42326         [$(run-built-tests) = yes] (tests): Depend on
42327         $(objpfx)tst-initorder-cmp.out.
42328         ($(objpfx)tst-initorder-cmp.out): New rule.
42329         ($(objpfx)tst-initorder2.out): Remove rule.
42330         [$(run-built-tests) = yes] (tests): Depend on
42331         $(objpfx)tst-initorder2-cmp.out.
42332         ($(objpfx)tst-initorder2-cmp.out): New rule.
42333         [$(run-built-tests) = yes] (tests): Depend on
42334         $(objpfx)tst-unused-dep-cmp.out.
42335         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42336         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42337         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42338         on $(objpfx)tst-setvbuf1-cmp.out.
42339         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42340         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42341         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42342         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42343         ($(objpfx)tst-svc.out): Remove rule.
42344         ($(objpfx)tst-svc-cmp.out): New rule.
42346 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42348         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42349         * ctype/ctype.h [__USE_MISC]: Likewise.
42350         * dirent/dirent.h [__USE_MISC]: Likewise.
42351         * grp/grp.h [__USE_MISC]: Likewise.
42352         * io/fcntl.h [__USE_MISC]: Likewise.
42353         * io/sys/stat.h [__USE_MISC]: Likewise.
42354         * libio/stdio.h [__USE_MISC]: Likewise.
42355         * posix/unistd.h [__USE_MISC]: Likewise.
42356         * pwd/pwd.h [__USE_MISC]: Likewise.
42357         * stdlib.h [__USE_MISC]: Likewise.
42358         * string/bits/string2.h [__USE_MISC]: Likewise.
42359         * string/string.h [__USE_MISC]: Likewise.
42360         * time/time.h [__USE_MISC]: Likewise.
42362 2014-02-13  Andreas Schwab  <schwab@suse.de>
42364         [BZ #16574]
42365         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42366         second answer buffer if it was separately allocated.
42368 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42370         * sysdeps/mips/math-tests.h: Include <features.h>.
42371         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42372         (ROUNDING_TESTS_long_double): Do not define.
42373         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42374         (EXCEPTION_TESTS_long_double): Likewise.
42375         * sysdeps/mips/mips64/libm-test-ulps: Update.
42377         * include/features.h (__USE_BSD): Remove macro definitions.
42378         (__USE_SVID): Likewise.
42379         (_BSD_SOURCE): Likewise.
42380         (_SVID_SOURCE): Likewise.
42381         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42382         from definition of _DEFAULT_SOURCE.
42383         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42384         [_DEFAULT_SOURCE].
42385         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42386         * bits/mman.h [__USE_BSD]: Likewise.
42387         * bits/termios.h [__USE_BSD]: Likewise.
42388         * bits/waitstatus.h [__USE_BSD]: Likewise.
42389         * ctype/ctype.h [__USE_SVID]: Likewise.
42390         * dirent/dirent.h [__USE_BSD]: Likewise.
42391         * grp/grp.h [__USE_SVID]: Likewise.
42392         [__USE_BSD]: Likewise.
42393         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42394         * io/fcntl.h [__USE_BSD]: Likewise.
42395         * io/ftw.h [__USE_BSD]: Likewise.
42396         * io/sys/stat.h [__USE_BSD]: Likewise.
42397         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42398         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42399         * libio/stdio.h [__USE_SVID]: Likewise.
42400         [__USE_BSD]: Likewise.
42401         * math/math.h [__USE_SVID]: Likewise.
42402         [__USE_BSD]: Likewise.
42403         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42404         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42405         * misc/search.h [__USE_SVID]: Likewise.
42406         * misc/sys/mman.h [__USE_BSD]: Likewise.
42407         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42408         * misc/sys/uio.h [__USE_BSD]: Likewise.
42409         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42410         * posix/glob.h [__USE_BSD]: Likewise.
42411         * posix/regex.h [__USE_BSD]: Likewise.
42412         * posix/sys/types.h [__USE_BSD]: Likewise.
42413         [__USE_SVID]: Likewise.
42414         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42415         * posix/sys/wait.h [__USE_BSD]: Likewise.
42416         [__USE_SVID]: Likewise.
42417         * posix/unistd.h [__USE_BSD]: Likewise.
42418         [__USE_SVID]: Likewise.
42419         * pwd/pwd.h [__USE_SVID]: Likewise.
42420         * resolv/netdb.h [__USE_BSD]: Likewise.
42421         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42422         * signal/signal.h [__USE_BSD]: Likewise.
42423         [__USE_SVID]: Likewise.
42424         * socket/sys/socket.h [__USE_BSD]: Likewise.
42425         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42426         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42427         [__USE_SVID]: Likewise.
42428         * string/bits/string2.h [__USE_BSD]: Likewise.
42429         [__USE_SVID]: Likewise.
42430         * string/bits/string3.h [__USE_BSD]: Likewise.
42431         * string/endian.h [__USE_BSD]: Likewise.
42432         * string/string.h [__USE_SVID]: Likewise.
42433         [__USE_BSD]: Likewise.
42434         * string/strings.h [__USE_BSD]: Likewise.
42435         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42436         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42437         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42438         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42439         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42440         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42441         Likewise.
42442         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42443         Likewise.
42444         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42445         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42446         Likewise.
42447         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42448         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42449         Likewise.
42450         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42451         Likewise.
42452         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42453         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42454         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42455         Likewise.
42456         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42457         Likewise.
42458         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42459         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42460         * termios/termios.h [__USE_BSD]: Likewise.
42461         * time/sys/time.h [__USE_BSD]: Likewise.
42462         * time/time.h [__USE_BSD]: Likewise.
42463         [__USE_SVID]: Likewise.
42465         * Makefile (subdir_targets): Remove subdir_lint.out.
42467         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42468         (do-tst-printf): Likewise.
42469         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42470         $(objpfx)tst-printf.out.
42472         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42474         * Makerules (check-abi-%): Change target to
42475         $(objpfx)check-abi-%.out.
42476         (check-abi target): Update dependencies.
42477         (check-abi-pattern variable): Redirect output of diff to $@.
42478         (check-abi variable): Likewise.
42479         * elf/Makefile (check-abi): Update dependencies.
42481         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42482         unused.
42483         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42484         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42485         subnormal range.
42486         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42487         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42488         value has largest subnormal exponent.
42489         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42490         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42491         * sysdeps/aarch64/soft-fp/sfp-machine.h
42492         (_FP_TININESS_AFTER_ROUNDING): New macro.
42493         * sysdeps/alpha/soft-fp/sfp-machine.h
42494         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42495         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42496         Likewise.
42497         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42498         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42499         * sysdeps/mips/soft-fp/sfp-machine.h
42500         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42501         * sysdeps/powerpc/soft-fp/sfp-machine.h
42502         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42503         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42504         Likewise.
42505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42506         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42508         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42509         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42510         Likewise.
42512 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42514         [BZ #16545]
42515         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42516         model 1.
42518 2014-02-12  Richard Henderson  <rth@redhat.com>
42520         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42521         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42522         * sysdeps/unix/sysv/linux/alpha: Move directory from
42523         ports/sysdeps/unix/sysv/linux/alpha.
42524         * README: Update listing for alpha-*-linux-gnu.
42526 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42528         * include/features.h: Update comment documenting feature test
42529         macros.
42530         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42531         _DEFAULT_SOURCE.
42532         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42533         (_SVID_SOURCE): Likewise.
42534         (_DEFAULT_SOURCE): Update description of default features.
42535         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42536         with _GNU_SOURCE.
42537         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42538         (S_ISVTX): Likewise.
42539         * manual/math.texi (Mathematical Constants): Likewise.
42540         * manual/signal.texi (Interrupted Primitives): Likewise.
42541         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42542         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42543         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42544         Don't refer to _SVID_SOURCE in warning text.
42546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42548         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42549         already defined.
42550         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42551         * sysdeps/mips/dl-lookup.c: Remove.
42552         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42554 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42556         [BZ #16447]
42557         * math/auto-libm-test-in: Add testcase for expl.
42558         * math/auto-libm-test-out: Regenerate.
42559         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42560         calculation of unsafe.
42561         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42563 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42565         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42566         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42567         ports/sysdeps/unix/sysv/linux/aarch64.
42568         * README: Update listing for aarch64*-*-linux-gnu.
42570 2014-02-11  Will Newton  <will.newton@linaro.org>
42572         * manual/probes.texi (Mathematical Function Probes): Use
42573         "triggered" instead of "hit".
42575         * manual/probes.texi (Internal Probes): Add documentation
42576         of setjmp, longjmp and longjmp_target probes.
42578         * include/stap-probe.h: Add comment about probe argument
42579         format.
42581         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42582         definition.  (tr_where, tr_freehook, tr_mallochook,
42583         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42585 2014-02-11  David S. Miller  <davem@davemloft.net>
42587         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42588         processing int_tests.
42590 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42592         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42593         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42594         * sysdeps/unix/sysv/linux/mips: Move directory from
42595         ports/sysdeps/unix/sysv/linux/mips.
42596         * README: Update listing for mips-*-linux-gnu and
42597         mips64-*-linux-gnu.
42599 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42601         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42602         * sysdeps/unix/sysv/linux/m68k: Move directory from
42603         ports/sysdeps/unix/sysv/linux/m68k.
42604         * README: Update listing for m68k-*-linux-gnu.
42606 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42608         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42609         * sysdeps/unix/sysv/linux/generic: Move directory from
42610         ports/sysdeps/unix/sysv/linux/generic.
42611         * sysdeps/unix/sysv/linux/tile: Move directory from
42612         ports/sysdeps/unix/sysv/linux/tile.
42613         * README: Update listing for tile*-*-linux-gnu.
42615 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42617         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42618         __builtin_expect.
42619         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42620         * catgets/open_catalog.c (__open_catalog): Likewise.
42621         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42622         * debug/confstr_chk.c: Likewise.
42623         * debug/fread_chk.c (__fread_chk): Likewise.
42624         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42625         * debug/getgroups_chk.c: Likewise.
42626         * debug/mbsnrtowcs_chk.c: Likewise.
42627         * debug/mbsrtowcs_chk.c: Likewise.
42628         * debug/mbstowcs_chk.c: Likewise.
42629         * debug/memcpy_chk.c: Likewise.
42630         * debug/memmove_chk.c: Likewise.
42631         * debug/mempcpy_chk.c: Likewise.
42632         * debug/memset_chk.c: Likewise.
42633         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42634         * debug/strcat_chk.c (__strcat_chk): Likewise.
42635         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42636         * debug/strncat_chk.c (__strncat_chk): Likewise.
42637         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42638         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42639         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42640         * debug/wcpncpy_chk.c: Likewise.
42641         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42642         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42643         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42644         * debug/wcsncpy_chk.c: Likewise.
42645         * debug/wcsnrtombs_chk.c: Likewise.
42646         * debug/wcsrtombs_chk.c: Likewise.
42647         * debug/wcstombs_chk.c: Likewise.
42648         * debug/wmemcpy_chk.c: Likewise.
42649         * debug/wmemmove_chk.c: Likewise.
42650         * debug/wmempcpy_chk.c: Likewise.
42651         * debug/wmemset_chk.c: Likewise.
42652         * dirent/scandirat.c (SCANDIRAT): Likewise.
42653         * dlfcn/dladdr1.c (dladdr1): Likewise.
42654         * dlfcn/dladdr.c (dladdr): Likewise.
42655         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42656         * dlfcn/dlerror.c (__dlerror): Likewise.
42657         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42658         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42659         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42660         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42661         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42662         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42663         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42664         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42665         Likewise.
42666         * elf/dl-conflict.c: Likewise.
42667         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42668         * elf/dl-dst.h: Likewise.
42669         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42670         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42671         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42672         * elf/dl-init.c (call_init, _dl_init): Likewise.
42673         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42674         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42675         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42676         Likewise.
42677         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42678         Likewise.
42679         * elf/dl-minimal.c (__libc_memalign): Likewise.
42680         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42681         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42682         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42683         * elf/dl-sym.c (do_sym): Likewise.
42684         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42685         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42686         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42687         * elf/dl-writev.h (_dl_writev): Likewise.
42688         * elf/ldconfig.c (search_dir): Likewise.
42689         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42690         (dl_main): Likewise.
42691         * elf/setup-vdso.h (setup_vdso): Likewise.
42692         * grp/compat-initgroups.c (compat_call): Likewise.
42693         * grp/fgetgrent.c (fgetgrent): Likewise.
42694         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42695         * grp/putgrent.c (putgrent): Likewise.
42696         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42697         Likewise.
42698         * hurd/hurdinit.c: Likewise.
42699         * iconvdata/8bit-gap.c (struct): Likewise.
42700         * iconvdata/ansi_x3.110.c : Likewise.
42701         * iconvdata/big5.c : Likewise.
42702         * iconvdata/big5hkscs.c : Likewise.
42703         * iconvdata/cp1255.c: Likewise.
42704         * iconvdata/cp1258.c : Likewise.
42705         * iconvdata/cp932.c : Likewise.
42706         * iconvdata/euc-cn.c: Likewise.
42707         * iconvdata/euc-jisx0213.c : Likewise.
42708         * iconvdata/euc-jp.c: Likewise.
42709         * iconvdata/euc-jp-ms.c : Likewise.
42710         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42711         * iconvdata/gb18030.c : Likewise.
42712         * iconvdata/gbbig5.c (const): Likewise.
42713         * iconvdata/gbgbk.c: Likewise.
42714         * iconvdata/gbk.c : Likewise.
42715         * iconvdata/ibm1364.c : Likewise.
42716         * iconvdata/ibm930.c : Likewise.
42717         * iconvdata/ibm932.c: Likewise.
42718         * iconvdata/ibm933.c : Likewise.
42719         * iconvdata/ibm935.c : Likewise.
42720         * iconvdata/ibm937.c : Likewise.
42721         * iconvdata/ibm939.c : Likewise.
42722         * iconvdata/ibm943.c: Likewise.
42723         * iconvdata/iso_11548-1.c: Likewise.
42724         * iconvdata/iso-2022-cn.c : Likewise.
42725         * iconvdata/iso-2022-cn-ext.c : Likewise.
42726         * iconvdata/iso-2022-jp-3.c: Likewise.
42727         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42728         * iconvdata/iso-2022-kr.c : Likewise.
42729         * iconvdata/iso646.c (gconv_end): Likewise.
42730         * iconvdata/iso_6937-2.c : Likewise.
42731         * iconvdata/iso_6937.c : Likewise.
42732         * iconvdata/iso8859-1.c: Likewise.
42733         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42734         * iconvdata/shift_jisx0213.c : Likewise.
42735         * iconvdata/sjis.c : Likewise.
42736         * iconvdata/t.61.c : Likewise.
42737         * iconvdata/tcvn5712-1.c : Likewise.
42738         * iconvdata/tscii.c: Likewise.
42739         * iconvdata/uhc.c : Likewise.
42740         * iconvdata/unicode.c (gconv_end): Likewise.
42741         * iconvdata/utf-16.c (gconv_end): Likewise.
42742         * iconvdata/utf-32.c (gconv_end): Likewise.
42743         * iconvdata/utf-7.c (base64): Likewise.
42744         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42745         * iconv/gconv_close.c (__gconv_close): Likewise.
42746         * iconv/gconv_open.c (__gconv_open): Likewise.
42747         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42748         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42749         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42750         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42751         (ucs4le_internal_loop_single): Likewise.
42752         * iconv/iconv.c (iconv): Likewise.
42753         * iconv/iconv_close.c: Likewise.
42754         * iconv/loop.c (SINGLE): Likewise.
42755         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42756         * include/atomic.h: Likewise.
42757         * inet/inet6_option.c (option_alloc): Likewise.
42758         * intl/bindtextdom.c (set_binding_values): Likewise.
42759         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42760         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42761         * intl/localealias.c (read_alias_file): Likewise.
42762         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42763         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42764         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42765         * libio/fmemopen.c (fmemopen): Likewise.
42766         * libio/iofgets.c (_IO_fgets): Likewise.
42767         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42768         * libio/iofgetws.c (fgetws): Likewise.
42769         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42770         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42771         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42772         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42773         * locale/findlocale.c (_nl_find_locale): Likewise.
42774         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42775         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42776         Likewise.
42777         * locale/setlocale.c (setlocale): Likewise.
42778         * login/programs/pt_chown.c (main): Likewise.
42779         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42780         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42781         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42782         (mmap, mmap64, mremap, munmap): Likewise.
42783         * math/e_exp2l.c: Likewise.
42784         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42785         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42786         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42787         * math/s_catan.c (__catan): Likewise.
42788         * math/s_catanf.c (__catanf): Likewise.
42789         * math/s_catanh.c (__catanh): Likewise.
42790         * math/s_catanhf.c (__catanhf): Likewise.
42791         * math/s_catanhl.c (__catanhl): Likewise.
42792         * math/s_catanl.c (__catanl): Likewise.
42793         * math/s_ccosh.c (__ccosh): Likewise.
42794         * math/s_ccoshf.c (__ccoshf): Likewise.
42795         * math/s_ccoshl.c (__ccoshl): Likewise.
42796         * math/s_cexp.c (__cexp): Likewise.
42797         * math/s_cexpf.c (__cexpf): Likewise.
42798         * math/s_cexpl.c (__cexpl): Likewise.
42799         * math/s_clog10.c (__clog10): Likewise.
42800         * math/s_clog10f.c (__clog10f): Likewise.
42801         * math/s_clog10l.c (__clog10l): Likewise.
42802         * math/s_clog.c (__clog): Likewise.
42803         * math/s_clogf.c (__clogf): Likewise.
42804         * math/s_clogl.c (__clogl): Likewise.
42805         * math/s_csin.c (__csin): Likewise.
42806         * math/s_csinf.c (__csinf): Likewise.
42807         * math/s_csinh.c (__csinh): Likewise.
42808         * math/s_csinhf.c (__csinhf): Likewise.
42809         * math/s_csinhl.c (__csinhl): Likewise.
42810         * math/s_csinl.c (__csinl): Likewise.
42811         * math/s_csqrt.c (__csqrt): Likewise.
42812         * math/s_csqrtf.c (__csqrtf): Likewise.
42813         * math/s_csqrtl.c (__csqrtl): Likewise.
42814         * math/s_ctan.c (__ctan): Likewise.
42815         * math/s_ctanf.c (__ctanf): Likewise.
42816         * math/s_ctanh.c (__ctanh): Likewise.
42817         * math/s_ctanhf.c (__ctanhf): Likewise.
42818         * math/s_ctanhl.c (__ctanhl): Likewise.
42819         * math/s_ctanl.c (__ctanl): Likewise.
42820         * math/w_pow.c: Likewise.
42821         * math/w_powf.c: Likewise.
42822         * math/w_powl.c: Likewise.
42823         * math/w_scalb.c (sysv_scalb): Likewise.
42824         * math/w_scalbf.c (sysv_scalbf): Likewise.
42825         * math/w_scalbl.c (sysv_scalbl): Likewise.
42826         * misc/error.c (error_tail): Likewise.
42827         * misc/pselect.c (__pselect): Likewise.
42828         * nis/nis_callback.c (__nis_create_callback): Likewise.
42829         * nis/nis_call.c (__nisfind_server): Likewise.
42830         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42831         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42832         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42833         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42834         * nis/nis_lookup.c (nis_lookup): Likewise.
42835         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42836         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42837         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42838         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42839         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42840         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42841         * nis/nss_compat/compat-initgroups.c (add_group)
42842         (internal_getgrent_r): Likewise.
42843         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42844         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42845         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42846         (internal_getspnam_r): Likewise.
42847         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42848         (_nss_nis_getaliasbyname_r): Likewise.
42849         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42850         (_nss_nis_getntohost_r): Likewise.
42851         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42852         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42853         (_nss_nis_getgrgid_r): Likewise.
42854         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42855         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42856         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42857         (_nss_nis_gethostbyname4_r): Likewise.
42858         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42859         (initgroups_netid): Likewise.
42860         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42861         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42862         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42863         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42864         (_nss_nis_getprotobynumber_r): Likewise.
42865         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42866         (_nss_nis_getsecretkey): Likewise.
42867         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42868         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42869         (_nss_nis_getpwuid_r): Likewise.
42870         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42871         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42872         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42873         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42874         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42875         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42876         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42877         Likewise.
42878         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42879         (_nss_nisplus_getntohost_r): Likewise.
42880         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42881         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42882         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42883         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42884         Likewise.
42885         * nis/nss_nisplus/nisplus-initgroups.c
42886         (_nss_nisplus_initgroups_dyn): Likewise.
42887         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42888         (_nss_nisplus_getnetbyaddr_r): Likewise.
42889         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42890         (_nss_nisplus_getprotobynumber_r): Likewise.
42891         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42892         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42893         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42894         Likewise.
42895         * nis/nss_nisplus/nisplus-service.c
42896         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42897         (_nss_nisplus_getservbyport_r): Likewise.
42898         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42899         (_nss_nisplus_getspnam_r): Likewise.
42900         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42901         Likewise.
42902         * nscd/aicache.c (addhstaiX): Likewise.
42903         * nscd/cache.c (cache_search, prune_cache): Likewise.
42904         * nscd/connections.c (register_traced_file, send_ro_fd)
42905         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42906         (main_loop_epoll): Likewise.
42907         * nscd/grpcache.c (addgrbyX): Likewise.
42908         * nscd/hstcache.c (addhstbyX): Likewise.
42909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42910         * nscd/mem.c (gc, mempool_alloc): Likewise.
42911         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42912         (addinnetgrX): Likewise.
42913         * nscd/nscd-client.h (__nscd_acquire_maplock)
42914         (__nscd_drop_map_ref): Likewise.
42915         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42916         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42917         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42918         Likewise.
42919         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42920         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42921         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42922         (__nscd_get_map_ref): Likewise.
42923         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42924         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42925         Likewise.
42926         * nscd/pwdcache.c (addpwbyX): Likewise.
42927         * nscd/selinux.c (preserve_capabilities): Likewise.
42928         * nscd/servicescache.c (addservbyX): Likewise.
42929         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42930         * posix/fnmatch.c (fnmatch): Likewise.
42931         * posix/getopt.c (_getopt_internal_r): Likewise.
42932         * posix/glob.c (glob, glob_in_dir): Likewise.
42933         * posix/wordexp.c (exec_comm_child): Likewise.
42934         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42935         (getanswer_r, gaih_getanswer_slice): Likewise.
42936         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42937         * resolv/res_init.c: Likewise.
42938         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42939         * resolv/res_query.c (__libc_res_nquery): Likewise.
42940         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42941         Likewise.
42942         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42943         * stdio-common/perror.c (perror): Likewise.
42944         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42945         * stdio-common/tmpnam.c (tmpnam): Likewise.
42946         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42947         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42948         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42949         Likewise.
42950         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42951         * stdlib/putenv.c (putenv): Likewise.
42952         * stdlib/setenv.c (__add_to_environ): Likewise.
42953         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42954         * stdlib/strtol_l.c (INTERNAL): Likewise.
42955         * string/memmem.c (memmem): Likewise.
42956         * string/strerror.c (strerror): Likewise.
42957         * string/strnlen.c (__strnlen): Likewise.
42958         * string/test-memmem.c (simple_memmem): Likewise.
42959         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42960         * sunrpc/pm_getport.c (__get_socket): Likewise.
42961         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42962         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42963         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42964         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42965         Likewise.
42966         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42967         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42968         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42969         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42970         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42971         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42972         Likewise.
42973         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42974         Likewise.
42975         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42976         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42977         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42978         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42979         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42981         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42982         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42983         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42984         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42985         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42986         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42987         Likewise.
42988         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42989         Likewise.
42990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42991         Likewise.
42992         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42993         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42994         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42995         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42996         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42997         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42998         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42999         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43001         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43002         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43004         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43005         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43006         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43007         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43008         Likewise.
43009         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43010         Likewise.
43011         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43012         Likewise.
43013         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43014         Likewise.
43015         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43016         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43017         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43018         Likewise.
43019         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43020         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43021         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43022         * sysdeps/posix/sleep.c: Likewise.
43023         * sysdeps/posix/tempname.c: Likewise.
43024         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43025         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43026         Likewise.
43027         * sysdeps/powerpc/powerpc32/dl-machine.h
43028         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43029         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43031         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43032         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43033         Likewise.
43034         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43035         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43036         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43037         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43038         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43039         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43040         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43041         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43042         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43043         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43044         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43045         (elf_machine_lazy_rel): Likewise.
43046         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43047         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43048         (elf_machine_lazy_rel): Likewise.
43049         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43050         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43051         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43052         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43053         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43054         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43055         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43056         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43057         Likewise.
43058         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43059         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43060         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43061         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43062         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43063         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43064         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43065         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43066         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43067         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43068         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43069         Likewise.
43070         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43071         (__posix_fallocate64_l64): Likewise.
43072         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43073         (posix_fallocate): Likewise.
43074         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43075         Likewise.
43076         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43077         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43078         (getifaddrs_internal): Likewise.
43079         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43080         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43081         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43082         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43083         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43084         (__posix_fallocate64_l64): Likewise.
43085         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43086         Likewise.
43087         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43088         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43089         (__get_clockfreq): Likewise.
43090         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43091         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43092         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43095         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43096         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43097         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43098         Likewise.
43099         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43100         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43101         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43102         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43103         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43104         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43105         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43106         Likewise.
43107         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43108         (posix_fallocate): Likewise.
43109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43110         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43111         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43112         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43113         (elf_machine_rela, elf_machine_rela_relative)
43114         (elf_machine_lazy_rel): Likewise.
43115         * time/asctime.c (asctime_internal): Likewise.
43116         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43117         * time/tzset.c (__tzset_parse_tz): Likewise.
43118         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43119         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43120         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43121         * wcsmbs/wcsmbsload.h: Likewise.
43123         [BZ #15894]
43124         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43126         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43127         (arena_get2): Remove THREAD_STATS conditionals.
43128         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43129         (__malloc_stats, int): Likewise.
43131 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43133         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43134         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43136         * manual/setjmp.texi: Fix typos/grammar errors.
43138         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43139         Only return early when n is <= 0.  Delete unused return statement.
43141         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43142         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43143         * debug/tst-longjmp_chk3.c: New file.
43145         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43146         (test_main): Replace code with set_fortify_handler call.
43147         * debug/test-strcpy_chk.c: Likewise.
43148         * debug/tst-chk1.c: Likewise.
43149         * debug/tst-longjmp_chk.c: Likewise.
43150         * test-skeleton.c: Include fcntl.h & paths.h
43151         (set_fortify_handler): Define.
43153         * debug/tst-longjmp_chk.c: Add header comment and include
43154         ../test-skeleton.c.
43155         (do_test): Mark static.
43156         (TEST_FUNCTION): Define.
43158         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43159         (IP_PMTUDISC_INTERFACE): Likewise.
43160         (IP_MULTICAST_IF): Likewise.
43161         (IP_MULTICAST_TTL): Likewise.
43162         (IP_MULTICAST_LOOP): Likewise.
43163         (IP_ADD_MEMBERSHIP): Likewise.
43164         (IP_DROP_MEMBERSHIP): Likewise.
43165         (IP_UNBLOCK_SOURCE): Likewise.
43166         (IP_BLOCK_SOURCE): Likewise.
43167         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43168         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43169         (IP_MSFILTER): Likewise.
43170         (MCAST_JOIN_GROUP): Likewise.
43171         (MCAST_BLOCK_SOURCE): Likewise.
43172         (MCAST_UNBLOCK_SOURCE): Likewise.
43173         (MCAST_LEAVE_GROUP): Likewise.
43174         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43175         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43176         (MCAST_MSFILTER): Likewise.
43177         (IP_MULTICAST_ALL): Likewise.
43178         (IP_UNICAST_IF): Likewise.
43180         * timezone/Makefile: Delete $(have-ksh) check.
43181         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43182         * timezone/tzselect.ksh: Add +x mode bits.
43184         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43185         (ANON_INODE_FS_MAGIC): Likewise.
43186         (BDEVFS_MAGIC): Likewise.
43187         (BINFMTFS_MAGIC): Likewise.
43188         (BTRFS_TEST_MAGIC): Likewise.
43189         (CRAMFS_MAGIC_WEND): Likewise.
43190         (DEBUGFS_MAGIC): Likewise.
43191         (ECRYPTFS_SUPER_MAGIC): Likewise.
43192         (EXT3_SUPER_MAGIC): Likewise.
43193         (EXT4_SUPER_MAGIC): Likewise.
43194         (FUTEXFS_SUPER_MAGIC): Likewise.
43195         (HOSTFS_SUPER_MAGIC): Likewise.
43196         (HUGETLBFS_MAGIC): Likewise.
43197         (MINIX3_SUPER_MAGIC): Likewise.
43198         (MTD_INODE_FS_MAGIC): Likewise.
43199         (NILFS_SUPER_MAGIC): Likewise.
43200         (OPENPROM_SUPER_MAGIC): Likewise.
43201         (PIPEFS_MAGIC): Likewise.
43202         (PSTOREFS_MAGIC): Likewise.
43203         (QNX6_SUPER_MAGIC): Likewise.
43204         (RAMFS_MAGIC): Likewise.
43205         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43206         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43207         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43208         (SECURITYFS_MAGIC): Likewise.
43209         (SELINUX_MAGIC): Likewise.
43210         (SMACK_MAGIC): Likewise.
43211         (SOCKFS_MAGIC): Likewise.
43212         (SQUASHFS_MAGIC): Likewise.
43213         (STACK_END_MAGIC): Likewise.
43214         (TMPFS_MAGIC): Likewise.
43215         (USBDEVICE_SUPER_MAGIC): Likewise.
43216         (V9FS_MAGIC): Likewise.
43217         (XENFS_SUPER_MAGIC): Likewise.
43218         (CRAMFS_MAGIC): Fix typo in comment.
43219         (EXT2_SUPER_MAGIC): Update comment.
43220         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43222 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43224         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43225         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43226         * sysdeps/unix/sysv/linux/arm: Move directory from
43227         ports/sysdeps/unix/sysv/linux/arm.
43228         * README: Update listing for arm-*-linux-gnueabi.
43230         * README: Remove mention of am33.
43232 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43234         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43235         than the comma operator, to avoid "rhs of comma has no effect"
43236         compiler warnings.
43237         (__sigfillset, __sigandset, __sigorset): Likewise.
43238         * include/signal.h (__sigemptyset): Likewise.
43239         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43241 2014-02-07  Allan McRae  <allan@archlinux.org>
43243         * version.h (RELEASE): Set to "development".
43244         (VERSION): Set to "2.19.90"
43245         * NEWS: Add 2.20 section.
43247 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43249         [BZ #16529]
43250         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43252 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43254         * manual/contrib.texi: Update entry for Carlos O'Donell,
43255         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43257 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43259         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43261         * sysdeps/unix/sysv/linux/kernel-features.h
43262         [__LINUX_KERNEL_VERSION >= 0x020621]
43263         (__ASSUME_PROC_PID_TASK_COMM): Define.
43265 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43267         [BZ #16398]
43268         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43269         conversion when destination buffer does not have enough space.
43270         * libio/tst-ftell-partial-wide.c: New test case.
43271         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43273         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43274         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43275         Leonard and Allan McRae.
43277 2014-02-04  David S. Miller  <davem@davemloft.net>
43279         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43280         32-bit.
43282 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43285         New file
43286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43287         New file
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43289         New file.
43290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43291         New file.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43293         New file.
43294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43295         New file.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43297         New file.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43299         New file.
43300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43301         New file.
43302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43303         New file.
43304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43305         New file.
43306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43307         New file.
43308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43309         New file.
43311 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43313         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43314         * shlib-versions: Likewise.
43316 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43317             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43319         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43320         (abilist-pattern): New variable, set to %-le.abilist.
43322         * Makerules (abilist-pattern): New variable.
43323         (vpath): Use $(abilist-pattern) in place of %.abilist.
43324         (check-abi-% pattern rule): Likewise.
43325         (check-abi, update-abi): Likewise.
43327 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43331 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43333         * manual/startup.texi: Add next, previous, and top entries for
43334         the `Program Arguments' and `Environment Variables' nodes.
43336 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43338         * manual/macros.texi: Add comments before MTASC-safety macros.
43340         * manual/users.texi: Document MTASC-safety properties.
43342         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43343         (pthread_getspecific, pthread_setspecific): Format with
43344         @deftypefun, and add @safety note.
43345         * manual/signal.texi: Move comments that analyze the above
43346         functions to their home place.
43348 2014-02-03  Allan McRae  <allan@archlinux.org>
43350         * po/sl.po: Update Slovenian translation from translation project.
43352 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43354         * manual/time.texi (timegm): Add missing blank after @c.
43355         Reported by Joseph Myers <joseph@codesourcery.com>.
43357 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43359         * manual/check-safety.sh: New.
43360         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43362         * manual/terminal.texi: Document MTASC-safety properties.
43364         * manual/filesys.texi: Document MTASC-safety properties.
43366         * manual/errno.texi: Document MTASC-safety properties.
43368         * manual/intro.texi: Document safety identifiers and
43369         conditionals.
43371         * manual/string.texi (wcstok): Fix prototype.
43372         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43374         * manual/time.texi: Document MTASC-safety properties.
43376         * manual/string.texi: Document MTASC-safety properties.
43378         * manual/threads.texi: Document MTASC-safety properties.
43380         * manual/stdio.texi: Document MTASC-safety properties.
43382         * manual/syslog.texi: Document MTASC-safety properties.
43384         * manual/sysinfo.texi: Document MTASC-safety properties.
43386         * manual/startup.texi: Document MTASC-safety properties.
43388         * manual/socket.texi: Document MTASC-safety properties.
43390         * manual/signal.texi: Document MTASC-safety properties.
43392 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43394         * manual/setjmp.texi: Document MTASC-safety properties.
43396         * manual/search.texi: Document MTASC-safety properties.
43398         * manual/resource.texi: Document MTASC-safety properties.
43400         * manual/process.texi: Document MTASC-safety properties.
43402         * manual/platform.texi: Document MTASC-safety properties.
43404         * manual/pipe.texi: Document MTASC-safety properties.
43406         * manual/pattern.texi: Document MTASC-safety properties.
43408         * manual/message.texi: Document MTASC-safety properties.
43410         [BZ #12751]
43411         * manual/memory.texi: Document MTASC-safety properties.
43413         * manual/math.texi: Document MTASC-safety properties.
43415         * manual/locale.texi: Document MTASC-safety properties.
43417         * manual/llio.texi: Document MTASC-safety properties.
43419         * manual/libdl.texi: New.
43421         * manual/lang.texi: Document MTASC-safety properties.
43423         * manual/job.texi: Document MTASC-safety properties.
43425         * manual/getopt.texi: Document MTASC-safety properties.
43427         * manual/ctype.texi: Document MTASC-safety properties.
43429 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43431         [BZ #16046]
43432         * csu/libc-tls.c (static_map): Remove variable.
43433         (__libc_setup_tls): Use main executable's link map for TLS data.
43434         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43435         casing for LM_ID_BASE and GL(dl_nns).
43436         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43437         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43438         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43439         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43440         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43441         member.
43442         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43443         l_phnum members.
43445 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43447         * manual/debug.texi: Document MTASC-safety properties.
43449 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43451         [BZ #16510]
43452         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43453         of __x86_64__ when disabling x87 inline functions.
43455 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43457         * manual/charset.texi: Document MTASC-safety properties.
43459         * manual/crypt.texi: Document MTASC-safety properties.
43461         * manual/conf.texi: Document MTASC-safety properties.
43463         * manual/arith.texi: Document MTASC-safety properties.
43465         * manual/argp.texi: Document MTASC-safety properties.
43467         * manual/macros.texi: Introduce macros to document multi
43468         thread, asynchronous signal and asynchronous cancellation
43469         safety properties.
43470         * manual/intro.texi: Introduce the properties themselves.
43472 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43474         * sysdeps/sh/sh4/Makefile: New file.
43476 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43478         * math/gen-libm-test.pl ($srcdir): New variable.
43479         ($auto_input): Use it.
43481 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43483         [BZ #16506]
43484         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43485         access beyond array bounds when parsing netgroups file.
43487         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43488         the old buffer before realloc.
43490 2014-01-27  Allan McRae  <allan@archlinux.org>
43492         * po/fr.po: Update French translation from translation project.
43494 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43496         * sysdeps/sh/libm-test-ulps: Regenerate.
43498 2014-01-24  David S. Miller  <davem@davemloft.net>
43500         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43502 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43504         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43505         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43507 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43509         [BZ #16474]
43510         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43511         string pointers after reallocation.
43513 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43515         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43516         __SH4A__ instead of __SH_FPU_ANY__.
43518 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43520         * sysdeps/sh/fpu_control.h: New file.
43521         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43522         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43523         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43524         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43525         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43526         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43527         * sysdeps/sh/sys/ucontext.h: Remove.
43528         * sysdeps/sh/sys: Remove directory.
43530 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43532         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43533         s390/sys/ucontext.h.
43534         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43535         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43537 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43539         [BZ #15605]
43540         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43542 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43544         [BZ#16431]
43545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43546         Adjust the vDSO correctly for internal calls.
43547         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43549 2014-01-20  Allan McRae  <allan@archlinux.org>
43551         * po/ca.po: Update Catalan translation from translation project.
43553 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43555         * sysdeps/s390/sotruss-lib.c: New file.
43557 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43559         [BZ#16430]
43560         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43561         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43562         local calls issues by not having a PLT stub required for IFUNC calls.
43563         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43565 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43567         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43568         * math/test-fpucw-static.c: Likewise.
43570 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43572         [BZ #16453]
43573         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43575 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43577         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43578         implementation for powerpc.
43580 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43582         [BZ #14782]
43583         * sysdeps/posix/system.c (__libc_system): Do not enable
43584         asynchronous cancellation.
43586 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43588         [BZ #16427]
43589         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43590         handling only for numbers special also in the IEEE case.
43592 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43596 2014-01-11  Allan McRae  <allan@archlinux.org>
43598         * po/bg.po: Update Bulgarian translation from translation project.
43600         * po/de.po: Update German translation from translation project.
43602 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43604         * sysdeps/generic/gcc-compat.h: New file.
43606 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43608         * benchtests/asin-inputs: Correct slow inputs.
43609         * benchtests/acos-inputs: Likewise.
43611 2014-01-10  Allan McRae  <allan@archlinux.org>
43613         * po:sv.po: Update Swedish translation from translation project.
43615         * po/vi.po: Update Vietnamese translation from translation project.
43617         * po/eo.po: Update Esperanto translation from translation project.
43619         * po/cs.po: Update Czech translation from translation project.
43621         * po/nl.po: Update Dutch translation from translation project.
43623         * po/pl.po: Update Polish translation from translation project.
43625         * po/ru.po: Update Russian translation from translation project.
43627         * po/uk.po: Update Ukrainian translation from translation project.
43629 2014-01-08  Brooks Moses  <bmoses@google.com>
43631         * elf/dl-load.c: Fix comment typo.
43633 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43635         * po/header.pot: Rename to...
43636         * po/pot.header: ... this.
43637         * po/Makefile: Use pot.header.
43639 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43640             Maxim Kuvyrkov  <maxim@kugelworks.com>
43642         [BZ #16394]
43643         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43644         SRC and DEST against LEN.
43646 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43648         [BZ #16414]
43649         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43650         implementation.
43651         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43653 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43657 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43659         [BZ #16408]
43660         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43661         for large positive arguments.
43663 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43665         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43667         * math/auto-libm-test-in: Mark various tests with
43668         xfail-rounding:ldbl-128ibm.
43669         * math/auto-libm-test-out: Regenerated.
43671         [BZ #16407]
43672         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43673         Increase overflow threshold.
43675 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43677         [BZ #14286]
43678         * stdio-common/vfprintf.c: Check for integer overflow.
43680 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43682         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43683         the first argument and return value of __tls_get_addr_internal.
43685 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43687         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43688         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43690 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43692         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43693         * sysdeps/s390/rtld-global-offsets.sym: New file.
43694         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43695         GLIBC_2.19 symbol.
43696         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43697         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43698         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43699         ... this.
43700         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43701         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43702         ... this.
43703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43704         Regenerate.
43705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43706         Regenerate.
43707         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43708         halfs of GPRs for high_gprs contexts.
43709         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43710         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43711         field.
43712         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43713         uc_flags field.
43714         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43715         64 bit versions:
43716         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43717         for high GPRs (uc_high_gprs) and for future extensions
43718         (__reserved).
43719         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43720         for future extensions (__reserved).
43721         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43722         64 bit versions:
43723         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43724         SC_HIGHGPRS offset definition.
43725         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43726         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43728         * Versions.def: Add GLIBC_2.19 for libpthread.
43729         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43730         siglongjmp for libpthread with GLIBC_2.19 symver.
43731         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43732         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43733         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43734         * sysdeps/s390/__longjmp.c: New file.
43735         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43736         * sysdeps/s390/longjmp.c: New file.
43737         * sysdeps/s390/setjmp.S: New file.
43738         * sysdeps/s390/sigjmp.S: New file.
43739         * sysdeps/s390/v1-longjmp.c: New file.
43740         * sysdeps/s390/v1-setjmp.h: New file.
43741         * sysdeps/s390/v1-sigjmp.c: New file.
43742         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43743         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43744         GLIBC_2.19 version.
43745         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43746         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43747         versioned symbols for ____longjmp_chk.
43748         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43749         Likewise.
43750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43751         Regenerate.
43752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43753         Regenerate.
43754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43755         Regenerate.
43756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43757         Regenerate.
43758         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43759         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43760         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43761         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43762         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43763         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43764         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43765         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43766         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43767         * sysdeps/s390/rtld-__longjmp.c: New file.
43768         * sysdeps/s390/rtld-setjmp.S: New file.
43770 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43772         [BZ #16400]
43773         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43774         Return -__logl (x) for small positive arguments without evaluating
43775         a polynomial.
43777 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43779         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43780         Rename to ...
43781         (__ptrace_peeksiginfo_args): ... this.
43782         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43783         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43784         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43786 2014-01-06  Allan McRae  <allan@archlinux.org>
43788         * inet/netinet/in.h: Fix typo in comment.
43790 2014-01-05  Andreas Jaeger  <aj@suse.de>
43792         * sysdeps/i386/fpu/libm-test-ulps: Update.
43794 2014-01-05  Allan McRae  <allan@archlinux.org>
43796         * po/libc.pot: Regenerated.
43798         * malloc/memusagestat.c: Fix gettext call formatting.
43800 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43802         * nscd/nscd.c: Improve usage() output.
43804 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43806         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43807         * sysdeps/unix/sysv/linux/configure: Regenerated.
43808         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43809         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43811 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43813         [BZ #16390]
43814         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43815         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43817 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43819         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43820         extra tokens at end of #undef directive.
43821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43822         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43823         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43825 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43827         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43829         * math/auto-libm-test-in: Mark various tests with
43830         xfail-rounding:ldbl-128ibm.
43831         * math/auto-libm-test-out: Regenerated.
43833 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43835         [BZ #16386]
43836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43837         numbers with subnormal high part when calculating exponent.
43839         [BZ #16385]
43840         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43841         fabs.
43843         [BZ #16384]
43844         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43845         M_LN2l.
43846         (__ieee754_acoshl): Use __log1pl not __log1p.
43848 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43850         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43851         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43852         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43853         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43854         (reused_arena, arena_get2): Convert to GNU style.
43855         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43856         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43857         (memalign_check, __malloc_set_state): Likewise.
43858         * malloc/mallocbug.c (main): Likewise.
43859         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43860         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43861         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43862         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43863         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43864         (__posix_memalign, malloc_info): Likewise.
43865         * malloc/malloc.h: Likewise.
43866         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43867         (mallochook, memalignhook, reallochook, mabort): Likewise.
43868         * malloc/mcheck.h: Likewise.
43869         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43870         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43871         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43872         * malloc/morecore.c (__default_morecore): Likewise.
43873         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43874         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43875         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43876         (print_and_abort): Likewise.
43877         * malloc/obstack.h: Likewise.
43878         * malloc/set-freeres.c (__libc_freeres): Likewise.
43879         * malloc/tst-mallocstate.c (main): Likewise.
43880         * malloc/tst-mtrace.c (main): Likewise.
43881         * malloc/tst-realloc.c (do_test): Likewise.
43883 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43885         [BZ #16366]
43886         * nscd/netgroupcache.c (do_notfound): New function.
43887         (addgetnetgrentX): Use it.
43889         [BZ # 16365]
43890         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43891         NSS_STATUS_NOTFOUND.
43893 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43895         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43898 2014-01-01  Allan McRae  <allan@archlinux.org>
43900         * scripts/update-copyrights: Update configure input file suffix.
43902         * NEWS: Update copyright year.
43903         * catgets/gencat.c: Likewise.
43904         * csu/version.c: Likewise.
43905         * debug/catchsegv.sh: Likewise.
43906         * debug/pcprofiledump.c: Likewise.
43907         * debug/xtrace.sh: Likewise.
43908         * elf/ldconfig.c: Likewise.
43909         * elf/ldd.bash.in: Likewise.
43910         * elf/pldd.c: Likewise.
43911         * elf/sotruss.ksh: Likewise.
43912         * elf/sprof.c: Likewise.
43913         * iconv/iconv_prog.c: Likewise.
43914         * iconv/iconvconfig.c: Likewise.
43915         * locale/programs/locale.c: Likewise.
43916         * locale/programs/localedef.c: Likewise.
43917         * login/programs/pt_chown.c: Likewise.
43918         * malloc/memusage.sh: Likewise.
43919         * malloc/memusagestat.c: Likewise.
43920         * malloc/mtrace.pl: Likewise.
43921         * manual/libc.texinfo: Likewise.
43922         * nscd/nscd.c: Likewise.
43923         * nss/getent.c: Likewise.
43924         * nss/makedb.c: Likewise.
43925         * posix/getconf.c: Likewise.
43926         * scripts/test-installation.pl: Likewise.
43928         * All files with FSF copyright notices: Update copyright dates
43929         using scripts/update-copyrights.
43930         * intl/plural.c: Regenerated.
43931         * locale/programs/charmap-kw.h: Likewise.
43932         * locale/programs/locfile-kw.h: Likewise.
43934 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43936         * sysdeps/unix/sysv/linux/configure: Regenerated.
43937         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43938         the linux/fanotify.h header.
43939         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43940         HAVE_LINUX_FANOTIFY_H is defined.
43942 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43944         * benchtests/cos-inputs: New inputs.
43945         * benchtests/sin-inputs: Likewise.
43947         * benchtests/atan-inputs: New inputs. Fix name of multiple
43948         precision fallback inputs.
43950         * benchtests/atanh-inputs: New inputs.
43951         * benchtests/tanh-inputs: Likewise.
43953         * benchtests/acosh-inputs: New inputs.
43954         * benchtests/asinh-inputs: Likewise.
43956         * benchtests/cosh-inputs: New inputs.
43957         * benchtests/sinh-inputs: Likewise.
43959         * benchtests/acos-inputs: Add more inputs.
43960         * benchtests/asin-inputs: Likewise.
43962 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43964         [BZ #16375]
43965         * manual/arith.texi: Fix spelling.
43966         * manual/charset.texi: Likewise.
43967         * manual/errno.texi: Likewise.
43968         * manual/filesys.texi: Likewise.
43969         * manual/lang.texi: Likewise.
43970         * manual/llio.texi: Likewise.
43971         * manual/locale.texi: Likewise.
43972         * manual/message.texi: Likewise.
43973         * manual/resource.texi: Likewise.
43974         * manual/search.texi: Likewise.
43975         * manual/setjmp.texi: Likewise.
43976         * manual/stdio.texi: Likewise.
43977         * manual/string.texi: Likewise.
43978         * manual/sysinfo.texi: Likewise.
43979         * manual/time.texi: Likewise.
43981 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43983         * po/sl.po: New file.
43985 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43987         * .gitignore: Add core/.gdbinit/.gdb_history.
43989 2013-12-27  Allan McRae  <allan@archlinux.org>
43991         [BZ #16369]
43992         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43993         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43995 2013-12-24  Brooks Moses  <bmoses@google.com>
43997         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43998         all compilers that claim C++98 compliance, not just GCC.
43999         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44000         Likewise.
44002 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44004         * NEWS: Restore accidentally deleted bug-fix entries.
44006 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44007             Ondřej Bílka  <neleai@seznam.cz>
44009         [BZ #15073]
44010         * malloc/malloc.c (_int_free): Perform sanity check only if we
44011         have_lock.
44013 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44015         [BZ #12986]
44016         * manual/stdio.texi (String Input Conversions): Clarify that character
44017         classes are not supported.
44019 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44023 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44025         [BZ #16337]
44026         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44027         Calculate results for small negative arguments directly rather
44028         than using reflection formula with special underflow handling.
44030         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44031         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44032         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44033         (fchflags): Likewise.
44034         (revoke): Likewise.
44035         (setlogin): Likewise.
44036         (sigaltstack): Likewise.
44037         (wait4): Likewise.
44038         (sigblock): Remove.
44039         (sigsetmask): Likewise.
44040         (wait3): Likewise.
44041         (waitpid): Likewise.
44042         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44043         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44044         file.
44045         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44046         * sysdeps/unix/bsd/Makefile: ... here.
44047         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44048         * sysdeps/unix/bsd/Versions: ... here.
44049         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44050         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44051         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44052         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44053         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44054         * sysdeps/unix/bsd/sigblock.c: ... here.
44055         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44056         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44057         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44058         * sysdeps/unix/bsd/sigvec.c: ... here.
44059         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44060         * sysdeps/unix/bsd/tcdrain.c: ... here.
44061         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44062         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44063         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44064         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44065         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44066         * sysdeps/unix/bsd/wait.c: ... here.
44067         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44068         * sysdeps/unix/bsd/wait3.c: ... here.
44069         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44070         * sysdeps/unix/bsd/waitpid.c: ... here.
44072 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44074         [BZ #16356]
44075         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44076         round-to-nearest for [!USE_AS_EXPM1L].
44077         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44078         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44079         more tests of exp and exp10.  Expect some exp10 tests to miss
44080         exceptions or fail in directed rounding modes.
44081         * math/auto-libm-test-out: Regenerated.
44082         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44083         (exp10_test_tonearest): New function.
44084         (exp10_towardzero_test_data): New array.
44085         (exp10_test_towardzero): New function.
44086         (exp10_downward_test_data): New array.
44087         (exp10_test_downward): New function.
44088         (exp10_upward_test_data): New array.
44089         (exp10_test_upward): New function.
44090         (main): Call the new functions.
44091         * sysdeps/i386/fpu/libm-test-ulps: Update.
44092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44094 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44096         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44097         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44098         * math/auto-libm-test-out: Regenerated.
44099         * math/libm-test.inc (acosh_test_data): Add more tests.
44100         (atanh_test_data): Likewise.
44101         (ceil_test_data): Likewise.
44102         (copysign_test_data): Likewise.
44103         * sysdeps/i386/fpu/libm-test-ulps: Update.
44104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44106         * timezone/checktab.awk: Update from tzcode 2013i.
44107         * timezone/private.h: Likewise.
44108         * timezone/scheck.c: Likewise.
44109         * timezone/tzfile.h: Likewise.
44110         * timezone/tzselect.ksh: Likewise.
44111         * timezone/zdump.c: Likewise.
44112         * timezone/zic.c: Likewise.
44114         * math/auto-libm-test-in: Add tests of cpow.
44115         * math/auto-libm-test-out: Regenerated.
44116         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44118         mpc_cc_c.
44119         (func_calc_desc): Add mpc_cc_c union field.
44120         (test_functions): Add cpow.
44121         (special_fill_2pi): New function.
44122         (special_real_inputs): Add 2pi.
44123         (calc_generic_results): Handle mpc_cc_c.
44124         * sysdeps/i386/fpu/libm-test-ulps: Update.
44125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44127         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44128         csqrt, ctan and ctanh.
44129         * math/auto-libm-test-out: Regenerated.
44130         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44131         (TEST_COND_x86): Likewise.
44132         (ccos_test_data): Use AUTO_TESTS_c_c.
44133         (ccosh_test_data): Likewise.
44134         (cexp_test_data): Likewise.
44135         (clog_test_data): Likewise.
44136         (csqrt_test_data): Likewise.
44137         (ctan_test_data): Likewise.
44138         (ctan_tonearest_test_data): Likewise.
44139         (ctan_towardzero_test_data): Likewise.
44140         (ctan_downward_test_data): Likewise.
44141         (ctan_upward_test_data): Likewise.
44142         (ctanh_test_data): Likewise.
44143         (ctanh_tonearest_test_data): Likewise.
44144         (ctanh_towardzero_test_data): Likewise.
44145         (ctanh_downward_test_data): Likewise.
44146         (ctanh_upward_test_data): Likewise.
44147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44148         mpc_c_c.
44149         (func_calc_desc): Add mpc_c_c union field.
44150         (FUNC_mpc_c_c): New macro.
44151         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44152         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44153         ctanh.
44154         (special_fill_min_subnorm_p120): New function.
44155         (special_real_inputs): Add min_subnorm_p120.
44156         (calc_generic_results): Handle mpc_c_c.
44157         * sysdeps/i386/fpu/libm-test-ulps: Update.
44158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44160 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44162         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44163         (do_sin_slow): New functions.
44164         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44165         (cslow2, csloww1, csloww2): Use the new functions.
44167         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44168         Use M to change sign of result instead of X.  Assume X is
44169         positive.
44170         (csloww1): Likewise.
44171         (__sin): Adjust.
44172         (__cos): Adjust.
44174         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44175         arguments A and DA.
44176         (__sin): Adjust.
44177         (__cos): Likewise.
44179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44180         (__cos): Likewise.
44181         (sloww1): Don't adjust sign of DX.
44182         (csloww1): Likewise.
44183         (sloww2): Use X directly and don't adjust sign of DX.
44184         (csloww2): Likewise.
44186 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44188         * math/auto-libm-test-in: Add tests of cabs and carg.
44189         * math/auto-libm-test-out: Regenerated.
44190         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44191         (carg_test_data): Likewise.
44192         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44193         mpc_c_f.
44194         (func_calc_desc): Add mpc_c_f union field.
44195         (test_functions): Add cabs and carg.
44196         (calc_generic_results): Handle mpc_c_f.
44198         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44199         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44200         as a macro and a compat symbol.
44201         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44202         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44203         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44204         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44205         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44206         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44207         not use .hidden.
44208         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44209         Likewise.
44210         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44211         Likewise.
44212         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44213         Likewise.
44214         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44215         Likewise.
44216         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44217         Likewise.
44218         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44219         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44220         from GLIBC_2.3.2.
44222 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44226 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44228         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44229         trailing whitespace removed.
44230         * scripts/config.guess: Update to version 2013-11-29.
44231         * scripts/config.sub: Update to version 2013-10-01.
44233         * math/auto-libm-test-in: Add tests of sincos.
44234         * math/auto-libm-test-out: Regenerated.
44235         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44236         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44237         mpfr_f_11.
44238         (func_calc_desc): Add mpfr_f_11 union field.
44239         (test_functions): Add sincos.
44240         (calc_generic_results): Handle mpfr_f_11.
44241         * sysdeps/i386/fpu/libm-test-ulps: Update.
44242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44244 2013-12-19  Andreas Schwab  <schwab@suse.de>
44246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44247         CALL_MCOUNT.
44248         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44249         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44250         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44252 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44254         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44255         * sysdeps/i386/fpu/libm-test-ulps: Update.
44256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44258         [BZ #16293]
44259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44260         round-to-nearest mode when using frndint.
44261         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44262         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44264         Likewise.
44265         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44266         sinh test to fail.
44267         * math/auto-libm-test-out: Regenerated.
44268         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44269         (TEST_COND_x86): Likewise.
44270         (expm1_tonearest_test_data): New array.
44271         (expm1_test_tonearest): New function.
44272         (expm1_towardzero_test_data): New array.
44273         (expm1_test_towardzero): New function.
44274         (expm1_downward_test_data): New array.
44275         (expm1_test_downward): New function.
44276         (expm1_upward_test_data): New array.
44277         (expm1_test_upward): New function.
44278         (main): Run the new test functions.
44279         * sysdeps/i386/fpu/libm-test-ulps: Update.
44280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44282         * include/features.h: Update comment documenting feature test
44283         macros.  Mention _DEFAULT_SOURCE in comment.
44284         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44285         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44286         _BSD_SOURCE and _SVID_SOURCE.
44287         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44288         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44289         !_SVID_SOURCE]: Likewise.
44290         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44291         (__USE_POSIX_IMPLICITLY): Define.
44292         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44293         (_POSIX_SOURCE): Undefine and redefine.
44294         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44295         (_POSIX_C_SOURCE): Likewise.
44296         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44297         (Feature Test Macros): Update documentation of default features.
44299 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44301         * benchtests/Makefile: Add bench-strtok.
44302         * benchtests/bench-strtok.c: New file: strtok benchtest.
44304 2013-12-19  Allan McRae  <allan@archlinux.org>
44306         * manual/install.texi: Suppress menu for plain text output.
44307         * INSTALL: Regenerated.
44309 2013-12-18  Brooks Moses  <bmoses@google.com>
44311         [BZ #15846]
44312         * misc/getauxval.c: Include errno.h.
44313         (__getauxval): Set errno to ENOENT if the requested type is not
44314         found.
44315         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44316         don't declare with __attribute_const__.
44317         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44318         * manual/startup.texi: Document that getauxval sets errno.
44320 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44322         * math/auto-libm-test-in: Add tests of jn and yn.
44323         * math/auto-libm-test-out: Regenerated.
44324         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44325         (yn_test_data): Likewise.
44326         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44327         mpfr_if_f.
44328         (func_calc_desc): Add mpfr_if_f union field.
44329         (FUNC_mpfr_if_f): New macro.
44330         (test_functions): Add jn and yn.
44331         (calc_generic_results): Assert type of second input for
44332         mpfr_ff_f.  Handle mpfr_if_f.
44333         (output_for_one_input_case): Disable all checking for arguments
44334         fitting floating-point types in case of an integer argument.
44335         * sysdeps/i386/fpu/libm-test-ulps: Update.
44336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44339         Don't expect fegetround reference in libm.so.
44341 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44343         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44344         $(config-cflags-nofma).
44346 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44348         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44349         * math/auto-libm-test-out: Regenerated.
44351         [BZ #16338]
44352         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44353         to determine exponent and adjust argument to have exponent of -1.
44354         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44355         log2.
44356         * math/auto-libm-test-out: Regenerated.
44357         * sysdeps/i386/fpu/libm-test-ulps: Update.
44358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44360 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44362         * manual/probes.texi: Remove cases when per-thread arenas are
44363         disabled.
44365 2013-12-18  Andreas Schwab  <schwab@suse.de>
44367         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44368         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44369         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44370         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44371         * sysdeps/i386/i686/multiarch/Makefile: Update.
44372         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44374 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44376         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44377         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44379 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44381         [BZ #15968]
44382         Support TZ transition times < 00:00:00.
44383         This is needed for version-3 tz-format files; it supports time
44384         stamps past 2037 for America/Godthab (the only entry in the tz
44385         database for which this change is relevant).
44386         * manual/time.texi (TZ Variable): Document transition times
44387         from -167:59:59 through -00:00:01.
44388         * time/tzset.c (tz_rule): Time of day is now signed.
44389         (__tzset_parse_tz): Parse negative time of day.
44391         Document TZ transition times >= 25:00:00.
44392         * manual/time.texi (TZ Variable): Document transition times from
44393         25:00:00 through 167:59:59.  These are already supported, and this
44394         support will help with version-3 tz-format files.
44396         * manual/time.texi (TZ Variable): Modernize North America example
44397         to reflect current (i.e., 2007-and-later) daylight saving rules.
44399         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44401 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44403         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44404         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44407         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44408         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44409         * sysdeps/unix/bsd/clock.c: Likewise.
44410         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44411         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44412         * sysdeps/unix/bsd/init-posix.c: Likewise.
44413         * sysdeps/unix/bsd/poll.c: Likewise.
44414         * sysdeps/unix/bsd/ptsname.c: Likewise.
44415         * sysdeps/unix/bsd/seekdir.c: Likewise.
44416         * sysdeps/unix/bsd/setegid.c: Likewise.
44417         * sysdeps/unix/bsd/seteuid.c: Likewise.
44418         * sysdeps/unix/bsd/setgid.c: Likewise.
44419         * sysdeps/unix/bsd/setrgid.c: Likewise.
44420         * sysdeps/unix/bsd/setruid.c: Likewise.
44421         * sysdeps/unix/bsd/setsid.c: Likewise.
44422         * sysdeps/unix/bsd/setuid.c: Likewise.
44423         * sysdeps/unix/bsd/sigaction.c: Likewise.
44424         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44425         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44426         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44427         * sysdeps/unix/bsd/telldir.c: Likewise.
44428         * sysdeps/unix/bsd/times.c: Likewise.
44429         * sysdeps/unix/bsd/usleep.c: Likewise.
44431         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44432         ($(objpfx)libbsd-compat.a): Remove rule.
44434         * include/features.h (__FAVOR_BSD): Do not define.
44435         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44436         features conflicting with POSIX.
44437         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44438         (_BSD_SOURCE): Remove description of not being a subset of other
44439         feature test macros.
44440         * manual/job.texi (getpgrp): Do not document BSD version.
44441         (getpgid): Do not document by reference to BSD getpgrp.
44442         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44443         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44444         * signal/signal.h [__FAVOR_BSD]: Likewise.
44445         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44446         instead of making contents conditional on [__FAVOR_BSD].
44447         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44449 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44453 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44455         [BZ #16314]
44456         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44457         values below 2**-450, not 2**-500.
44458         * math/auto-libm-test-in: Don't allow spurious underflow from
44459         hypot.
44460         * math/auto-libm-test-out: Regenerated.
44462         [BZ #16316]
44463         [BZ #16330]
44464         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44465         values of ha and hb and sort them after adjusting subnormal
44466         arguments.
44467         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44468         Likewise.
44469         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44470         values of ea and eb and sort them after adjusting subnormal
44471         arguments.
44472         * math/auto-libm-test-in: Do not expect some hypot tests of
44473         subnormals to fail.  Add more hypot tests.
44474         * math/auto-libm-test-out: Regenerated.
44476 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44478         [BZ #13304]
44479         * sysdeps/sh/s_fma.c: New file.
44480         * sysdeps/sh/s_fmaf.c: New file.
44481         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44482         version.
44483         * sysdeps/sh/Implies: Add sh/soft-fp.
44485 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44487         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44488         level of indirection to members `objname', `errstring', `malloced'.
44489         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44490         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44491         it as the __longjmp argument (just pass 1 instead).
44492         (_dl_catch_error): Initialize C with argument pointers and address of
44493         volatile local ERRCODE rather than copying values out of C at return.
44495 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44497         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44498         * math/auto-libm-test-out: Regenerated.
44499         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44500         (hypot_test_data): Likewise.
44501         (pow_test_data): Likewise.
44502         (pow_tonearest_test_data): Likewise.
44503         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44504         mpfr_ff_f.
44505         (func_calc_desc): Add mpfr_ff_f union field.
44506         (FUNC_mpfr_ff_f): New macro.
44507         (test_functions): Add atan2, hypot and pow.
44508         (special_fill_min): New function.
44509         (special_fill_minus_min): Likewise.
44510         (special_fill_min_subnorm): Likewise.
44511         (special_fill_minus_min_subnorm): Likewise.
44512         (special_real_inputs): Add min, -min, min_subnorm and
44513         -min_subnorm.
44514         (calc_generic_results): Handle mpfr_ff_f.
44515         * sysdeps/i386/fpu/libm-test-ulps: Update.
44516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44518 2013-12-16  Will Newton  <will.newton@linaro.org>
44520         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44521         (Aligned Memory Blocks): Add documentation for aligned_alloc
44522         and suggest it as an alternative to posix_memalign.
44523         (Hooks for Malloc): Document __memalign_hook is also called
44524         for aligned_alloc.  (Summary of Malloc): Add summary for
44525         aligned alloc.  Document __memalign_hook is also called
44526         for aligned_alloc.
44528 2013-12-16  Will Newton  <will.newton@linaro.org>
44530         * manual/memory.texi (Malloc Examples): Clarify default
44531         alignment documentation.  Suggest posix_memalign rather
44532         than memalign or valloc.
44533         (Aligned Memory Blocks): Remove suggestion to use memalign
44534         or valloc.  Remove obsolete comment about BSD.
44535         Document memalign errno values and mark the function obsolete.
44536         Document posix_memalign returned error codes.  Mark valloc
44537         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44538         called for posix_memalign and valloc.
44539         (Summary of Malloc): Add posix_memalign to function summary.
44540         __memalign_hook is also called for posix_memalign and valloc.
44542 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44544         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44545         TAYLOR_SIN.
44546         (__sin): Adjust.
44547         (__cos): Likewise.
44548         (sloww): Use mynumber union.  Expand ternary operator into
44549         if-else statements.
44550         (cslow): use mynumber union.
44552 2013-12-16  Allan McRae  <allan@archlinux.org>
44554         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44555         * configure: Regenerated.
44557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44559         [BZ #14120]
44560         * configure.ac: Added --enable-maintainer-mode. Check for
44561         autoconf when enabled.
44562         * configure: Regenerated.
44564         * nscd/nscd.service: New file.
44565         * nscd/nscd.tmpfiles: New file.
44567 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44569         [BZ #12100]
44570         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44571         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44572         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44573         (strstr): Add __strstr_sse2_unaligned ifunc.
44574         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44575         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44576         (strcasestr): Remove __strcasestr_sse42 ifunc.
44577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44581 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44583         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44584         * sysdeps/sh/bits/fenv.h: ... here.
44585         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44587 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44589         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44592         hypotf multiarch implementations.
44593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44596         multiarch hypot for PPC64.
44597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44599         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44600         multiarch hypotf for PPC64.
44602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44603         modff multiarch implementations.
44604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44607         multiarch modf for PPC64.
44608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44611         multiarch modff for PPC64.
44613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44614         and logl multiarch implementations.
44615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44618         multiarch logb for PPC64.
44619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44622         multiarch logb for PPC64.
44623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44626         multiarch logb for PPC64.
44628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44629         isinff multiarch implementation.
44630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44631         file.
44632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44634         multiarch isinf for PPC64.
44635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44636         file.
44637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44638         multiarch isinff for PPC64.
44640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44641         finitef multiarch implementation.
44642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44643         file.
44644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44646         multiarch finite for PPC64.
44647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44648         file.
44649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44650         multiarch finitef for PPC64.
44652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44653         lrint multiarch implementation.
44654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44655         file.
44656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44658         multiarch llrint for PPC64.
44659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44660         multiarch lrint for PPC64.
44662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44663         copysignf multiarch implementation.
44664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44665         file.
44666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44667         file.
44668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44669         multiarch copysign for PPC64.
44670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44671         multiarch copysignf for PPC64.
44673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44674         multiarch implementation.
44675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44676         file.
44677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44678         file.
44679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44680         file.
44681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44682         file.
44683         multiarch llround for PPC64.
44684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44685         multiarch trunc for PPC64.
44686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44687         multiarch truncf for PPC64.
44689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44690         multiarch implementation.
44691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44692         file.
44693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44694         file.
44695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44696         file.
44697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44698         file.
44699         multiarch llround for PPC64.
44700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44701         multiarch round for PPC64.
44702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44703         multiarch roundf for PPC64.
44705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44706         multiarch implementation.
44707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44708         file.
44709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44710         file.
44711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44712         file.
44713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44714         file.
44715         multiarch llround for PPC64.
44716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44717         multiarch floor for PPC64.
44718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44719         multiarch floorf for PPC64.
44721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44722         multiarch implementation.
44723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44724         file.
44725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44726         file.
44727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44728         file.
44729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44730         file.
44731         multiarch llround for PPC64.
44732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44733         multiarch ceil for PPC64.
44734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44735         multiarch ceilf for PPC64.
44737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44738         multiarch implementation.
44739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44740         file.
44741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44742         file.
44743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44744         file.
44745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44746         multiarch llround for PPC64.
44747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44748         multiarch lround for PPC64.
44750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44751         multiarch implementation.
44752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44755         file.
44756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44759         multiarch isnan for PPC64.
44760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44761         multiarch isnanf for PPC64.
44763         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44764         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44765         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44766         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44767         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44770         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44771         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44776         multiarch implementations.
44777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44778         (__libc_ifunc_impl_list): Likewise.
44779         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44782         multiarch stpcpy for PPC64.
44784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44785         multiarch implementations.
44786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44787         (__libc_ifunc_impl_list): Likewise.
44788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44789         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44790         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44791         multiarch strcpy for PPC64.
44793         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44794         redefine function name.
44795         (_wordcopy_fwd_dest_aligned): Likewise.
44796         (_wordcopy_bwd_aligned): Likewise.
44797         (_wordcopy_bwd_dest_aligned): Likewise.
44798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44799         multiarch implementations.
44800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44801         (__libc_ifunc_impl_list): Likewise.
44802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44806         multiarch wcscpy for PPC64.
44808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44809         multiarch implementations.
44810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44811         (__libc_ifunc_impl_list): Likewise.
44812         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44813         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44816         multiarch wcscpy for PPC64.
44818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44819         multiarch implementations.
44820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44821         (__libc_ifunc_impl_list): Likewise.
44822         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44823         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44824         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44825         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44826         multiarch wcsrchr for PPC64.
44828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44829         multiarch implementations.
44830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44831         (__libc_ifunc_impl_list): Likewise.
44832         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44833         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44834         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44835         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44836         multiarch wcschr for PPC64.
44838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44839         multiarch implementations.
44840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44841         (__libc_ifunc_impl_list): Likewise.
44842         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44843         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44844         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44845         multiarch strchrnul for PPC64.
44847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44848         implementations.
44849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44850         (__libc_ifunc_impl_list): Likewise.
44851         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44852         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44853         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44854         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44855         strchr for PPC64.
44857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44858         implementations.
44859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44860         (__libc_ifunc_impl_list): Likewise.
44861         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44862         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44863         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44864         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44865         strncmp for PPC64.
44867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44868         multiarch implementations.
44869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44870         (__libc_ifunc_impl_list): Likewise.
44871         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44872         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44873         strncasecmp for PPC64.
44874         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44875         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44876         multiarch strncasecmp_l for PPC64.
44878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44879         multiarch implementations.
44880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44881         (__libc_ifunc_impl_list): Likewise.
44882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44884         multiarch strcasecmp for PPC64.
44885         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44886         file.
44887         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44888         multiarch strcasecmp_l for PPC64.
44890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44891         implementations.
44892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44893         (__libc_ifunc_impl_list): Likewise.
44894         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44895         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44896         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44897         strnlen for PPC64.
44899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44900         implementations.
44901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44902         (__libc_ifunc_impl_list): Likewise.
44903         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44904         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44905         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44906         strlen for PPC64.
44908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44909         implementations.
44910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44911         (__libc_ifunc_impl_list): Likewise.
44912         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44913         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44914         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44915         rawmemrchr for PPC64.
44917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44918         implementation.
44919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44920         (__libc_ifunc_impl_list): Likewise.
44921         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44922         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44923         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44924         memrchr for PPC64.
44926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44927         implementation.
44928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44929         (__libc_ifunc_impl_list): Likewise.
44930         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44931         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44932         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44933         memchr for PPC64.
44935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44936         implementation.
44937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44938         (__libc_ifunc_impl_list): Likewise.
44939         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44940         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44941         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44942         mempcpy for PPC64.
44944         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44945         avoid cretion of __bzero symbol.
44946         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44947         Likewise.
44948         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44949         Likewise.
44950         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44951         Likewise.
44952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44953         multiarch implementations.
44954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44955         (__libc_ifunc_impl_list): Likewise.
44956         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44957         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44958         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44959         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44960         bzero for PPC32.
44961         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44962         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44963         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44964         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44965         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44966         memset for PPC64.
44967         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44969         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44971         implementations.
44972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44973         (__libc_ifunc_impl_list): Likewise.
44974         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44975         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44976         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44977         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44978         memcmp for PPC64.
44980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44981         multiarch for POWER/PPC64.
44982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44983         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44990         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44991         memcpy for PPC64.
44993         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44994         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44995         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44996         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44997         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44998         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44999         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45000         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45001         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45002         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45003         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45004         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45005         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45006         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45007         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45016 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45018         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45020 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45022         * benchtests/Makefile (bench): Add exp2 and log2.
45023         (LDLIBS-bench-exp2): Add -lm.
45024         (LDLIBS-bench-log2): Likewise.
45025         * benchtests/exp2-inputs: New inputs file.
45026         * benchtests/log2-inputs: New inputs file.
45027         * benchtests/log-inputs: Add new inputs.
45028         * benchtests/tan-inputs: Likewise.
45030 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45032         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45033         definition...
45034         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45035         (csloww2): ... from here.
45037         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45038         instead of structures.
45039         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45040         (POLYNOMIAL): Likewise.
45041         (TAYLOR_SLOW): Likewise.
45042         (__sin): Likewise.
45043         (__cos): Likewise.
45044         (slow1): Likewise.
45045         (slow2): Likewise.
45046         (sloww): Likewise.
45047         (sloww1); Likewise.
45048         (sloww2): Likewise.
45049         (bsloww1): Likewise.
45050         (bsloww2): Likewise.
45051         (cslow2): Likewise.
45052         (csloww): Likewise.
45053         (csloww1): Likewise.
45054         (csloww2): Likewise.
45056 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45058         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45059         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45060         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45061         * malloc/hooks.c (realloc_check): Likewise.
45063         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45064         * malloc/arena.c: Remove PER_THREAD conditional.
45065         [!PER_THREAD]: Remove code.
45066         (ptmalloc_unlock_all2): Likewise.
45067         (ptmalloc_init): Likewise.
45068         (_int_new_arena): Likewise.
45069         (arena_get2): Likewise.
45070         * malloc/hooks.c (__malloc_get_state): Likewise.
45071         (__malloc_set_state): Likewise.
45072         * malloc/malloc.c: Likewise.
45073         (struct malloc_state): Likewise.
45074         (struct malloc_par): Likewise.
45075         (__libc_realloc): Likewise.
45076         (__libc_mallopt): Likewise.
45078 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45080         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45082 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45084         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45085         macro to a function.  Check for zero perturb_byte.
45086         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45088         * malloc/malloc.c: (force_reg): Remove.
45089         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45090         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45091         force_reg by atomic_forced_read.
45092         * malloc/arena.c (ptmalloc_init): Likewise.
45093         * malloc/hooks.c (top_check): Likewise.
45095 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45099 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45103 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45105         * math/auto-libm-test-in: Add tests of lgamma.
45106         * math/auto-libm-test-out: Regenerated.
45107         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45108         (M_LOG_2_SQRT_PIl): Likewise.
45109         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45110         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45111         mpfr_f_f1.
45112         (func_calc_desc): Add mpfr_f_f1 union field.
45113         (ARGS1): New macro.
45114         (ARGS2): Likewise.
45115         (ARGS3): Likewise.
45116         (ARGS4): Likewise.
45117         (RET1): Likewise.
45118         (RET2): Likewise.
45119         (CALC): Likewise.
45120         (FUNC): Likewise.
45121         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45122         (test_functions): Add lgamma.
45123         (calc_generic_results): Handle mpfr_f_f1.
45124         * sysdeps/i386/fpu/libm-test-ulps: Update.
45125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45127 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45129         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45130         __mpn_add_n for PowerPC64/POWER7.
45131         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45132         __mpn_sub_n for PowerPC64/POWER7.
45134         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45135         __mpn_addmul_1 for PowerPC64.
45136         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45137         __mpn_submul_1 for PowerPC64.
45138         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45139         for PowerPC64.
45140         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45141         for PowerPC64.
45143 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45145         [BZ #15089]
45146         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45148 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45150         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45152         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45153         add multiarch folders.
45154         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45155         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45156         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45157         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45158         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45159         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45160         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45161         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45162         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45163         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45164         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45173         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45175         New file.
45176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45177         New file.
45178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45179         multiarch __ieee754_hypot for PowerPC32.
45180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45181         New file.
45182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45183         New file.
45184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45185         multiarch __ieee754_hypotf for PowerPC32.
45187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45188         long_double_symbol only if __logbl is defined.
45189         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45190         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45192         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45194         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45195         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45196         path for implementation.
45197         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45200         logb, and logbl multiarch implementations for PowerPC32.
45201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45202         file.
45203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45204         file.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45206         multiarch logb for PowerPC32.
45207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45208         file.
45209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45210         file.
45211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45212         multiarch logbf for PowerPC32.
45213         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45215         file.
45216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45217         multiarch logbl implementation for PowerPC32.
45219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45220         and modff multiarch implementations.
45221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45222         New file.
45223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45224         New file.
45225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45226         multiarch modf for PowerPC32.
45227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45228         New file.
45229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45230         New file.
45231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45232         multiarch modff for PowerPC32.
45234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45235         and lrintf multiarch implementations.
45236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45237         New file.
45238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45239         New file.
45240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45241         multiarch lrint for PowerPC32.
45242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45243         file: multiarch lrintf for PowerPC32.
45245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45246         and lroundf multiarch implementations.
45247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45248         New file.
45249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45250         New file.
45251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45252         New file.
45253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45254         multiarch lround for PowerPC32.
45255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45256         file: multiarch lroundf for PowerPC32.
45258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45259         copysign and copysignf multiarch implementations.
45260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45261         New file.
45262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45263         New file.
45264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45265         file: multiarch copysign for PowerPC32.
45266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45267         file: multiarch copysignf for PowerPC32.
45269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45270         and truncf multiarch implementations.
45271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45272         New file.
45273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45274         file.
45275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45276         multiarch trunc for PowerPC32.
45277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45278         New file.
45279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45280         New file.
45281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45282         multiarch truncf for PowerPC32.
45284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45285         and roundf multiarch implementations.
45286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45287         New file.
45288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45289         file.
45290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45291         multiarch round for PowerPC32.
45292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45293         New file.
45294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45295         New file.
45296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45297         multiarch roundf for PowerPC32.
45299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45300         and floorf multiarch implementations.
45301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45302         New file.
45303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45304         file.
45305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45306         multiarch floor for PowerPC32.
45307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45308         New file.
45309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45310         New file.
45311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45312         multiarch floorf for PowerPC32.
45314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45315         and ceilf multiarch implementations.
45316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45317         New file.
45318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45319         file.
45320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45321         multiarch ceil for PowerPC32.
45322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45323         New file.
45324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45325         file.
45326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45327         multiarch ceilf for PowerPC32.
45329         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45330         is defined.
45331         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45332         FINITEF is defined.
45333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45334         and finitef multiarch implementations.
45335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45336         New file.
45337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45338         file.
45339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45340         multiarch finite for PowerPC32.
45341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45342         New file.
45343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45344         file: multiarch finitef for PowerPC32.
45346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45347         and isinff multiarch implementations.
45348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45349         file.
45350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45351         file.
45352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45353         multiarch isinf for PowerPC32.
45354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45355         New file.
45356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45357         multiarch isinff for PowerPC32.
45359         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45360         alias when __isnan is defined.
45361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45362         and isnanf multiarch implementations.
45363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45364         file.
45365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45366         file.
45367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45368         file.
45369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45370         file.
45371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45372         multiarch isnan for PowerPC32.
45373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45374         New file.
45375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45376         New file.
45377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45378         multiarch isnanf for PowerPC32.
45380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45381         and sqrtf multiarch implementations.
45382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45383         file.
45384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45385         file.
45386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45387         multiarch sqrt for PowerPC32.
45388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45389         file.
45390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45391         file.
45392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45393         multiarch sqrtf for PowerPC32.
45395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45396         and llroundf multiarch implementations.
45397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45398         New file.
45399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45400         New file.
45401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45402         New file.
45403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45404         file: multiarch llround for PowerPC32.
45405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45406         file: multiarch llroundf for PowerPC32.
45408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45409         multiarch PowerPC32 fpu implementations.
45410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45411         New file.
45412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45413         New file.
45414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45415         multiarch llrint for PowerPC32.
45416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45417         New file.
45418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45419         New file.
45420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45421         file.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45425         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45426         file.
45427         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45428         file.
45429         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45430         file.
45431         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45432         multiarch wordcopy for PPC32.
45433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45434         wordcopy objects.
45435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45436         (__libc_ifunc_impl_list): Likewise.
45437         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45438         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45440         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45441         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45442         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45444         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45446         file.
45447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45448         file.
45449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45450         file.
45451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45452         multiarch wcscpy for PPC32.
45453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45454         multiarch objects.
45455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45456         (__libc_ifunc_impl_list): Likewise.
45457         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45458         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45459         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45460         sysdeps/powerpc/power6/wcscpy.c.
45462         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45464         file.
45465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45466         file.
45467         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45468         file.
45469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45470         multiarch wcsrchr for PPC32.
45471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45472         multiarch objects.
45473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45474         (__libc_ifunc_impl_list): Likewise.
45475         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45476         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45477         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45478         sysdeps/powerpc/power6/wcsrchr.c.
45480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45481         file.
45482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45483         file.
45484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45486         multiarch wcschr for PPc32.
45487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45488         multiarch objects.
45489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45490         (__libc_ifunc_impl_list): Likewise.
45491         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45492         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45493         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45494         sysdeps/powerpc/power6/wcschr.c.
45496         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45497         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45498         file.
45499         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45500         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45501         file: multiarch strchr for PPC32.
45502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45503         multiarch objects.
45504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45505         (__libc_ifunc_impl_list): Likewise.
45507         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45508         name.
45509         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45510         file.
45511         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45512         file.
45513         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45514         multiarch strchrnul for PPC32.
45515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45516         multiarch objects.
45517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45518         (__libc_ifunc_impl_list): Likewise.
45520         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45521         file.
45522         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45523         multiarch strncasecmp for PPC32.
45524         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45525         file.
45526         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45527         multiarch strncasecmp_l for PPC32.
45528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45529         strncasecmp multiarch objects.
45530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45531         (__libc_ifunc_impl_list): Likewise.
45533         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45534         file.
45535         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45536         multiarch strncasecmp for PPC32.
45537         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45538         New file.
45539         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45540         multiarch strcasecmp_l for PPC32.
45541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45542         multiarch objects.
45543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45544         (__libc_ifunc_impl_list): Likewise.
45546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45547         file.
45548         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45549         file.
45550         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45551         multiarch strncmp for PPC32.
45552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45553         multiarch objects.
45554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45555         (__libc_ifunc_impl_list): Likewise.
45557         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45558         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45559         file.
45560         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45562         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45563         multiarch objects.
45564         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45565         (__libc_ifunc_impl_list): Likewise.
45567         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45568         file.
45569         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45570         file.
45571         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45573         multiarch objects.
45574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45575         (__libc_ifunc_impl_list): Likewise.
45577         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45578         file.
45579         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45580         file.
45581         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45582         multiarch rawmemchr for PPC32.
45583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45584         multiarch objects.
45585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45586         (__libc_ifunc_impl_list): Likewise.
45588         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45589         file.
45590         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45591         file.
45592         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45593         file: memrchr multiarch for PPC32.
45594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45595         multiarch objects.
45596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45597         (__libc_ifunc_impl_list): Likewise.
45599         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45600         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45601         file.
45602         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45604         multiarch memchr for PPC32.
45605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45606         multiarch objects.
45607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45608         (__libc_ifunc_impl_list): Likewise.
45610         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45611         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45612         file.
45613         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45614         file.
45615         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45616         file: multiarch mempcpy for PPC32.
45617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45618         multiarch objects.
45619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45620         (__libc_ifunc_impl_list): Likewise.
45622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45623         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45624         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45626         multiarch bzero for PPC32.
45627         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45628         file.
45629         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45630         file.
45631         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45632         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45633         file: multiarch memset for PPC32.
45634         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45636         memset multiarch objects.
45637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45638         (__libc_ifunc_impl_list): Likewise.
45640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45641         file.
45642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45644         memcmp for PPC32.
45645         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45647         multiarch objects.
45648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45649         (__libc_ifunc_impl_list): Likewise.
45651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45654         file.
45655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45656         file.
45657         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45658         file.
45659         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45660         multiarch memcpy for PPC32.
45661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45662         multiarch objects.
45663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45664         (__libc_ifunc_impl_list): Likewise.
45666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45667         support multiarch for POWER/PPC32.
45668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45669         Likewise.
45670         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45672         Implies file to make multiarch folder appers before the fpu and
45673         default folder for power4 configuration.
45675 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45677         * scripts/bench.pl: Append volatile keyword to type.
45679 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45681         * sysdeps/sh/sotruss-lib.c: New file.
45682         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45684 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45688 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45690         [BZ #6810]
45691         * math/w_tgamma.c: Include <errno.h>.
45692         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45693         * math/w_tgammaf.c: Include <errno.h>.
45694         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45695         * math/w_tgammal.c: Include <errno.h>.
45696         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45697         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45698         underflow.  Add more tgamma tests.
45699         * math/auto-libm-test-out: Regenerated.
45700         * sysdeps/i386/fpu/libm-test-ulps: Update.
45701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45703         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45704         sin, sinh, tan, tanh, tgamma, y0 and y1.
45705         * math/auto-libm-test-out: Regenerated.
45706         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45707         (TEST_COND_x86): Likewise.
45708         (M_E2l): Remove macro.
45709         (M_E3l): Likewise.
45710         (M_2_SQRT_PIl): Likewise.
45711         (M_SQRT_PIl): Likewise.
45712         (M_1_DIV_El): Likewise.
45713         (log_test_data): Use AUTO_TESTS_f_f.
45714         (log10_test_data): Likewise.
45715         (log1p_test_data): Likewise.
45716         (log2_test_data): Likewise.
45717         (sin_test_data): Likewise.
45718         (sin_tonearest_test_data): Likewise.
45719         (sin_towardzero_test_data): Likewise.
45720         (sin_downward_test_data): Likewise.
45721         (sin_upward_test_data): Likewise.
45722         (sinh_test_data): Likewise.
45723         (sinh_tonearest_test_data): Likewise.
45724         (sinh_towardzero_test_data): Likewise.
45725         (sinh_downward_test_data): Likewise.
45726         (sinh_upward_test_data): Likewise.
45727         (tan_test_data): Likewise.
45728         (tan_tonearest_test_data): Likewise.
45729         (tan_towardzero_test_data): Likewise.
45730         (tan_downward_test_data): Likewise.
45731         (tan_upward_test_data): Likewise.
45732         (tanh_test_data): Likewise.
45733         (tgamma_test_data): Likewise.
45734         (y0_test_data): Likewise.
45735         (y1_test_data): Likewise.
45736         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45737         (special_real_inputs): Add pi/4.
45738         * sysdeps/i386/fpu/libm-test-ulps: Update.
45739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45741 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45743         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45744         "longjmp_target" static probes.
45745         (__longjmp): Rename to __longjmp_symbol.
45746         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45747         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45748         on which longjmp to generate.
45749         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45750         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45751         probe.
45752         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45753         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45754         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45755         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45756         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45757         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45759         __longjmp_symbol based on which __longjmp to generate.
45760         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45761         probe.
45762         (setjmp): Rename to setjmp_symbol.
45763         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45764         (_setjmp): Rename to _setjmp_symbol.
45765         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45766         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45767         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45768         which setjmp to generate.
45769         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45770         "longjmp_target" static probes.
45772 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45774         * benchtests/README: Add note about output arguments.
45775         * benchtests/bench-sincos.c: Remove file.
45776         * benchtests/sincos-inputs: New file.
45777         * scripts/bench.pl: Identify output arguments and define
45778         static variables for them.
45780         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45782         [BZ #15941]
45783         * Makefile (INSTALL): Add install-plain.texi as the primary
45784         dependency.
45785         * manual/install-plain.texi: New file.
45786         * manual/install.texi: Include node directive only for
45787         non-plaintext output.
45789 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45791         * stdlib/longlong.h: Update from GCC.
45793         [BZ #6807]
45794         [BZ #15901]
45795         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45796         * math/w_j0f.c (y0f): Likewise.
45797         * math/w_j0l.c (__y0l): Likewise.
45798         * math/w_j1.c (y1): Likewise.
45799         * math/w_j1f.c (y1f): Likewise.
45800         * math/w_j1l.c (__y1l): Likewise.
45801         * math/w_jn.c (yn): Likewise.
45802         * math/w_jnf.c (ynf): Likewise.
45803         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45804         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45805         value for Bessel function domain errors outside _SVID_ mode.
45806         Adjust sign of return value for yn (negative integer, 0).
45807         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45808         by zero in return for negative x and set sign appropriately for
45809         negative n.
45810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45811         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45812         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45813         expectations in error cases.
45814         (y1_test_data): Likewise.
45815         (yn_test_data): Likewise.
45816         * sysdeps/i386/fpu/libm-test-ulps: Update.
45817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45819 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45821         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45822         "64" to "64-v1".  Add "64-v2".
45823         (abi-64-options): Rename to ...
45824         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45825         (abi-64-condition): Rename to ...
45826         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45827         (abi-64-ld-soname): Rename to ...
45828         (abi-64-v1-ld-soname): ... this.
45829         (abi-64-v2-options): Define.
45830         (abi-64-v2-condition): Likewise.
45831         (abi-64-v2-ld-soname): Likewise.
45832         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45833         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45838 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45839             Alan Modra  <amodra@gmail.com>
45841         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45842         New versions for use with the ELFv2 ABI.
45843         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45844         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45845         declaration.
45846         (struct La_ppc64v2_retval): Likewise.
45847         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45848         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45849         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45850         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45851         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45852         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45853         Do not save or restore CR.
45854         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45855         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45856         return values for ELFv2 ABI.  Fix location of FPR return registers.
45857         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45858         updated values for _CALL_ELF == 2.
45859         (La_regs, La_retval, int_retval): Likewise.
45861 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45863         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45864         (FRAME_MIN_SIZE_PARM): Likewise.
45865         (FRAME_BACKCHAIN): Likewise.
45866         (FRAME_CR_SAVE): Likewise.
45867         (FRAME_LR_SAVE): Likewise.
45868         (FRAME_TOC_SAVE): Likewise.
45869         (FRAME_PARM_SAVE): Likewise.
45870         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45871         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45872         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45873         (call_mcount_parm_offset): New macro.
45874         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45875         (PROF): Use symbolic stack frame offsets.
45876         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45877         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45878         Redefine in terms of FRAME_MIN_SIZE.
45879         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45880         (_dl_profile_resolve): Likewise.  Update comment.
45881         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45882         symbols stack frame offsets.
45883         (__sigsetjmp): Likewise.
45884         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45885         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45886         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45887         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45890         (FRAME_BACKCHAIN): Remove.
45891         (FRAME_CR_SAVE): Likewise.
45892         (FRAME_LR_SAVE): Likewise.
45893         (FRAME_COMPILER_DW): Likewise.
45894         (FRAME_LINKER_DW): Likewise.
45895         (FRAME_TOC_SAVE): Likewise.
45896         (FRAME_PARM_SAVE): Likewise.
45897         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45898         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45899         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45901         (CHECK_SP): Use symbolic stack frame offsets.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45903         zone" instead of caller's parameter save area for temp storage.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45905         Likewise.  Also, use symbolic stack frame offsets.
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45907         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45908         our own stack frame instead of the caller's.
45909         (__socket): Use symbolic stack frame offsets.
45911 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45912             Alan Modra  <amodra@gmail.com>
45914         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45915         Define.
45916         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45917         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45918         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45919         New function.
45920         (elf_machine_fixup_plt): Call it.
45921         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45922         reloc arguments.
45923         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45924         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45925         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45926         r2 before calling target.
45928 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45929             Alan Modra  <amodra@gmail.com>
45931         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45932         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45933         versions of macros to support ELFv2 ABI.
45934         (LOCALENTRY): New macro.
45935         (ENTRY, EALIGN): Use it.
45936         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45937         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45938         fall through into ENTRY entry point.
45939         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45940         Only define if _CALL_ELF != 2.
45942         (elf_machine_matches_host): Verify ABI version matches.
45943         (RTLD_START): Use LOCALENTRY.
45944         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45945         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45946         (PLT_ENTRY_WORDS): New macro.
45947         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45948         (elf_machine_runtime_setup): Support ELFv2 ABI.
45949         (elf_machine_fixup_plt): Likewise.
45950         (elf_machine_plt_conflict): Likewise.
45951         (resolve_ifunc): Likewise.
45952         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45953         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45954         Likewise.
45955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45956         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45958         (makecontext): Support ELFv2 ABI.
45959         * elf/elf.h (EF_PPC64_ABI): Define.
45961 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45963         * sysdeps/powerpc/powerpc64/sysdep.h
45964         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45965         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45966         (ENTRY) [ASSEMBLER]: ... but instead here ...
45967         (EALIGN) [ASSEMBLER]: ... and here.
45968         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45969         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45970         (ENTRY_2) [!ASSEMBLER]: Use it.
45971         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45972         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45973         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45974         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45975         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45977         Use PPC64_LOAD_FUNCPTR.
45979         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45981 2013-12-04  Alan Modra  <amodra@gmail.com>
45983         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45984         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45985         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45986         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45989         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45990         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45991         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45992         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45993         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45995 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45998         (__makecontext): Fix incorrect CFI when backtracing out of
45999         context created via makecontext.
46000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46001         (__setcontext): Fix incorrect CFI during switch to new context.
46002         (__novec_setcontext): Likewise.
46004 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46006         [BZ #4772]
46007         * time/strptime_l.c (__strptime_internal): Allow modifiers
46008         in strptime.
46009         * time/tst-strptime.c (day_tests): Add testcase.
46011 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46013         * scripts/bench.pl: Skip over blank lines.
46015 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46017         [BZ #926]
46018         * manual/time.texi (Calendar Time): Clarify what timezone functions
46019         use.
46021 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46025 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46027         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46028         implementation.
46029         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46030         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46031         * debug/memset_chk.c (__memset_chk): Likewise.
46032         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46033         * debug/strncpy_chk.c: Likewise.
46035 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46037         [BZ #15268]
46038         [BZ #15425]
46039         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46040         (__ieee754_exp): For possibly underflowing results, check size of
46041         result and force underflow exception if required.
46042         * math/auto-libm-test-in: Add more tests of exp.
46043         * math/auto-libm-test-out: Regenerated.
46044         * sysdeps/i386/fpu/libm-test-ulps: Update.
46045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46047         [BZ #16283]
46048         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46049         * math/w_exp2f.c (__exp2f): Likewise.
46050         * math/w_exp2l.c (__exp2l): Likewise.
46051         * math/auto-libm-test-in: Do not allow missing errno on exp2
46052         underflow.
46053         * math/auto-libm-test-out: Regenerated.
46055 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46057         [BZ #16274]
46058         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46059         handle filename validation.
46060         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46061         (do_open): Delete.
46063 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46065         [BZ #6786]
46066         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46067         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46068         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46069         <float.h>.
46070         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46071         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46072         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46073         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46074         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46075         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46076         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46077         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46078         Add more erfc tests.
46079         * math/auto-libm-test-out: Regenerated.
46080         * sysdeps/i386/fpu/libm-test-ulps: Update.
46081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46083         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46084         exp2, expm1, j0 and j1.
46085         * math/auto-libm-test-out: Regenerated.
46086         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46087         (erfc_test_data): Likewise.
46088         (exp_test_data): Likewise.
46089         (exp_tonearest_test_data): Likewise.
46090         (exp_towardzero_test_data): Likewise.
46091         (exp_downward_test_data): Likewise.
46092         (exp_upward_test_data): Likewise.
46093         (exp10_test_data): Likewise.
46094         (exp2_test_data): Likewise.
46095         (expm1_test_data): Likewise.
46096         (j0_test_data): Likewise.
46097         (j1_test_data): Likewise.
46098         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46099         (input_flag_type): Add flag_xfail_rounding.
46100         (input_flags): Add xfail-rounding.
46101         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46102         (output_for_one_input_case): Handle flag_xfail_rounding.
46103         * sysdeps/i386/fpu/libm-test-ulps: Update.
46104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46106 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46108         [BZ #16289]
46109         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46110         division by 0.
46112 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46114         [BZ #16195]
46115         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46116         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46117         (STAP_PROBE0): New macro.
46118         (STAP_PROBE1): Likewise.
46119         (STAP_PROBE2): Likewise.
46120         (STAP_PROBE3): Likewise.
46121         (STAP_PROBE4): Likewise.
46123 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46125         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46127 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46129         * benchtests/Makefile (bench): Add sqrt.
46130         (LDLIBS-bench-sqrt): New.
46131         * benchtests/sqrt-input: New.
46133 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46135         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46136         (GAIH_EAI): Likewise.
46137         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46138         (gaih_inet): Likewise.
46139         (getaddrinfo): Don't use GAIH_EAI.
46141         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46142         (struct gaih): Remove definition.
46144 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46146         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46147         Use HERRNOP directly.
46149 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46153 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46155         * math/gen-auto-libm-tests.c (test_functions): Add more
46156         single-argument functions.
46157         (special_fill_pi_2): New function.
46158         (special_fill_minus_pi_2): Likewise.
46159         (special_fill_pi_6): Likewise.
46160         (special_fill_minus_pi_6): Likewise.
46161         (special_fill_pi_3): Likewise.
46162         (special_fill_2pi_3): Likewise.
46163         (special_fill_e): Likewise.
46164         (special_fill_1_e): Likewise.
46165         (special_fill_e_minus_1): Likewise.
46166         (special_real_inputs): Add more special inputs.
46167         (output_for_one_input_case): Do not require ERANGE on underflow to
46168         zero if round-to-nearest result does not underflow to zero, unless
46169         exact results required.
46170         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46171         atan, atanh, cbrt, cos and cosh.
46172         * math/auto-libm-test-out: Regenerated.
46173         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46174         (acos_tonearest_test_data): Likewise.
46175         (acos_towardzero_test_data): Likewise.
46176         (acos_downward_test_data): Likewise.
46177         (acos_upward_test_data): Likewise.
46178         (acosh_test_data): Likewise.
46179         (asin_test_data): Likewise.
46180         (asin_tonearest_test_data): Likewise.
46181         (asin_towardzero_test_data): Likewise.
46182         (asin_upward_test_data): Likewise.
46183         (asinh_test_data): Likewise.
46184         (atan_test_data): Likewise.
46185         (atanh_test_data): Likewise.
46186         (cbrt_test_data): Likewise.
46187         (cos_test_data): Likewise.
46188         (cos_tonearest_test_data): Likewise.
46189         (cos_towardzero_test_data): Likewise.
46190         (cos_downward_test_data): Likewise.
46191         (cos_upward_test_data): Likewise.
46192         (cosh_test_data): Likewise.
46193         (cosh_tonearest_test_data): Likewise.
46194         (cosh_towardzero_test_data): Likewise.
46195         (cosh_downward_test_data): Likewise.
46196         (cosh_upward_test_data): Likewise.
46197         * sysdeps/i386/fpu/libm-test-ulps: Update.
46198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46200 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46202         [BZ #6787]
46203         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46204         * math/w_exp10f.c (__exp10f): Likewise.
46205         * math/w_exp10l.c (__exp10l): Likewise.
46206         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46207         errno settings in existing tests.
46209         [BZ #14032]
46210         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46211         precision control set to double precision.
46212         * sysdeps/i386/fpu/w_sqrt.c: New file.
46213         * math/auto-libm-test-in: Add more tests.
46214         * math/auto-libm-test-out: Update.
46216         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46217         (sqrt_test_tonearest): New function.
46218         (sqrt_towardzero_test_data): New variable.
46219         (sqrt_test_towardzero): New function.
46220         (sqrt_downward_test_data): New variable.
46221         (sqrt_test_downward): New function.
46222         (sqrt_upward_test_data): New variable.
46223         (sqrt_test_upward): New function.
46224         (main): Call the new functions.
46226         * math/gen-auto-libm-tests.c: New file.
46227         * math/auto-libm-test-in: Likewise.
46228         * math/auto-libm-test-out: New generated file.
46229         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46230         variables.
46231         (%beautify): Add generated representations of zero.
46232         (top level): Set $auto_input and call parse_auto_input.
46233         (beautify): Remove trailing "f" from hex float constants.
46234         (parse_args): Handle XFAIL_TEST.
46235         (convert_condition): New function.
46236         (or_value): Likewise.
46237         (or_cond_value): Likewise.
46238         (generate_testfile): Handle AUTO_TESTS_* lines.
46239         (parse_auto_input): New function.
46240         * math/libm-test.inc (XFAIL_TEST): New macro.
46241         (ERRNO_UNCHANGED): Update value.
46242         (ERRNO_EDOM): Likewise.
46243         (ERRNO_ERANGE): Likewise.
46244         (IGNORE_RESULT): Likewise.
46245         (TEST_COND_flt_32): New macro.
46246         (TEST_COND_dbl_64): Likewise.
46247         (TEST_COND_ldbl_96_intel): Likewise.
46248         (TEST_COND_ldbl_96_m68k): Likewise.
46249         (TEST_COND_ldbl_128): Likewise.
46250         (TEST_COND_ldbl_128ibm): Likewise.
46251         (TEST_COND_long32): Likewise.
46252         (TEST_COND_long64): Likewise.
46253         (TEST_COND_before_rounding): Likewise.
46254         (TEST_COND_after_rounding): Likewise.
46255         (enable_test): Handle XFAIL_TEST flag.
46256         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46257         with finite results.
46258         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46259         auto-libm-test-out.
46261 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46262             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46264         [BZ #16214]
46265         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46266         __tls_get_addr_internal instead of __tls_get_offset in order to
46267         avoid GOT pointer dependency.  Make rtld export
46268         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46269         __tls_get_addr since we are a __tls_get_offset platform.
46270         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46271         GOT pointer being set up before.
46272         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46274 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46276         * manual/math.texi (Errors in Math Functions): Document accuracy
46277         goals.
46279         [BZ #15004]
46280         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46281         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46282         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46283         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46284         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46286         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46288         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46290         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46297         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46298         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46299         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46300         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46301         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46302         Likewise.
46303         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46304         Likewise.
46305         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46306         Likewise.
46307         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46308         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46309         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46310         atomic-feupdateenv and flt-rounds.
46311         * sysdeps/powerpc/nofpu/Versions (libc): Add
46312         __atomic_feholdexcept, __atomic_feclearexcept,
46313         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46314         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46315         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46316         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46317         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46318         here.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46320         Update.
46322         * manual/arith.texi (FP Exceptions): Document that exceptions may
46323         not be raised when matherr is used.
46324         (Math Error Reporting): Document overflow in directed rounding
46325         modes.  Document that errno may not be set when finite values are
46326         returned on overflow.  Document intent to set errno on underflow
46327         only for underflow to zero.
46329         [BZ #16271]
46330         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46331         round-to-nearest then adjust result for other rounding modes.
46332         * include/fenv.h (fegetround): Use libm_hidden_proto.
46333         * math/fegetround.c (fegetround): Use libm_hidden_def.
46334         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46335         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46336         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46337         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46338         Likewise.
46339         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46340         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46341         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46342         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46344 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46346         [BZ #16077]
46347         * nss/Versions (libnss_files): Add
46348         _nss_files_gethostbyname3_r.
46349         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46350         New function.
46351         (HOST_DB_LOOKUP): Remove macro.
46352         (_nss_files_gethostbyname_r): Implement function without the
46353         HOST_DB_LOOKUP macro.
46354         (_nss_files_gethostbyname2_r): Likewise.
46356 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46358         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46360 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46362         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46363         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46364         warning.
46366 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46368         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46369         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46370         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46371         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46372         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46373         __fe_nomask_env_priv and attribute_hidden.
46374         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46375         (libc_feupdateenv_test_ppc): Likewise.
46376         (libc_feresetround_ppc): Likewise.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46378         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46379         compat_symbol macro.
46380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46381         (__fe_nomask_env): Likewise.
46382         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46384 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46386         * string/Makefile: Remove ifunc tests.
46387         * string/test-string.h: Define TEST_IFUNC.
46388         * string/test-bcopy-ifunc.c: Remove.
46389         * string/test-bzero-ifunc.c: Likewise.
46390         * string/test-memccpy-ifunc.c: Likewise.
46391         * string/test-memchr-ifunc.c: Likewise.
46392         * string/test-memcmp-ifunc.c: Likewise.
46393         * string/test-memcpy-ifunc.c: Likewise.
46394         * string/test-memmem-ifunc.c: Likewise.
46395         * string/test-memmove-ifunc.c: Likewise.
46396         * string/test-mempcpy-ifunc.c: Likewise.
46397         * string/test-memrchr-ifunc.c: Likewise.
46398         * string/test-memset-ifunc.c: Likewise.
46399         * string/test-rawmemchr-ifunc.c: Likewise.
46400         * string/test-stpcpy-ifunc.c: Likewise.
46401         * string/test-stpncpy-ifunc.c: Likewise.
46402         * string/test-strcasecmp-ifunc.c: Likewise.
46403         * string/test-strcasestr-ifunc.c: Likewise.
46404         * string/test-strcat-ifunc.c: Likewise.
46405         * string/test-strchr-ifunc.c: Likewise.
46406         * string/test-strchrnul-ifunc.c: Likewise.
46407         * string/test-strcmp-ifunc.c: Likewise.
46408         * string/test-strcpy-ifunc.c: Likewise.
46409         * string/test-strcspn-ifunc.c: Likewise.
46410         * string/test-strlen-ifunc.c: Likewise.
46411         * string/test-strncasecmp-ifunc.c: Likewise.
46412         * string/test-strncat-ifunc.c: Likewise.
46413         * string/test-strncmp-ifunc.c: Likewise.
46414         * string/test-strncpy-ifunc.c: Likewise.
46415         * string/test-strnlen-ifunc.c: Likewise.
46416         * string/test-strpbrk-ifunc.c: Likewise.
46417         * string/test-strrchr-ifunc.c: Likewise.
46418         * string/test-strspn-ifunc.c: Likewise.
46419         * string/test-strstr-ifunc.c: Likewise.
46421 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46423         * benchtests/Makefile: Remove ifunc tests.
46424         * benchtests/bench-string.h: Define TEST_IFUNC.
46425         * benchtests/bench-bcopy-ifunc.c: Remove.
46426         * benchtests/bench-bzero-ifunc.c: Likewise.
46427         * benchtests/bench-memccpy-ifunc.c: Likewise.
46428         * benchtests/bench-memchr-ifunc.c: Likewise.
46429         * benchtests/bench-memcmp-ifunc.c: Likewise.
46430         * benchtests/bench-memcpy-ifunc.c: Likewise.
46431         * benchtests/bench-memmem-ifunc.c: Likewise.
46432         * benchtests/bench-memmove-ifunc.c: Likewise.
46433         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46434         * benchtests/bench-memrchr-ifunc.c: Likewise.
46435         * benchtests/bench-memset-ifunc.c: Likewise.
46436         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46437         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46438         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46439         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46440         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46441         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46442         * benchtests/bench-strcat-ifunc.c: Likewise.
46443         * benchtests/bench-strchr-ifunc.c: Likewise.
46444         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46445         * benchtests/bench-strcmp-ifunc.c: Likewise.
46446         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46447         * benchtests/bench-strcpy-ifunc.c: Likewise.
46448         * benchtests/bench-strcspn-ifunc.c: Likewise.
46449         * benchtests/bench-strlen-ifunc.c: Likewise.
46450         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46451         * benchtests/bench-strncat-ifunc.c: Likewise.
46452         * benchtests/bench-strncmp-ifunc.c: Likewise.
46453         * benchtests/bench-strncpy-ifunc.c: Likewise.
46454         * benchtests/bench-strnlen-ifunc.c: Likewise.
46455         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46456         * benchtests/bench-strrchr-ifunc.c: Likewise.
46457         * benchtests/bench-strsep-ifunc.c: Likewise.
46458         * benchtests/bench-strspn-ifunc.c: Likewise.
46459         * benchtests/bench-strstr-ifunc.c: Likewise.
46461 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46463         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46465 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46467         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46468         * rt/aio.h: Likewise.
46469         * sysdeps/gnu/bits/utmp.h: Likewise.
46470         * sysdeps/gnu/bits/utmpx.h: Likewise.
46471         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46472         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46473         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46474         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46475         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46476         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46477         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46478         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46479         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46480         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46481         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46482         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46483         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46485         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46486         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46487         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46488         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46489         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46490         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46491         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46492         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46493         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46494         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46495         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46497         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46498         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46499         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46500         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46501         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46502         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46503         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46504         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46505         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46506         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46507         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46508         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46509         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46510         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46511         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46512         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46514 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46516         [BZ #16245]
46517         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46518         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46520 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46522         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46523         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46524         Likewise.
46526 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46529         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46530         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46531         (__fesetround): Remove define.
46532         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46533         rounding and exceptions handling.
46534         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46535         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46536         (__fe_nomask_env): Likewise.
46537         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46538         __fegetround instead of fegetround.
46539         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46542 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46544         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46545         it's there.
46547         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46549 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46551         [BZ #11157]
46552         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46553         (encrypt_r): Likewise.
46554         * malloc/obstack.h (obstack_free): Likewise.
46555         * posix/unistd.h (encrypt): Likewise.
46557 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46559         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46560         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46561         DL_CALL_DT_FINI() that call the functions directly.
46562         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46563         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46564         * elf/dl-fini.c: Likewise.
46566 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46568         * malloc/hooks.c (memalign_check): Add alignment rounding.
46569         * malloc/malloc.c (_mid_memalign): New function.
46570         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46571         Implement by calling _mid_memalign.
46572         * manual/probes.texi (Memory Allocation Probes): Remove
46573         memory_valloc_retry and memory_pvalloc_retry.
46575 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46577         * locale/programs/locarchive.c (open_archive): Add const
46578         qualifier to ARCHIVEFNAME and copy default fname to
46579         DEFAULT_FNAME.
46581         [BZ #15601]
46582         * libio/tst-widetext.input: Rename Oriya to Odia.
46583         * locale/iso-639.def: Likewise.
46585         * manual/probes.texi (Mathematical Function Probes): Add
46586         documentation for sin, cos, asin and acos probes.
46587         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46588         (__sin32): Add slowasin probe.
46589         (__cos32): Add slowacos probe.
46590         (__mpsin): Add slowsin probe.
46591         (__mpcos): Add slowcos probe.
46593 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46595         [BZ #15483]
46596         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46597         thread-local __sim_exceptions_thread and global
46598         __sim_exceptions_global.
46599         (__sim_disabled_exceptions): Change to thread-local
46600         __sim_disabled_exceptions_thread and global
46601         __sim_disabled_exceptions_global.
46602         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46603         and global __sim_round_mode_global.
46604         (__simulate_exceptions): Use thread-local floating-point state and
46605         set global state from it as needed.
46606         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46607         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46608         __sim_round_mode_thread.
46609         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46610         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46611         and global __sim_exceptions_global.
46612         (__sim_disabled_exceptions): Change to thread-local
46613         __sim_disabled_exceptions_thread and global
46614         __sim_disabled_exceptions_global.
46615         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46616         and global __sim_round_mode_global.
46617         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46618         (SIM_SET_GLOBAL): Likewise.
46619         * sysdeps/powerpc/soft-fp/sfp-machine.h
46620         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46621         __sim_round_mode_thread.
46622         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46623         __sim_disabled_exceptions_thread.
46624         (__sim_exceptions): Change to __sim_exceptions_thread.
46625         (__sim_disabled_exceptions): Change to
46626         __sim_disabled_exceptions_thread.
46627         (__sim_round_mode): Change to __sim_round_mode_thread.
46628         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46629         thread-local floating-point state and set global state from it as
46630         needed.
46631         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46632         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46633         (__sim_disabled_exceptions): Remove extern declaration.
46634         (feenableexcept): Use thread-local floating-point state and set
46635         global state from it as needed.
46636         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46637         extern declaration.
46638         (__sim_disabled_exceptions): Likewise.
46639         (__sim_round_mode): Likewise.
46640         (__fegetenv): Use thread-local floating-point state.
46641         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46642         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46643         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46644         floating-point state and set global state from it as needed.
46645         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46646         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46647         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46648         Likewise.
46649         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46650         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46651         Likewise.
46652         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46653         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46654         Use __sim_round_mode_thread.
46655         * math/test-fenv-tls.c: New file.
46656         * math/Makefile (tests): Add test-fenv-tls.
46657         ($(objpfx)test-fenv-tls): Depend on
46658         $(common-objpfx)nptl/libpthread.so.
46660 2013-11-19  Andreas Schwab  <schwab@suse.de>
46662         * locale/programs/locale.c (show_info): Decode wordarray elements.
46663         * locale/categories.def (LC_MONETARY): Add element for
46664         _NL_MONETARY_CRNCYSTR.
46665         * locale/C-monetary.c (conversion_rate): New variable.
46666         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46667         element.
46669 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46671         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46672         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46674 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46676         * elf/Makefile (tst-auxv): New test.
46677         * elf/tst-auxv.c: New
46678         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46680 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46682         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46683         (hidden_proto): Caller changed.
46684         (hidden_tls_proto): New macro.
46685         (libc_hidden_tls_proto): Likewise.
46686         (rtld_hidden_tls_proto): Likewise.
46687         (libm_hidden_tls_proto): Likewise.
46688         (libresolv_hidden_tls_proto): Likewise.
46689         (librt_hidden_tls_proto): Likewise.
46690         (libdl_hidden_tls_proto): Likewise.
46691         (libnss_files_hidden_tls_proto): Likewise.
46692         (libnsl_hidden_tls_proto): Likewise.
46693         (libnss_nisplus_hidden_tls_proto): Likewise.
46694         (libutil_hidden_tls_proto): Likewise.
46696 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46698         [BZ #10253]
46699         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46700         (decompose_rpath): Defer expansion to fillin_rpath.
46701         (_dl_init_paths): Pass linkmap to fillin_rpath.
46703 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46705         * benchtests/Makefile: Add strsep.
46706         * benchtests/bench-strsep.c: New file: strsep benchtest.
46707         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46709 2013-11-18  Andreas Schwab  <schwab@suse.de>
46711         * locale/programs/locale.c (show_info) [case byte]: Check for
46712         '\377' instead of '\177'.
46713         * locale/C-monetary.c (not_available): Always use "\377".
46714         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46715         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46716         detect unavailable sign_posn locale elements.
46717         * locale/localeconv.c (__localeconv): For grouping and
46718         mon_grouping handle "\177" and "\377" like no grouping.
46719         (INT_ELEM): New macro.  Use it to set all numeric members.
46720         * locale/programs/ld-monetary.c (monetary_read)
46721         <tok_mon_grouping>: Normalize single -1 to the empty string.
46722         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46723         Likewise.
46725 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46727         [BZ #16055]
46728         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46729         when we match (nil).
46730         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46732 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46734         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46735         (NO_TEST_INLINE): Update value.
46736         (ERRNO_UNCHANGED): Likewise.
46737         (ERRNO_EDOM): Likewise.
46738         (ERRNO_ERANGE): Likewise.
46739         (IGNORE_RESULT): Likewise.
46740         (check_float_internal): Check signs of NaN results if
46741         TEST_NAN_SIGN used.
46742         (check_complex): Pass TEST_NAN_SIGN flag through to second
46743         check_float_internal call.
46744         (copysign_test_data): Add tests with quiet NaNs as second
46745         argument.  Use TEST_NAN_SIGN.
46746         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46747         TEST_NAN_SIGN.
46748         (signbit_test_data): Add tests of quiet NaN argument.
46749         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46751         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46752         $ignore_result.
46753         (parse_args): Handle function results specified as IGNORE.
46754         * math/libm-test.inc (IGNORE_RESULT): New macro.
46755         (check_float_internal): Do not check numerical result if flag
46756         IGNORE_RESULT set.
46757         (check_complex): Pass through IGNORE_RESULT to second
46758         check_float_internal call.
46759         (check_int): Do not check numerical result if flag IGNORE_RESULT
46760         set.
46761         (check_long): Likewise.
46762         (check_bool): Likewise.
46763         (check_longlong): Likewise.
46764         (lrint_test_data): Add tests of infinite and NaN arguments.
46765         (lrint_tonearest_test_data): Likewise.
46766         (lrint_towardzero_test_data): Likewise.
46767         (lrint_downward_test_data): Likewise.
46768         (lrint_upward_test_data): Likewise.
46769         (llrint_test_data): Likewise.
46770         (llrint_tonearest_test_data): Likewise.
46771         (llrint_towardzero_test_data): Likewise.
46772         (llrint_downward_test_data): Likewise.
46773         (llrint_upward_test_data): Likewise.
46774         (lround_test_data): Likewise.
46775         (llround_test_data): Likewise.
46777         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46778         (ERRNO_UNCHANGED): Update value.
46779         (ERRNO_EDOM): Likewise.
46780         (ERRNO_ERANGE): Likewise.
46781         (NO_TEST_INLINE_FLOAT): New macro.
46782         (NO_TEST_INLINE_DOUBLE): Likewise.
46783         (enable_test): New function.
46784         (RUN_TEST_f_f): Check enable_test before running test.
46785         (RUN_TEST_2_f): Likewise.
46786         (RUN_TEST_fff_f): Likewise.
46787         (RUN_TEST_c_f): Likewise.
46788         (RUN_TEST_f_f1): Likewise.
46789         (RUN_TEST_fF_f1): Likewise.
46790         (RUN_TEST_fI_f1): Likewise.
46791         (RUN_TEST_ffI_f1): Likewise.
46792         (RUN_TEST_c_c): Likewise.
46793         (RUN_TEST_cc_c): Likewise.
46794         (RUN_TEST_f_i): Likewise.
46795         (RUN_TEST_f_i_tg): Likewise.
46796         (RUN_TEST_ff_i_tg): Likewise.
46797         (RUN_TEST_f_b): Likewise.
46798         (RUN_TEST_f_b_tg): Likewise.
46799         (RUN_TEST_f_l): Likewise.
46800         (RUN_TEST_f_L): Likewise.
46801         (RUN_TEST_fFF_11): Likewise.
46802         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46803         conditionals.
46804         (cosh_test_data): Likewise.
46805         (exp_test_data): Likewise.
46806         (expm1_test_data): Likewise.
46807         (hypot_test_data): Likewise.
46808         (pow_test_data): Likewise.
46809         (sinh_test_data): Likewise.
46810         (tanh_test_data): Likewise.
46811         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46812         flags argument.
46814         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46815         tests with quiet NaN input and output.
46816         (acosh_test_data): Likewise.
46817         (asin_test_data): Likewise.
46818         (asinh_test_data): Likewise.
46819         (atan_test_data): Likewise.
46820         (atanh_test_data): Likewise.
46821         (atan2_test_data): Likewise.
46822         (cbrt_test_data): Likewise.
46823         (cos_test_data): Likewise.
46824         (cosh_test_data): Likewise.
46825         (erf_test_data): Likewise.
46826         (erfc_test_data): Likewise.
46827         (exp_test_data): Likewise.
46828         (exp10_test_data): Likewise.
46829         (exp2_test_data): Likewise.
46830         (expm1_test_data): Likewise.
46831         (hypot_test_data): Likewise.
46832         (j0_test_data): Likewise.
46833         (j1_test_data): Likewise.
46834         (jn_test_data): Likewise.
46835         (lgamma_test_data): Likewise.
46836         (log_test_data): Likewise.
46837         (log10_test_data): Likewise.
46838         (log1p_test_data): Likewise.
46839         (log2_test_data): Likewise.
46840         (pow_test_data): Likewise.
46841         (scalb_test_data): Likewise.
46842         (sin_test_data): Likewise.
46843         (sincos_test_data): Likewise.
46844         (sinh_test_data): Likewise.
46845         (tan_test_data): Likewise.
46846         (tanh_test_data): Likewise.
46847         (tgamma_test_data): Likewise.
46848         (y0_test_data): Likewise.
46849         (y1_test_data): Likewise.
46850         (yn_test_data): Likewise.
46852         [BZ #16167]
46853         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46854         argument being NaN and avoid computations with second argument in
46855         that case.
46856         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46857         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46858         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46860 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46862         * locale/iso-639.def: Add Chitwani Tharu (the).
46864 2013-11-14  Andreas Schwab  <schwab@suse.de>
46866         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46867         word instead of empty string.
46869 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46872         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46874         (__fe_nomask_env): Likewise.
46876 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46878         * benchtests/bench-timing.h: Include time.h.
46880 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46882         [BZ #15997]
46883         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46884         to 3.4.0 for x32.
46885         * sysdeps/unix/sysv/linux/configure: Regenerated.
46887 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46889         [BZ #16151]
46890         * stdlib/strtod_l.c (round_and_return): Do not consider
46891         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46892         exponent one less than half the least subnormal exponent.
46893         * stdlib/test-strtod-round-data: Add more tests.
46894         * stdlib/tst-strtod-round.c (tests): Regenerated.
46896 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46898         [BZ #14143]
46899         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46900         (__fe_mask_env): Likewise.
46901         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46902         libm_hidden_proto and add function prototype.
46903         (__fe_mask_env): Add function prototype.
46904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46905         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46907         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46909         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46911 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46913         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46914         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46916 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46918         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46919         of htab_find_slot().
46921 2013-11-11  David S. Miller  <davem@davemloft.net>
46923         [BZ #16150]
46924         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46925         symbol in the non-vis3 case in static builds.
46926         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46927         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46928         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46929         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46931 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46933         [BZ #387]
46934         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46935         it is empty.
46937 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46939         * benchtests/Makefile: Add bench-strtod.
46940         * benchtests/bench-strtod.c: New file: strtod benchtest
46942 2013-11-11  Andreas Schwab  <schwab@suse.de>
46944         [BZ #16153]
46945         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46946         terminating NUL in key length.
46948 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46950         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46951         Add artificial ODP entry for vDSO symbol for PPC64.
46952         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46953         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46955 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46957         [BZ #15374]
46958         * nss/getent.c (services_keys): Recognize services starting with digit.
46960 2013-11-06  David S. Miller  <davem@davemloft.net>
46962         [BZ #15985]
46963         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46964         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46966 2013-11-06  Will Newton  <will.newton@linaro.org>
46968         * manual/memory.texi (Malloc Examples): Remove register
46969         keyword from examples.
46971 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46973         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46975 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46977         [BZ #6981]
46978         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46979         depending on [__GCC_IEC_559 > 0].
46980         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46981         depending on [__GCC_IEC_559_COMPLEX > 0].
46983 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46985         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46986         to iso-639.def.
46988 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46990         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46992 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46994         [BZ #16112]
46995         * malloc/malloc (malloc_info): Do not handle first bin as
46996         special case.
46998 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47000         * locale/iso-639.def: Add Central Nahuatl (nhn).
47002 2013-11-01  Bruno Haible  <bruno@clisp.org>
47004         [BZ #7003]
47005         * manual/math.texi (BSD Random): Specify range upper bound as
47006         in POSIX.
47008 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47010         * locale/iso-639.def: Add Meadow Mari (mhr).
47012 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47014         [BZ #14752], [BZ #15763]
47015         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47016         Validate name.
47017         * rt/tst_shm.c: Add test for escaping directory.
47019 2013-10-31  Andreas Schwab  <schwab@suse.de>
47021         [BZ #15917]
47022         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47023         followed by 'x' as part of digit sequence.
47024         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47026 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47028         [BZ #16037]
47029         * configure.ac: allow GNU Make 4.0 and greater.
47030         * configure: Regenerated.
47032 2013-10-30  Will Newton  <will.newton@linaro.org>
47034         [BZ #16038]
47035         * malloc/hooks.c (memalign_check): Limit alignment to the
47036         maximum representable power of two.
47037         * malloc/malloc.c (__libc_memalign): Likewise.
47038         * malloc/tst-memalign.c (do_test): Add test for very
47039         large alignment values.
47040         * malloc/tst-posix_memalign.c (do_test): Likewise.
47042 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47044         [BZ #11087]
47045         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47046         (munmap_chunk): Likewise.
47047         (mremap_chunk): Likewise.
47049 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47051         [BZ #15799]
47052         * stdlib/div.c (div): Remove obsolete code.
47053         * stdlib/ldiv.c (ldiv): Likewise.
47054         * stdlib/lldiv.c (lldiv): Likewise.
47056 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47058         [BZ #16071]
47059         * nss/nss_files/files-XXX.c (get_contents_ret): New
47060         enumerator.
47061         (get_contents): New function.
47062         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47064 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47066         * configure.in: Moved to ...
47067         * configure.ac: ... here. Change reference to configure.in
47068         to configure.ac.
47069         * sysdeps/arm/preconfigure.ac: ... here.
47070         configure.in to configure.ac.
47071         * sysdeps/gnu/configure.in: Moved to ...
47072         * sysdeps/gnu/configure.ac: ... here.
47073         * sysdeps/i386/configure.in: Moved to ...
47074         * sysdeps/i386/configure.ac: ... here.
47075         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47076         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47077         * sysdeps/mach/configure.in: Moved to ...
47078         * sysdeps/mach/configure.ac: ... here.
47079         * sysdeps/mach/hurd/configure.in: Moved to ...
47080         * sysdeps/mach/hurd/configure.ac: ... here.
47081         * sysdeps/powerpc/configure.in: Moved to ...
47082         * sysdeps/powerpc/configure.ac: ... here.
47083         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47084         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47085         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47086         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47087         * sysdeps/s390/s390-32/configure.in: Moved to ...
47088         * sysdeps/s390/s390-32/configure.ac: ... here.
47089         * sysdeps/s390/s390-64/configure.in: Moved to ...
47090         * sysdeps/s390/s390-64/configure.ac: ... here.
47091         * sysdeps/sh/configure.in: Moved to ...
47092         * sysdeps/sh/configure.ac: ... here.
47093         * sysdeps/sparc/configure.in: Moved to ...
47094         * sysdeps/sparc/configure.ac: ... here.
47095         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47096         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47097         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47098         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47099         * sysdeps/x86_64/configure.in: Moved to ...
47100         * sysdeps/x86_64/configure.ac: ... here.
47101         * sysdeps/x86_64/preconfigure.in: Moved to ...
47102         * sysdeps/x86_64/preconfigure.ac: ... here.
47103         * aclocal.m4: Change reference to configure.in to configure.ac.
47104         * config.h.in: Likewise.
47105         * manual/install.texi: Likewise.
47106         * manual/maint.texi: Likewise.
47107         * Makefile: Likewise.
47108         * malloc/Makefile: Likewise.
47109         * nscd/Makefile: Likewise.
47110         * Makeconfig: Change reference to configure.in and
47111         preconfigure.in to configure.ac and preconfigure.ac
47112         respectively.
47113         * INSTALL: Regenerated.
47114         * configure: Likewise.
47115         * sysdeps/gnu/configure: Likewise.
47116         * sysdeps/i386/configure: Likewise.
47117         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47118         * sysdeps/mach/configure: Likewise.
47119         * sysdeps/mach/hurd/configure: Likewise.
47120         * sysdeps/powerpc/configure: Likewise.
47121         * sysdeps/powerpc/powerpc32/configure: Likewise.
47122         * sysdeps/powerpc/powerpc64/configure: Likewise.
47123         * sysdeps/s390/s390-32/configure: Likewise.
47124         * sysdeps/s390/s390-64/configure: Likewise.
47125         * sysdeps/sh/configure: Likewise.
47126         * sysdeps/sparc/configure: Likewise.
47127         * sysdeps/unix/sysv/linux/configure: Likewise.
47128         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47129         * sysdeps/x86_64/configure: Likewise.
47130         * sysdeps/x86_64/preconfigure: Likewise.
47132 2013-10-29  Andreas Schwab  <schwab@suse.de>
47134         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47136 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47138         * benchtests/pow-inputs: Add new inputs.
47140         * benchtests/exp-inputs: Add new inputs.
47142         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47143         conditional check for return value.
47144         (__cos32): Likewise.
47146 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47148         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47149         to provide a boost for large inputs with word alignment.
47150         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47151         implementation based on optimized PPC64 strcpy.
47152         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47153         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47154         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47155         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47157 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47159         [BZ #2801]
47160         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47162 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47164         [BZ #14876]
47165         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47166         * time/tst-strptime.c (day_tests): Add testcase.
47168 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47170         [BZ #14029]
47171         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47173 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47175         [BZ #16074]
47176         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47177         MAP_FAILED on error.
47179 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47181         [BZ #16072]
47182         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47183         heap for large requests.
47185 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47187         [BZ #9954]
47188         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47189         result if the result has no associated interface.
47190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47191         interface for all 127.X.Y.Z addresses.
47193 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47195         * locale/iso-639.def: Add Ligurian (lij)
47197 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47199         [BZ #15825]
47200         * sunrpc/rpc_main.c: Document rpcgen -5.
47202 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47204         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47206 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47208         [BZ #10278]
47209         * posix/glob.c: Match only directories when trailing slash is present.
47210         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47211         (main): Add testcase.
47213 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47215         [BZ #15670]
47216         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47218 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47220         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47221         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47222         AUTH_DES and cindex for FIPS 140-2.
47223         (DES Encryption): Add cindex FIPS 46-3.
47225         * locale/locarchive.h (struct locarhandle): Add fname.
47226         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47227         if an optional argument was specified to --list-archive,
47228         otherwise NULL.
47229         * locale/programs/locarchive.c (show_archive_content): Take new
47230         argument fname and pass it via ah.fname to open_archive.
47231         * locale/programs/localedef.h: Update decl.
47232         (open_archive): If AH->fname is non-null, open that file
47233         rather than the default file name, and don't ignore ENOENT.
47234         (create_archive): Set AH.fname to NULL.
47235         (delete_locales_from_archive): Likewise.
47236         (add_locales_to_archive): Likewise.
47237         * locale/programs/locfile.c (write_all_categories): Likewise.
47239 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47240             Aldy Hernandez  <aldyh@redhat.com>
47242         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47243         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47244         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47245         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47246         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47247         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47250         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47251         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47252         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47253         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47254         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47255         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47256         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47257         Likewise.
47258         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47259         Likewise.
47260         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47261         Likewise.
47262         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47263         Likewise.
47264         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47265         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47266         Likewise.
47267         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47268         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47269         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47270         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47271         Likewise.
47272         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47273         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47274         * sysdeps/powerpc/preconfigure: Likewise.
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47276         Likewise.
47277         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47278         Replace contents of file by #include of <fenv_libc.h>.
47279         * sysdeps/powerpc/soft-fp/sfp-machine.h
47280         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47281         and <sys/prctl.h>.
47282         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47295         Allow copysignl PLT reference to be missing.
47297 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47298             Joseph Myers  <joseph@codesourcery.com
47300         [BZ #15948]
47301         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47302         single character.
47303         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47305 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47307         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47308         * elf/tst-tls1.c: Likewise.
47309         * elf/tst-tls10.h: Likewise.
47310         * elf/tst-tls14.c: Likewise.
47311         * elf/tst-tls2.c: Likewise.
47312         * elf/tst-tls3.c: Likewise.
47313         * elf/tst-tls4.c: Likewise.
47314         * elf/tst-tls5.c: Likewise.
47315         * elf/tst-tls6.c: Likewise.
47316         * elf/tst-tls7.c: Likewise.
47317         * elf/tst-tls8.c: Likewise.
47318         * elf/tst-tls9.c: Likewise.
47319         * elf/tst-tlsmod1.c: Likewise.
47320         * elf/tst-tlsmod13.c: Likewise.
47321         * elf/tst-tlsmod13a.c: Likewise.
47322         * elf/tst-tlsmod14a.c: Likewise.
47323         * elf/tst-tlsmod16a.c: Likewise.
47324         * elf/tst-tlsmod16b.c: Likewise.
47325         * elf/tst-tlsmod2.c: Likewise.
47326         * elf/tst-tlsmod3.c: Likewise.
47327         * elf/tst-tlsmod4.c: Likewise.
47328         * elf/tst-tlsmod5.c: Likewise.
47329         * elf/tst-tlsmod6.c: Likewise.
47331 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47333         [BZ #12486]
47334         * malloc/malloc.c: remove checks for statistics.
47336 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47338         [BZ #15277]
47339         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47340         * inet/tst-network.c: Add testcase.
47342 2013-10-17  Andreas Schwab  <schwab@suse.de>
47344         [BZ #15218]
47345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47346         to determine canonical name.
47348 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47350         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47351         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47355         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47357         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47358         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47359         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47360         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47364         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47365         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47366         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47367         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47368         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47369         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47370         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47371         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47372         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47373         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47374         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47375         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47376         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47377         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47379         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47380         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47381         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47382         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47383         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47384         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47385         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47387         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47388         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47389         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47390         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47391         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47392         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47393         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47394         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47395         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47396         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47397         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47398         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47400         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47401         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47404         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47405         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47406         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47407         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47409 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47411         [BZ #16041]
47412         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47413         make result into a quiet NaN.
47415 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47417         * soft-fp/adddf3.c: Fix horizontal whitespace.
47418         * soft-fp/addsf3.c: Likewise.
47419         * soft-fp/addtf3.c: Likewise.
47420         * soft-fp/divdf3.c: Likewise.
47421         * soft-fp/divsf3.c: Likewise.
47422         * soft-fp/divtf3.c: Likewise.
47423         * soft-fp/double.h: Likewise.
47424         * soft-fp/eqdf2.c: Likewise.
47425         * soft-fp/eqsf2.c: Likewise.
47426         * soft-fp/eqtf2.c: Likewise.
47427         * soft-fp/extenddftf2.c: Likewise.
47428         * soft-fp/extended.h: Likewise.
47429         * soft-fp/extendsfdf2.c: Likewise.
47430         * soft-fp/extendsftf2.c: Likewise.
47431         * soft-fp/extendxftf2.c: Likewise.
47432         * soft-fp/fixdfdi.c: Likewise.
47433         * soft-fp/fixdfsi.c: Likewise.
47434         * soft-fp/fixdfti.c: Likewise.
47435         * soft-fp/fixsfdi.c: Likewise.
47436         * soft-fp/fixsfsi.c: Likewise.
47437         * soft-fp/fixsfti.c: Likewise.
47438         * soft-fp/fixtfdi.c: Likewise.
47439         * soft-fp/fixtfsi.c: Likewise.
47440         * soft-fp/fixtfti.c: Likewise.
47441         * soft-fp/fixunsdfdi.c: Likewise.
47442         * soft-fp/fixunsdfsi.c: Likewise.
47443         * soft-fp/fixunsdfti.c: Likewise.
47444         * soft-fp/fixunssfdi.c: Likewise.
47445         * soft-fp/fixunssfsi.c: Likewise.
47446         * soft-fp/fixunssfti.c: Likewise.
47447         * soft-fp/fixunstfdi.c: Likewise.
47448         * soft-fp/fixunstfsi.c: Likewise.
47449         * soft-fp/fixunstfti.c: Likewise.
47450         * soft-fp/floatdidf.c: Likewise.
47451         * soft-fp/floatdisf.c: Likewise.
47452         * soft-fp/floatditf.c: Likewise.
47453         * soft-fp/floatsidf.c: Likewise.
47454         * soft-fp/floatsisf.c: Likewise.
47455         * soft-fp/floatsitf.c: Likewise.
47456         * soft-fp/floattidf.c: Likewise.
47457         * soft-fp/floattisf.c: Likewise.
47458         * soft-fp/floattitf.c: Likewise.
47459         * soft-fp/floatundidf.c: Likewise.
47460         * soft-fp/floatundisf.c: Likewise.
47461         * soft-fp/floatunditf.c: Likewise.
47462         * soft-fp/floatunsidf.c: Likewise.
47463         * soft-fp/floatunsisf.c: Likewise.
47464         * soft-fp/floatunsitf.c: Likewise.
47465         * soft-fp/floatuntidf.c: Likewise.
47466         * soft-fp/floatuntisf.c: Likewise.
47467         * soft-fp/floatuntitf.c: Likewise.
47468         * soft-fp/fmadf4.c: Likewise.
47469         * soft-fp/fmasf4.c: Likewise.
47470         * soft-fp/fmatf4.c: Likewise.
47471         * soft-fp/gedf2.c: Likewise.
47472         * soft-fp/gesf2.c: Likewise.
47473         * soft-fp/getf2.c: Likewise.
47474         * soft-fp/ledf2.c: Likewise.
47475         * soft-fp/lesf2.c: Likewise.
47476         * soft-fp/letf2.c: Likewise.
47477         * soft-fp/muldf3.c: Likewise.
47478         * soft-fp/mulsf3.c: Likewise.
47479         * soft-fp/multf3.c: Likewise.
47480         * soft-fp/negdf2.c: Likewise.
47481         * soft-fp/negsf2.c: Likewise.
47482         * soft-fp/negtf2.c: Likewise.
47483         * soft-fp/op-1.h: Likewise.
47484         * soft-fp/op-2.h: Likewise.
47485         * soft-fp/op-4.h: Likewise.
47486         * soft-fp/op-8.h: Likewise.
47487         * soft-fp/op-common.h: Likewise.
47488         * soft-fp/quad.h: Likewise.
47489         * soft-fp/single.h: Likewise.
47490         * soft-fp/soft-fp.h: Likewise.
47491         * soft-fp/sqrtdf2.c: Likewise.
47492         * soft-fp/sqrtsf2.c: Likewise.
47493         * soft-fp/sqrttf2.c: Likewise.
47494         * soft-fp/subdf3.c: Likewise.
47495         * soft-fp/subsf3.c: Likewise.
47496         * soft-fp/subtf3.c: Likewise.
47497         * soft-fp/truncdfsf2.c: Likewise.
47498         * soft-fp/trunctfdf2.c: Likewise.
47499         * soft-fp/trunctfsf2.c: Likewise.
47500         * soft-fp/trunctfxf2.c: Likewise.
47501         * soft-fp/unorddf2.c: Likewise.
47502         * soft-fp/unordsf2.c: Likewise.
47503         * soft-fp/unordtf2.c: Likewise.
47505 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47507         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47508         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47510 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47512         * elf/dl-libc.c: Clear initfini list after freeing.
47514 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47516         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47517         * soft-fp/addsf3.c: Likewise.
47518         * soft-fp/addtf3.c: Likewise.
47519         * soft-fp/divdf3.c: Likewise.
47520         * soft-fp/divsf3.c: Likewise.
47521         * soft-fp/divtf3.c: Likewise.
47522         * soft-fp/double.h: Likewise.
47523         * soft-fp/eqdf2.c: Likewise.
47524         * soft-fp/eqsf2.c: Likewise.
47525         * soft-fp/eqtf2.c: Likewise.
47526         * soft-fp/extenddftf2.c: Likewise.
47527         * soft-fp/extended.h: Likewise.
47528         * soft-fp/extendsfdf2.c: Likewise.
47529         * soft-fp/extendsftf2.c: Likewise.
47530         * soft-fp/extendxftf2.c: Likewise.
47531         * soft-fp/fixdfdi.c: Likewise.
47532         * soft-fp/fixdfsi.c: Likewise.
47533         * soft-fp/fixdfti.c: Likewise.
47534         * soft-fp/fixsfdi.c: Likewise.
47535         * soft-fp/fixsfsi.c: Likewise.
47536         * soft-fp/fixsfti.c: Likewise.
47537         * soft-fp/fixtfdi.c: Likewise.
47538         * soft-fp/fixtfsi.c: Likewise.
47539         * soft-fp/fixtfti.c: Likewise.
47540         * soft-fp/fixunsdfdi.c: Likewise.
47541         * soft-fp/fixunsdfsi.c: Likewise.
47542         * soft-fp/fixunsdfti.c: Likewise.
47543         * soft-fp/fixunssfdi.c: Likewise.
47544         * soft-fp/fixunssfsi.c: Likewise.
47545         * soft-fp/fixunssfti.c: Likewise.
47546         * soft-fp/fixunstfdi.c: Likewise.
47547         * soft-fp/fixunstfsi.c: Likewise.
47548         * soft-fp/fixunstfti.c: Likewise.
47549         * soft-fp/floatdidf.c: Likewise.
47550         * soft-fp/floatdisf.c: Likewise.
47551         * soft-fp/floatditf.c: Likewise.
47552         * soft-fp/floatsidf.c: Likewise.
47553         * soft-fp/floatsisf.c: Likewise.
47554         * soft-fp/floatsitf.c: Likewise.
47555         * soft-fp/floattidf.c: Likewise.
47556         * soft-fp/floattisf.c: Likewise.
47557         * soft-fp/floattitf.c: Likewise.
47558         * soft-fp/floatundidf.c: Likewise.
47559         * soft-fp/floatundisf.c: Likewise.
47560         * soft-fp/floatunsidf.c: Likewise.
47561         * soft-fp/floatunsisf.c: Likewise.
47562         * soft-fp/floatuntidf.c: Likewise.
47563         * soft-fp/floatuntisf.c: Likewise.
47564         * soft-fp/floatuntitf.c: Likewise.
47565         * soft-fp/fmadf4.c: Likewise.
47566         * soft-fp/fmasf4.c: Likewise.
47567         * soft-fp/fmatf4.c: Likewise.
47568         * soft-fp/gedf2.c: Likewise.
47569         * soft-fp/gesf2.c: Likewise.
47570         * soft-fp/getf2.c: Likewise.
47571         * soft-fp/ledf2.c: Likewise.
47572         * soft-fp/lesf2.c: Likewise.
47573         * soft-fp/letf2.c: Likewise.
47574         * soft-fp/muldf3.c: Likewise.
47575         * soft-fp/mulsf3.c: Likewise.
47576         * soft-fp/multf3.c: Likewise.
47577         * soft-fp/negdf2.c: Likewise.
47578         * soft-fp/negsf2.c: Likewise.
47579         * soft-fp/negtf2.c: Likewise.
47580         * soft-fp/op-1.h: Likewise.
47581         * soft-fp/op-2.h: Likewise.
47582         * soft-fp/op-4.h: Likewise.
47583         * soft-fp/op-8.h: Likewise.
47584         * soft-fp/op-common.h: Likewise.
47585         * soft-fp/quad.h: Likewise.
47586         * soft-fp/single.h: Likewise.
47587         * soft-fp/soft-fp.h: Likewise.
47588         * soft-fp/sqrtdf2.c: Likewise.
47589         * soft-fp/sqrtsf2.c: Likewise.
47590         * soft-fp/sqrttf2.c: Likewise.
47591         * soft-fp/subdf3.c: Likewise.
47592         * soft-fp/subsf3.c: Likewise.
47593         * soft-fp/subtf3.c: Likewise.
47594         * soft-fp/truncdfsf2.c: Likewise.
47595         * soft-fp/trunctfdf2.c: Likewise.
47596         * soft-fp/trunctfsf2.c: Likewise.
47597         * soft-fp/trunctfxf2.c: Likewise.
47598         * soft-fp/unorddf2.c: Likewise.
47599         * soft-fp/unordsf2.c: Likewise.
47600         * soft-fp/unordtf2.c: Likewise.
47602 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47604         [BZ #15672]
47605         * misc/error.c (error_tail): Fix possible buffer overflow.
47607 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47609         [BZ #13028]
47610         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47611         address.
47613 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47615         [BZ #832]
47616         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47617         testing pipefail option.
47619 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47621         * soft-fp/double.h: Indent preprocessor directives inside #if.
47622         * soft-fp/extended.h: Likewise.
47623         * soft-fp/op-2.h: Likewise.
47624         * soft-fp/op-4.h: Likewise.
47625         * soft-fp/op-common.h: Likewise.
47626         * soft-fp/quad.h: Likewise.
47627         * soft-fp/single.h: Likewise.
47628         * soft-fp/soft-fp.h: Likewise.
47630 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47632         * iconv/iconv_prog.c: Fix typos.
47633         * stdio-common/psiginfo-data.h: Likewise.
47635 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47637         [BZ #15764]
47638         * locale/setlocale.c: Fix typo.
47640 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47642         [BZ #16036]
47643         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47644         signaling NaN arguments.
47645         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47646         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47648         [BZ #14910]
47649         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47650         unordered operands.
47651         * soft-fp/gesf2.c (__gesf2): Likewise.
47652         * soft-fp/getf2.c (__getf2): Likewise.
47653         * soft-fp/ledf2.c (__ledf2): Likewise.
47654         * soft-fp/lesf2.c (__lesf2): Likewise.
47655         * soft-fp/letf2.c (__letf2): Likewise.
47657         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47658         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47659         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47660         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47661         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47662         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47663         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47664         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47665         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47666         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47667         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47668         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47669         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47670         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47671         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47672         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47673         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47674         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47675         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47676         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47677         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47678         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47679         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47680         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47681         * soft-fp/floattidf.c (__floattidf): Likewise.
47682         * soft-fp/floattisf.c (__floattisf): Likewise.
47683         * soft-fp/floattitf.c (__floattitf): Likewise.
47684         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47685         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47686         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47687         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47688         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47689         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47690         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47691         * soft-fp/gesf2.c (__gesf2): Likewise.
47692         * soft-fp/getf2.c (__getf2): Likewise.
47693         * soft-fp/ledf2.c (__ledf2): Likewise.
47694         * soft-fp/lesf2.c (__lesf2): Likewise.
47695         * soft-fp/letf2.c (__letf2): Likewise.
47697         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47698         Undefine and redefine.
47699         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47700         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47701         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47702         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47703         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47704         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47705         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47706         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47707         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47708         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47709         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47710         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47711         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47712         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47713         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47715         [BZ #16032]
47716         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47717         without decrementing exponent if mantissa >= that for the
47718         denominator, not >.
47719         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47720         denominator, not >.  Decrement exponent in < case instead of
47721         incrementing in >= case.
47722         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47723         without decrementing exponent if mantissa >= that for the
47724         denominator, not >.
47726         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47727         computing saturated result for unsigned overflow.
47729 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47730             Jeff Law  <law@redhat.com>
47732         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47733         (atan2Mp): Add systemtap probe marker.
47734         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47735         (__ieee754_log): Add systemtap probe marker.
47736         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47737         (atanMp): Add systemtap probe marker.
47738         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47739         (tanMp): Add systemtap probe marker.
47740         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47741         (__slowexp): Add systemtap probe marker.
47742         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47743         (__slowpow): Add systemtap probe marker.
47744         * manual/probes.texi: Document probes.
47746 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47748         [BZ #15362]
47749         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47750         written.
47751         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47752         written.
47753         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47754         written to buffer but not flushed.
47755         * libio/iofwrite_u.c:  Likewise.
47756         * libio/iopadn.c:  Return bytes returned even if EOF was
47757         encountered.
47758         * libio/iowpadn.c:  Likewise.
47759         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47760         if _IO_padn does not write the whole buffer.
47761         [!COMPILE_WPRINTF] (PAD): Likewise.
47763 2013-10-10  David S. Miller  <davem@davemloft.net>
47765         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47766         directory block.
47768 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47770         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47771         instead of FSF address.
47772         * soft-fp/fixdfti.c: Likewise.
47773         * soft-fp/fixsfti.c: Likewise.
47774         * soft-fp/fixtfti.c: Likewise.
47775         * soft-fp/fixunsdfti.c: Likewise.
47776         * soft-fp/fixunssfti.c: Likewise.
47777         * soft-fp/fixunstfti.c: Likewise.
47778         * soft-fp/floattidf.c: Likewise.
47779         * soft-fp/floattisf.c: Likewise.
47780         * soft-fp/floattitf.c: Likewise.
47781         * soft-fp/floatuntidf.c: Likewise.
47782         * soft-fp/floatuntisf.c: Likewise.
47783         * soft-fp/floatuntitf.c: Likewise.
47784         * soft-fp/trunctfxf2.c: Likewise.
47786         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47787         * soft-fp/fixdfti.c: Likewise.
47788         * soft-fp/fixsfti.c: Likewise.
47789         * soft-fp/fixtfti.c: Likewise.
47790         * soft-fp/fixunsdfti.c: Likewise.
47791         * soft-fp/fixunssfti.c: Likewise.
47792         * soft-fp/fixunstfti.c: Likewise.
47793         * soft-fp/floattidf.c: Likewise.
47794         * soft-fp/floattisf.c: Likewise.
47795         * soft-fp/floattitf.c: Likewise.
47796         * soft-fp/floatuntidf.c: Likewise.
47797         * soft-fp/floatuntisf.c: Likewise.
47798         * soft-fp/floatuntitf.c: Likewise.
47799         * soft-fp/trunctfxf2.c: Likewise.
47801 2013-10-10  David S. Miller  <davem@davemloft.net>
47803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47805 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47807         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47808         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47809         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47810         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47811         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47812         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47813         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47816         for NaNs before doing comparisons on argument.
47817         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47818         Likewise.
47820 2013-10-10  Will Newton  <will.newton@linaro.org>
47822         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47823         passed to _int_memalign does not overflow.
47825 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47827         * scripts/bench.pl: Add include-sources directive.
47828         * benchtests/README: Update documentation.
47830 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47832         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47833         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47834         instead of FP_INIT_ROUNDMODE.
47835         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47836         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47838         [BZ #16034]
47839         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47840         copy class of input value.
47841         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47842         not handle exceptions.
47843         * soft-fp/negsf2.c (__negsf2): Likewise.
47844         * soft-fp/negtf2.c (__negtf2): Likewise.
47845         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47847 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47849         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47850         semicolon.  From Linux kernel.
47852 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47854         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47856 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47858         [BZ #156]
47859         * manual/socket.texi: Added statement about buffer
47860         for gethostbyname2_r.
47862 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47864         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47865         Use .p2align directive instead, throughout.
47866         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47867         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47868         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47869         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47870         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47871         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47872         * sysdeps/x86_64/strchr.S: Likewise.
47873         * sysdeps/x86_64/strrchr.S: Likewise.
47875 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47877         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47879         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47881         * sysdeps/generic/math_private.h (__mpsin1): Remove
47882         declaration.
47883         (__mpcos1): Likewise.
47884         (__mpsin): New argument __range_reduce.
47885         (__mpcos): Likewise.
47886         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47887         (slow): Use __mpsin and __mpcos.
47888         (slow1): Likewise.
47889         (slow2): Likewise.
47890         (sloww): Likewise.
47891         (sloww1): Likewise.
47892         (sloww2): Likewise.
47893         (bsloww): Likewise.
47894         (bsloww1): Likewise.
47895         (bsloww2): Likewise.
47896         (cslow2): Likewise.
47897         (csloww): Likewise.
47898         (csloww1): Likewise.
47899         (csloww2): Likewise.
47900         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47901         range_reduce.  Merge in __mpsin1.
47902         (__mpcos): Likewise.
47903         (__mpsin1): Remove.
47904         (__mpcos1): Likewise.
47906 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47908         * locale/loadlocale.c (_nl_intern_locale_data): Use
47909         LOCFILE_ALIGNED_P.
47910         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47911         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47912         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47913         obstack data is appropriately aligned.
47914         (obstack_int32_grow_fast): Likewise.
47915         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47916         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47917         (add_locale_uint32_array): Likewise.
47919 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47921         * benchtests/Makefile: Remove ARGLIST and RET variables.
47922         ($(objpfx)bench-%.c): Pass only function name to the script.
47923         * benchtests/README: Update documentation.
47924         * benchtests/acos-inputs: Add new directives.
47925         * benchtests/acosh-inputs: Likewise.
47926         * benchtests/asin-inputs: Likewise.
47927         * benchtests/asinh-inputs: Likewise.
47928         * benchtests/atan-inputs: Likewise.
47929         * benchtests/atanh-inputs: Likewise.
47930         * benchtests/cos-inputs: Likewise.
47931         * benchtests/cosh-inputs: Likewise.
47932         * benchtests/exp-inputs: Likewise.
47933         * benchtests/log-inputs: Likewise.
47934         * benchtests/pow-inputs: Likewise.
47935         * benchtests/rint-inputs: Likewise.
47936         * benchtests/sin-inputs: Likewise.
47937         * benchtests/sinh-inputs: Likewise.
47938         * benchtests/tan-inputs: Likewise.
47939         * benchtests/tanh-inputs: Likewise.
47940         * scripts/bench.pl: Add support for new directives.
47942 2013-10-07  Alan Modra  <amodra@gmail.com>
47944         * README: Fix careless merge.
47946 2013-10-05  Alan Modra  <amodra@gmail.com>
47948         * NEWS: Mention powerpc64le support and bugs fixed.
47949         * README: Both big-endian and little-endian powerpc64 supported.
47951 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47953         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47954         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47955         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47956         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47958 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47960         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47961         match prototype.
47963 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47965         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47966         Move -mhard-float appending from
47967         ports/sysdeps/powerpc/powerpc32/Makefile.
47968         [$(with-fp) = yes] (ASFLAGS): Likewise.
47969         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47970         * sysdeps/powerpc/nofpu: Move directory from
47971         ports/sysdeps/powerpc/nofpu.
47972         * sysdeps/powerpc/soft-fp: Move directory from
47973         ports/sysdeps/powerpc/soft-fp.
47974         * sysdeps/powerpc/powerpc32/405: Move directory from
47975         ports/sysdeps/powerpc/powerpc32/405.
47976         * sysdeps/powerpc/powerpc32/440: Move directory from
47977         ports/sysdeps/powerpc/powerpc32/440.
47978         * sysdeps/powerpc/powerpc32/464: Move directory from
47979         ports/sysdeps/powerpc/powerpc32/464.
47980         * sysdeps/powerpc/powerpc32/476: Move directory from
47981         ports/sysdeps/powerpc/powerpc32/476.
47982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47983         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47985         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47987         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47989         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47991         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47992         * README: Update for powerpc-*-linux-gnu software floating point
47993         support in libc.
47995         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47996         case to powerpc/powerpc32*.
47997         * sysdeps/unix/sysv/linux/configure: Regenerated.
47999         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48000         (_FPU_MASK_OM): Define as 0x04.
48001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48003         0x00c10080.
48004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48005         0x0000003c.
48006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48009         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48010         getcontext_e500.
48011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48012         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48013         setcontext_e500.
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48015         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48016         and setcontext_e500.
48018 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48020         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48022 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48024         * manual/threads.texi (Default Thread Attributes): Fix typo.
48026 2013-10-04  Will Newton  <will.newton@linaro.org>
48028         * malloc/Makefile: Add tst-memalign.
48029         * malloc/tst-memalign.c: New file.
48031         * malloc/tst-posix_memalign.c: Add comments.
48032         (do_test): Add comments and call free on all potentially
48033         allocated pointers. Add space after cast.
48035         * malloc/tst-pvalloc.c: Add comments.
48036         (do_test): Add comments and call free on all potentially
48037         allocated pointers. Remove duplicate check for NULL pointer.
48038         Add space after cast.
48040         * malloc/tst-valloc.c: Add comments.
48041         (do_test): Add comments and call free on all potentially
48042         allocated pointers. Remove duplicate check for NULL pointer.
48043         Add space after cast.
48045 2013-10-04  Alan Modra  <amodra@gmail.com>
48047         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48048         Use stdint types in rather than __attribute__((mode())).
48049         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48051 2013-10-04  Alan Modra  <amodra@gmail.com>
48053         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48054         Correct handling of unaligned relocs for little-endian.
48055         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48057 2013-10-04  Alan Modra  <amodra@gmail.com>
48059         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48060         * configure: Regenerate.
48061         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48062         * shlib-versions: Likewise.
48064 2013-10-04  Alan Modra  <amodra@gmail.com>
48066         * string/tester.c (test_memrchr): Increment reported test cycle.
48068 2013-10-04  Alan Modra  <amodra@gmail.com>
48070         * string/test-memcpy.c (do_one_test): When reporting errors, print
48071         string address and don't overrun end of string.
48073 2013-10-04  Alan Modra  <amodra@gmail.com>
48075         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48076         insrdi.  Make better use of reg selection to speed exit slightly.
48077         Schedule entry path a little better.  Remove useless "are we done"
48078         checks on entry to main loop.  Handle wrapping around zero address.
48079         Correct main loop count.  Handle single left-over word from main
48080         loop inline rather than by using loop_small.  Remove extra word
48081         case in loop_small caused by wrong loop count.  Add little-endian
48082         support.
48083         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48084         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48085         cache hint.
48086         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48087         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48088         support.  Avoid rlwimi.
48089         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48091 2013-10-04  Alan Modra  <amodra@gmail.com>
48093         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48094         insrdi.  Formatting.
48095         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48096         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48097         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48098         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48099         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48100         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48102 2013-10-04  Alan Modra  <amodra@gmail.com>
48104         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48105         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48106         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48107         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48108         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48109         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48110         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48111         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48112         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48113         use of regs.  Use power7 mtocrf.  Tidy function tails.
48115 2013-10-04  Alan Modra  <amodra@gmail.com>
48117         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48118         Formatting.  Consistently use rXXX register defines or rN defines.
48119         Use early exit labels that avoid restoring unused non-volatile regs.
48120         Make cr field use more consistent with rWORDn compares.  Rename
48121         regs used as shift registers for unaligned loop, using rN defines
48122         for short lifetime/multiple use regs.
48123         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48124         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48125         addi 1,1,64 to pop stack frame.  Simplify return value code.
48126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48128 2013-10-04  Alan Modra  <amodra@gmail.com>
48130         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48131         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48132         rather than rlwimi.
48133         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48134         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48135         little-endian support.  Correct typos.
48136         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48137         rather than rlwimi.
48138         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48139         in loop and entry code to keep "and." results.
48140         (strchr): Add little-endian support.  Comment.  Move cntlzd
48141         earlier in tail.
48142         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48144 2013-10-04  Alan Modra  <amodra@gmail.com>
48146         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48147         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48148         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48149         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48151 2013-10-04  Alan Modra  <amodra@gmail.com>
48153         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48154         (rTMP): Define as r11.
48155         (strcmp): Add little-endian support.  Optimise tail.
48156         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48157         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48158         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48159         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48161         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48164 2013-10-04  Alan Modra  <amodra@gmail.com>
48166         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48167         little-endian support.  Remove unnecessary "are we done" tests.
48168         Handle "s" wrapping around zero and extremely large "size".
48169         Correct main loop count.  Handle single left-over word from main
48170         loop inline rather than by using small_loop.  Correct comments.
48171         Delete "zero" tail, use "end_max" instead.
48172         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48174 2013-10-04  Alan Modra  <amodra@gmail.com>
48176         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48177         support.  Don't branch over align.
48178         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48179         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48180         support.  Rearrange tmp reg use to suit.  Comment.
48181         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48183 2013-10-04  Alan Modra  <amodra@gmail.com>
48185         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48187 2013-10-04  Alan Modra  <amodra@gmail.com>
48189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48190         conditional form of branch and link when obtaining pc.
48191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48193 2013-10-04  Alan Modra  <amodra@gmail.com>
48195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48196         HIWORD/LOWORD.
48197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48200 2013-10-04  Alan Modra  <amodra@gmail.com>
48202         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48203         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48204         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48205         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48206         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48207         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48208         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48209         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48210         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48211         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48213 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48214             Alistair Popple <alistair@ozlabs.au.ibm.com>
48215             Alan Modra <amodra@gmail.com>
48217         [BZ #15723]
48218         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48219         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48220         _dl_hwcap access for little-endian.
48221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48222         destroy vmx regs when saving unaligned.
48223         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48224         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48225         destroy vmx regs when saving unaligned.
48227 2013-10-04  Alan Modra  <amodra@gmail.com>
48229         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48230         Don't use a union to pack hi/low value.
48232 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48234         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48235         for little-endian.
48236         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48238         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48239         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48240         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48242 2013-10-04  Alan Modra  <amodra@gmail.com>
48244         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48245         constants to usual value for .cst8 section, and remove redundant
48246         high address load.
48247         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48248         constant for 0x1p52.  Load little-endian words of double from
48249         correct stack offsets.
48251 2013-10-04  Alan Modra  <amodra@gmail.com>
48253         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48254         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48255         words of double from correct stack offsets.
48256         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48257         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48258         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48261         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48262         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48263         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48264         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48265         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48266         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48267         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48268         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48269         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48270         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48271         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48272         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48274 2013-10-04  Alan Modra  <amodra@gmail.com>
48276         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48277         64-bit int/double union.
48278         (_FPU_SETCW): Likewise.
48279         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48280         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48282 2013-10-04  Alan Modra  <amodra@gmail.com>
48284         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48285         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48287 2013-10-04  Alan Modra  <amodra@gmail.com>
48289         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48290         use vector int constants.
48291         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48293 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48295         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48296         array with long long.
48297         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48298         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48299         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48300         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48301         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48302         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48303         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48304         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48305         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48306         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48307         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48308         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48309         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48311 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48313         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48314         (__signbit): Likewise.  Correct for little-endian.
48315         (__signbitl): Call __signbit.
48316         (lrint): Correct for little-endian.
48317         (lrintf): Call lrint.
48319 2013-10-04  Alan Modra  <amodra@gmail.com>
48321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48322         union 32-bit int array member with 64-bit int array.
48323         (t515, tm256): Double rather than long double.
48324         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48326 2013-10-04  Alan Modra  <amodra@gmail.com>
48328         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48329         Delete.
48330         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48331         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48332         version of math_ldbl.h.
48334 2013-10-04  Alan Modra  <amodra@gmail.com>
48336         [BZ #15734], [BZ #15735]
48337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48338         all uses of ieee875 long double macros and unions.  Simplify test
48339         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48340         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48341         normalize after ldbl_extract_mantissa, and don't add hidden bit
48342         already handled.  Don't treat low word of ieee854 mantissa like
48343         low word of IBM long double and mask off bit when testing for
48344         zero.
48345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48346         all uses of ieee875 long double macros and unions.  Simplify tests
48347         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48348         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48349         two1022, instead use their values.  Recognise that tests for large
48350         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48351         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48352         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48353         test for 0.0L and nan.  Correct negation.
48354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48355         ieee875 long double macros and unions.  Correct output for large
48356         magnitude x.  Correct absolute value calculation.
48357         (__erfcl): Likewise.
48358         * math/libm-test.inc: Add tests for errors discovered in IBM long
48359         double versions of fmodl, remainderl, erfl and erfcl.
48361 2013-10-04  Alan Modra  <amodra@gmail.com>
48363         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48364         all uses of ieee854 long double macros and unions.  Simplify tests
48365         for long doubles that are fully specified by the high double.
48366         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48367         Likewise.
48368         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48369         Remove dead code too.
48370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48371         (__ieee754_ynl): Likewise.
48372         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48373         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48375         Remove dead code too.
48376         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48377         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48378         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48379         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48380         Simplify.
48381         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48382         Simplify.
48383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48384         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48385         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48386         Comment on variable precision.
48387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48389         Likewise.
48390         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48391         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48393         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48394         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48396 2013-10-04  Alan Modra  <amodra@gmail.com>
48398         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48399         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48400         all uses of ieee854 long double macros and unions.
48401         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48403         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48404         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48405         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48406         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48407         Likewise.
48408         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48409         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48410         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48411         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48413         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48414         Simplify sign and nan test too.
48415         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48416         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48417         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48418         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48419         Likewise.
48420         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48421         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48422         Likewise.
48423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48424         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48425         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48426         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48427         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48430 2013-10-04  Alan Modra  <amodra@gmail.com>
48432         * stdio-common/printf_size.c (__printf_size): Don't use
48433         union ieee854_long_double in fpnum union.
48434         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48435         signbit macro to retrieve sign from long double.
48436         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48437         retrieve sign from long double.
48438         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48439         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48440         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48441         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48442         * math/test-misc.c (main): Don't use union ieee854_long_double.
48444 2013-10-04  Alan Modra  <amodra@gmail.com>
48446         [BZ #15680]
48447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48448         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48449         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48450         calculation.  Remove unnecessary test for denormal exponent.
48451         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48452         Correct handling of denormals.  Avoid undefined shift behaviour.
48453         Correct normalisation of low mantissa when low double is denormal.
48454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48455         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48456         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48457         Correct normalisation of low mantissa.  Test for overflow of high
48458         mantissa and normalise.
48459         (ldbl_nearbyint): Use more readable constant for two52.
48460         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48461         (__mpn_construct_long_double): Fix test for overflow of high
48462         mantissa and correct normalisation.  Avoid undefined shift.
48464 2013-10-04  Alan Modra  <amodra@gmail.com>
48466         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48467         (union ibm_extended_long_double): Define as an array of ieee754_double.
48468         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48469         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48470         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48471         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48472         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48473         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48474         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48475         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48476         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48477         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48478         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48480 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48482         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48483         page size instead of calling getpagesize.
48485         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48486         (LOCFILE_ALIGN_MASK): Likewise.
48487         (LOCFILE_ALIGN_UP): Likewise.
48488         (LOCFILE_ALIGNED_P): Likewise.
48489         * locale/programs/ld-collate.c (collate_output): Use the new
48490         macros instead of __alignof__ (int32_t).
48491         * locale/weight.h (findidx): Likewise.
48493 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48495         [BZ #431]
48496         * manual/string.texi: Fix strncat and wcsncat.
48498 2013-10-03  Brooks Moses  <bmoses@google.com>
48500         [BZ #15915]
48501         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48502         * Makerules: ...here, and adjust associated comments.
48504 2013-10-02  Will Newton  <will.newton@linaro.org>
48506         * malloc/Makefile: Add tst-pvalloc.
48507         * malloc/tst-pvalloc.c: New file.
48509 2013-10-02  Will Newton  <will.newton@linaro.org>
48511         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48512         improve test coverage.
48514 2013-10-02  Will Newton  <will.newton@linaro.org>
48516         * malloc/Makefile: Add tst-posix_memalign.
48517         * malloc/tst-posix_memalign.c: New file.
48519 2013-10-01  Eric Blake  <eblake@redhat.com>
48521         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48522         Use __THROWNL rather than __THROW on static functions.
48524 2013-09-30  Petr Machata  <pmachata@redhat.com>
48526         * elf/elf.h (R_AARCH64_ABS16): New macro.
48527         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48528         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48529         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48530         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48531         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48532         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48533         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48534         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48535         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48536         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48537         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48538         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48539         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48540         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48541         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48542         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48543         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48544         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48545         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48546         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48547         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48548         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48549         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48550         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48551         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48552         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48553         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48554         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48555         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48556         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48557         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48558         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48559         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48560         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48561         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48562         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48563         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48564         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48565         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48566         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48567         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48568         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48569         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48570         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48571         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48572         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48573         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48574         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48575         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48576         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48577         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48578         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48579         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48580         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48581         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48582         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48583         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48584         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48585         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48586         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48587         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48588         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48589         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48590         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48591         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48592         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48593         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48594         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48595         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48596         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48597         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48598         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48599         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48600         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48601         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48602         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48603         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48604         (R_AARCH64_TLSDESC_LDR): Likewise.
48605         (R_AARCH64_TLSDESC_ADD): Likewise.
48606         (R_AARCH64_TLSDESC_CALL): Likewise.
48608 2013-09-30  Andreas Schwab  <schwab@suse.de>
48610         [BZ #15048]
48611         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48612         the nss database lookup.
48613         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48616 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48618         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48620 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48622         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48623         ${Bash-specific parameter/pattern/string} parameter expansion.
48624         * sysdeps/unix/make-syscalls.sh: Likewise.
48626 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48628         * sysdeps/sh/stackguard-macros.h: New file.
48630 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48634         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48635         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48636         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48637         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48639 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48641         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48642         Fix thread ID register.
48644 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48646         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48647         [POSIX || UNIX98]: Require rather than permitting all symbols from
48648         <time.h>.
48649         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48650         element of struct sched_param.
48651         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48652         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48653         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48654         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48655         constant.
48657 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48659         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48660         argument calculation.
48662 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48664         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48665         Expect macro.
48666         [POSIX] (pthread_attr_t): Do not require type.
48667         [POSIX] (pthread_cond_t): Likewise.
48668         [POSIX] (pthread_condattr_t): Likewise.
48669         [POSIX] (pthread_key_t): Likewise.
48670         [POSIX] (pthread_mutex_t): Likewise.
48671         [POSIX] (pthread_mutexattr_t): Likewise.
48672         [POSIX] (pthread_once_t): Likewise.
48673         [POSIX] (pthread_t): Likewise.
48674         [POSIX-based standards] (pthread_atfork): Expect function.
48676 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48677             Richard Sandiford  <richard@codesourcery.com>
48679         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48680         (swap_endianness_p): New extern variable.
48681         (set_big_endian): New inline function.
48682         (maybe_swap_uint32): Likewise.
48683         (maybe_swap_uint32_array): Likewise.
48684         (maybe_swap_uint32_obstack): Likewise.
48685         * locale/programs/locfile.c: Include <stdbool.h>.
48686         (swap_endianness_p): New variable.
48687         (add_locale_uint32): Call maybe_swap_uint32.
48688         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48689         (write_locale_data): Call maybe_swap_uint32_array.
48690         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48691         maybe_swap_uint32.
48692         (obstack_int32_grow_fast): Likewise.
48693         (output_weightwc): Call maybe_swap_uint32_obstack.
48694         (collate_output): Likewise.
48695         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48696         (OPT_LITTLE_ENDIAN): Likewise.
48697         (options): Add --little-endian and --big-endian options.
48698         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48699         * locale/programs/locarchive.c: Include "locfile.h".
48700         (GET): New macro.
48701         (SET): Likewise.
48702         (INC): Likewise.
48703         (create_archive): Use the new macros to access fields of
48704         structures directly mapped from or written to locale archives.
48705         (oldlocrecentcmp): Likewise.
48706         (enlarge_archive): Likewise.
48707         (insert_name): Likewise.
48708         (add_alias): Likewise.
48709         (add_locale): Likewise.
48710         (delete_locales_from_archive): Likewise.
48711         (show_archive_content): Likewise.
48712         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48713         locale data.
48715 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48717         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48718         http://www.gnu.org/doc/freemanuals.texi.
48719         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48721 2013-09-24  Will Newton  <will.newton@linaro.org>
48723         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48724         macro.
48726 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48728         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48729         unsigned char.
48731 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48733         * manual/threads.texi (POSIX Threads): Fix a typo.
48735 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48737         [BZ #14547]
48738         * string/tst-strcoll-overflow.c: New test case.
48739         * string/Makefile (xtests): Add tst-strcoll-overflow.
48740         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48741         cache if string sizes may cause integer overflow.
48743         [BZ #14547]
48744         * string/strcoll_l.c (coll_seq): New members rule, idx,
48745         save_idx and back_us.
48746         (get_next_seq_nocache): New function.
48747         (do_compare_nocache): New function.
48748         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48749         when malloc fails.
48751 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48753         [BZ #15754]
48754         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48755         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48756         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48758         [BZ #15754]
48759         * elf/Makefile (tests): Add tst-ptrguard1.
48760         (tests-static): Add tst-ptrguard1-static.
48761         (tst-ptrguard1-ARGS): Define.
48762         (tst-ptrguard1-static-ARGS): Define.
48763         * elf/tst-ptrguard1.c: New file.
48764         * elf/tst-ptrguard1-static.c: New file.
48765         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48766         * sysdeps/i386/stackguard-macros.h: Likewise.
48767         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48768         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48769         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48770         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48771         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48772         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48774 2013-09-23  Hector Marco  <hecmargi@upv.es>
48775             Ismael Ripoll  <iripoll@disca.upv.es>
48776             Carlos O'Donell  <carlos@redhat.com>
48778         [BZ #15754]
48779         * sysdeps/generic/stackguard-macros.h: Define
48780         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48781         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48782         Define __pointer_chk_guard_local.
48783         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48784         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48786 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48788         [BZ #15859]
48789         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48791 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48793         * include/string.h (__ffs): Declare as hidden.
48794         * string/ffs.c (__ffs): Define as hidden.
48795         * sysdeps/i386/ffs.c (__ffs): Likewise.
48796         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48797         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48798         * sysdeps/s390/ffs.c (__ffs): Likewise.
48799         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48801 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48803         * NEWS: Mention malloc probes.
48805         * malloc/arena.c (new_heap): New memory_heap_new probe.
48806         (grow_heap): New memory_heap_more probe.
48807         (shrink_heap): New memory_heap_less probe.
48808         (heap_trim): New memory_heap_free probe.
48809         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48810         (systrim): New memory_sbrk_less probe.
48811         * manual/probes.texi: Document them.
48813         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48814         * manual/probes.texi: Document it.
48816         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48817         (__libc_realloc): Add memory_realloc_retry probe.
48818         (__libc_memalign): Add memory_memalign_retry probe.
48819         (__libc_valloc): Add memory_valloc_retry probe.
48820         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48821         (__libc_calloc): Add memory_calloc_retry probe.
48822         * manual/probes.texi: Document them.
48824         * malloc/arena.c (get_free_list): Add probe
48825         memory_arena_reuse_free_list.
48826         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48827         and memory_arena_reuse.
48828         (arena_get2) [!PER_THREAD]: Likewise.
48829         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48830         memory_arena_reuse_realloc.
48831         * manual/probes.texi: Document them.
48833         * malloc/malloc.c (__libc_free): Add
48834         memory_mallopt_free_dyn_thresholds probe.
48835         (__libc_mallopt): Add multiple memory_mallopt probes.
48836         * manual/probes.texi: Document them.
48838         * malloc/malloc.c: Include stap-probe.h.
48839         (__libc_mallopt): Add memory_mallopt probe.
48840         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48841         * manual/probes.texi: New.
48842         * manual/Makefile (chapters): Add probes.
48843         * manual/threads.texi: Set next node.
48845 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48847         [BZ #15963, #13985]
48848         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48849         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48850         Add `Chinese' to `nan' entry name.
48852 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48854         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48855         (POLYNOMIAL): Likewise.
48856         (TAYLOR_SINCOS): Likewise.
48857         (TAYLOR_SLOW): Likewise.
48858         (__sin): Use TAYLOR_SINCOS.
48859         (__cos): Likewise.
48860         (slow): Use TAYLOR_SLOW.
48861         (sloww): Likewise.
48862         (bsloww): Likewise.
48863         (csloww): Likewise.
48865 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48867         * stdlib/strtod_l.c: Fix buffer overrun.
48869 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48871         * benchtests/Makefile (bench): Add sincos.
48872         * benchtests/bench-sincos.c: New file.
48874         * math/libm-test.inc (cos_test_data): New test inputs.
48875         (sin_test_data): Likewise.
48877         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48878         macro.
48879         (__sin): Use it.
48880         (__cos): Likewise.
48881         (slow1): Likewise.
48882         (slow2): Likewise.
48883         (sloww1): Likewise.
48884         (sloww2): Likewise.
48885         (bsloww1): Likewise.
48886         (bsloww2): Likewise.
48887         (cslow2): Likewise.
48888         (csloww1): Likewise.
48889         (csloww2): Likewise.
48891         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48892         function.
48893         (__sin): Use it.
48894         (__cos): Likewise.
48896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48897         gotos.
48898         (__cos): Likewise.
48900 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48902         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48903         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48904         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48905         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48906         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48907         * elf/cache.c (print_entry): Handle the new cache flags.
48909 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48910             Aldy Hernandez  <aldyh@redhat.com>
48912         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48913         Change condition to [_SOFT_FLOAT].
48914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48926         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48929         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48930         declaration.
48932 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48934         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48935         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48936         (__longjmp): Use LOAD_GP to load saved GPRs.
48937         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48938         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48939         (__sigsetjmp): Use SAVE_GP to save GPRs.
48941         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48942         Do not append -msoft-float.
48943         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48945 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48947         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48949 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48951         [BZ #15966]
48952         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48953         (_FPU_GETCW): Use initial "__" on variable and field names but not
48954         on macro parameter name.
48955         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48956         parentheses around reference to macro parameter.
48958 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48960         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48961         prototype.
48962         (ctype_startup): Use uint32_t in cast and sizeof for
48963         ctype->charnames.
48965 2013-09-11  Jia Liu  <proljc@gmail.com>
48967         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48968         __daddr_t_defined.
48969         [__FreeBSD__]: Likewise.
48971 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48974         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48975         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48976         (strchr): Remove __strchr_sse42 ifunc selection.
48977         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48978         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48980 2013-09-11  Will Newton  <will.newton@linaro.org>
48982         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48983         parameter to RES. Remove hardcoded 1000 value.
48984         * benchtests/bench-skeleton.c (main): Pass RES parameter
48985         to TIMING_INIT and multiply result by 1000.
48987 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48991 2013-09-11  Andreas Schwab  <schwab@suse.de>
48993         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48994         if not defined.
48995         (O_TMPFILE) [__USE_GNU]: Define.
48996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48997         Define.
48999 2013-09-11  Will Newton  <will.newton@linaro.org>
49001         [BZ #15857]
49002         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49003         does not overflow.
49005 2013-09-11  Will Newton  <will.newton@linaro.org>
49007         [BZ #15856]
49008         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49009         does not overflow.
49011 2013-09-11  Will Newton  <will.newton@linaro.org>
49013         [BZ #15855]
49014         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49015         does not overflow.
49017 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49019         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49020         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49025 2013-09-10  Allan McRae  <allan@archlinux.org>
49027         [BZ #15748]
49028         * manual/arith.texi (Parsing of Floats): Clarify
49029         cross-reference.
49031         [BZ #15849]
49032         * manual/install.texi (Running make install): Mention
49033         --enable-pt-chown.
49034         * INSTALL: Regenerated.
49036 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49038         * csu/init-first.c (_init): Remove the !SHARED condition around
49039         FPU control word initialization.
49040         * elf/dl-support.c (_dl_fpu_control): New variable.
49041         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49042         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49043         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49044         * math/test-fpucw-static.c: New file.
49045         * math/test-fpucw-ieee.c: New file.
49046         * math/test-fpucw-ieee-static.c: New file.
49047         * math/Makefile (tests): Add `test-fpucw-ieee' and
49048         `$(tests-static)'.
49049         (tests-static): New variable.
49050         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49051         dependency to...
49052         [($(build-shared),yes)]
49053         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49054         ... this.
49055         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49056         New dependency.
49058 2013-09-09  Allan McRae  <allan@archlinux.org>
49060         [BZ #15939]
49061         * manual/string.texi (Collation Functions): Fix typo in
49062         strcoll example.
49063         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49065         [BZ #15893]
49066         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49068         [BZ #15892]
49069         * libio/memstream.c (open_memstream): Fix memory leak.
49070         * libio/wmemstream.c (open_wmemstream): Likewise.
49072         [BZ #15895]
49073         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49075 2013-09-09  Will Newton  <will.newton@linaro.org>
49077         * malloc/Makefile: Add tst-realloc to tests.
49078         * malloc/tst-realloc.c: New file.
49080 2013-09-09  Allan McRae  <allan@archlinux.org>
49082         [BZ #15844]
49083         * COPYING: Update from GNU website to fix FSF address.
49084         * COPYING.LIB: Likewise.
49086 2013-09-06  David S. Miller  <davem@davemloft.net>
49088         * po/zh_TW.po: Update Chinese (traditional) translation from
49089         translation project.
49091 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49092             Joseph Myers  <joseph@codesourcery.com>
49094         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49095         "localeinfo.h".
49096         (obstack_chunk_alloc): New macro.
49097         (obstack_chunk_free): Likewise.
49098         (record_offset): New function.
49099         (init_locale_data): Likewise.
49100         (align_locale_data): Likewise.
49101         (add_locale_empty): Likewise.
49102         (add_locale_raw_data): Likewise.
49103         (add_locale_raw_obstack): Likewise.
49104         (add_locale_string): Likewise.
49105         (add_locale_wstring): Likewise.
49106         (add_locale_uint32): Likewise.
49107         (add_locale_uint32_array): Likewise.
49108         (add_locale_char): Likewise.
49109         (start_locale_structure): Likewise.
49110         (end_locale_structure): Likewise.
49111         (start_locale_prelude): Likewise.
49112         (end_locale_prelude): Likewise.
49113         (write_locale_data): Take locale_file structure rather than an
49114         iovec.
49115         * locale/programs/locfile.h: Include "obstack.h".
49116         (struct locale_file): Change to store locale file contents instead
49117         of header.
49118         (init_locale_data): New prototype.
49119         (align_locale_data): Likewise.
49120         (add_locale_empty): Likewise.
49121         (add_locale_raw_data): Likewise.
49122         (add_locale_raw_obstack): Likewise.
49123         (add_locale_string): Likewise.
49124         (add_locale_wstring): Likewise.
49125         (add_locale_uint32): Likewise.
49126         (add_locale_uint32_array): Likewise.
49127         (add_locale_char): Likewise.
49128         (start_locale_structure): Likewise.
49129         (end_locale_structure): Likewise.
49130         (start_locale_prelude): Likewise.
49131         (end_locale_prelude): Likewise.
49132         (write_locale_data): Update prototype.
49133         * locale/programs/3level.h (struct TABLE): Remove result field.
49134         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49135         Use new locale_file interface.
49136         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49137         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49138         * locale/programs/ld-address.c (address_output): Use new
49139         locale_file interface.
49140         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49141         NO_ADD_LOCALE.
49142         (collate_finish): Don't call collseq_table_finalize.
49143         (collate_output): Use new locale_file interface.
49144         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49145         in file.
49146         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49147         (TABLE): Move defines earlier in file.
49148         (ELEMENT): Likewise.
49149         (DEFAULT): Likewise.
49150         (wctrans_table_add): Move macro and inline function earlier in
49151         file.
49152         (struct wctype_table): Move type earlier in file.
49153         (add_locale_wctype_table): New static prototype.
49154         (struct locale_ctype_t): Use logical types instead of struct iovec
49155         pointers for members.
49156         (ctype_output): Use new locale_file interface.
49157         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49158         new locale_file interface.
49159         (allocate_arrays): Update for use of new locale_file interface.
49160         * locale/programs/ld-identification.c (identification_output): Use
49161         new locale_file interface.
49162         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49163         * locale/programs/ld-messages.c (messages_output): Likewise.
49164         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49165         * locale/programs/ld-name.c (name_output): Likewise.
49166         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49167         * locale/programs/ld-paper.c (paper_output): Likewise.
49168         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49169         * locale/programs/ld-time.c (time_output): Likewise.
49171 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49173         * benchtests/Makefile: Add memrchr benchmark.
49174         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49175         benchmark as memrchr.
49176         * benchtests/bench-memrchr-ifunc.c: New file.
49177         * benchtests/bench-memrchr.c: New file.
49179 2013-09-06   Will Newton  <will.newton@linaro.org>
49181         * benchtests/Makefile (string-bench): Add memcpy.
49183 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49184             Cong Wang  <amwang@redhat.com>
49186         [BZ #15850]
49187         * sysdeps/unix/sysv/linux/bits/in.h
49188         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49189         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49190         before __USE_KERNEL_IPV6_DEFS uses.
49191         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49192         IPPROTO_BEETPH.
49193         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49194         sockaddr_in6, or ipv6_mreq.
49196 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49198         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49199         memory access for final bytes in some large inputs.
49200         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49202 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49204         * string/test-memrchr.c: New file.
49205         * string/test-memrchr-ifunc.c: New file.
49206         * string/Makefile: Add new memrchr testcase.
49208 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49210         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49211         fanotify_init returns EPERM.
49213 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49215         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49216         errors.
49217         (top level): Treat second token from macro or constant entries for
49218         allowed headers as allowed.
49219         * include/complex.h: Condition internal declarations on
49220         [!_ISOMAC].
49221         * include/fenv.h: Condition include of <stdbool.h> and internal
49222         declarations on [!_ISOMAC].
49224 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49226         [BZ #15923]
49227         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49229 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49231         * configure.in (--enable-versioning): Remove configure option.
49232         (libc_cv_asm_symver_directive): Remove configure test.
49233         (libc_cv_ld_version_script_option): Likewise.
49234         (VERSIONING): Remove variable and AC_SUBST.
49235         (DO_VERSIONING): Remove AC_DEFINE.
49236         * configure: Regenerated.
49237         * config.h.in (DO_VERSIONING): Remove macro.
49238         * Makerules [$(versioning) = yes]: Change conditionals to
49239         [$(build-shared) = yes].
49240         * config.make.in (versioning): Remove variable.
49241         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49242         [$(build-shared) = yes].
49243         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49244         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49245         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49246         [$(build-shared) = yes].
49247         * extra-lib.mk [$(versioning) = yes]: Likewise.
49248         * hurd/Makefile [$(versioning) = yes]: Likewise.
49249         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49250         [SHARED].
49251         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49252         [SHARED].
49253         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49254         [SHARED && !NO_HIDDEN].
49255         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49256         [SHARED].
49257         [SHARED && DO_VERSIONING]: Likewise..
49258         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49259         [$(build-shared) = yes].
49260         * manual/install.texi (--disable-versioning): Remove
49261         documentation.
49262         * INSTALL: Regenerated.
49263         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49264         to [SHARED].
49265         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49266         [$(build-shared) = yes].
49267         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49268         * sysdeps/i386/i686/multiarch/strstr-c.c
49269         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49270         [SHARED && !NO_HIDDEN].
49271         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49272         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49273         * sysdeps/powerpc/powerpc32/dl-machine.c
49274         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49275         * sysdeps/powerpc/powerpc32/sysdep.h
49276         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49277         to [SHARED && PIC && !NO_HIDDEN].
49278         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49279         conditional to [SHARED].
49281 2013-09-04   Will Newton  <will.newton@linaro.org>
49283         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49284         * benchtests/bench-string.h: Include bench-timing.h instead
49285         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49286         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49287         call to HP_TIMING_DIFF_INIT.
49288         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49289         instead of hp-timing.h macros.
49290         * benchtests/bench-memchr.c: Likewise.
49291         * benchtests/bench-memcmp.c: Likewise.
49292         * benchtests/bench-memcpy.c: Likewise.
49293         * benchtests/bench-memmem.c: Likewise.
49294         * benchtests/bench-memmove.c: Likewise.
49295         * benchtests/bench-memset.c: Likewise.
49296         * benchtests/bench-rawmemchr.c: Likewise.
49297         * benchtests/bench-strcasecmp.c: Likewise.
49298         * benchtests/bench-strcasestr.c: Likewise.
49299         * benchtests/bench-strcat.c: Likewise.
49300         * benchtests/bench-strchr.c: Likewise.
49301         * benchtests/bench-strcmp.c: Likewise.
49302         * benchtests/bench-strcpy.c: Likewise.
49303         * benchtests/bench-strcpy_chk.c: Likewise.
49304         * benchtests/bench-strlen.c: Likewise.
49305         * benchtests/bench-strncasecmp.c: Likewise.
49306         * benchtests/bench-strncat.c: Likewise.
49307         * benchtests/bench-strncmp.c: Likewise.
49308         * benchtests/bench-strncpy.c: Likewise.
49309         * benchtests/bench-strnlen.c: Likewise.
49310         * benchtests/bench-strpbrk.c: Likewise.
49311         * benchtests/bench-strrchr.c: Likewise.
49312         * benchtests/bench-strspn.c: Likewise.
49313         * benchtests/bench-strstr.c: Likewise.
49315 2013-09-04  Will Newton  <will.newton@linaro.org>
49317         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49319 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49321         [BZ #15427]
49322         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49323         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49324         * math/libm-test.inc (lgamma_test_data): Add more tests.
49325         * sysdeps/i386/fpu/libm-test-ulps: Update.
49326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49328 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49330         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49332         Add ifunc.
49333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49334         Add strcmp-sse2-unaligned
49335         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49337 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49339         * Versions.def (libc): Add GLIBC_2.19.
49341 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49343         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49344         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49346 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49348         [BZ #14155]
49349         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49350         intermediate calculations in recurrence.
49351         (__ieee754_ynf): Likewise.
49352         * math/libm-test.inc (jn_test_data): Do not allow spurious
49353         underflow exception.  Add more tests.
49354         (yn_test_data): Add more tests.
49355         * sysdeps/i386/fpu/libm-test-ulps: Update.
49356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49358 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49360         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49362 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49364         * csu/init-first.c: Fix then/than typos.
49365         * locale/programs/ld-collate.c: Likewise.
49366         * locale/programs/linereader.h: Likewise.
49367         * manual/charset.texi: Likewise.
49368         * manual/filesys.texi: Likewise.
49369         * manual/stdio.texi: Likewise.
49370         * manual/string.texi: Likewise.
49371         * stdlib/fmtmsg.c: Likewise.
49372         * sysdeps/i386/stpncpy.S: Likewise.
49373         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49374         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49376         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49378 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49380         * elf/dl-open.c: Fix typos.
49381         * iconvdata/gbbig5.c: Likewise.
49382         * iconvdata/iso-2022-jp.c: Likewise.
49383         * iconv/gconv_int.h: Likewise.
49384         * iconv/loop.c: Likewise.
49385         * nis/rpcsvc/nis.h: Likewise.
49386         * resolv/ns_name.c: Likewise.
49387         * stdio-common/vfscanf.c: Likewise.
49388         * streams/stropts.h: Likewise.
49389         * sunrpc/rpc_thread.c: Likewise.
49390         * sysdeps/i386/strpbrk.S: Likewise.
49391         * sysdeps/ieee754/k_standard.c: Likewise.
49392         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49394         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49395         * sysdeps/mach/hurd/profil.c: Likewise.
49396         * sysdeps/s390/dl-procinfo.h: Likewise.
49397         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49398         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49399         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49400         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49403 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49405         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49408 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49410         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49411         aix specific files.
49412         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49414         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49415         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49416         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49417         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49418         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49419         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49421 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49422             Roland McGrath  <roland@hack.frob.com>
49424         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49425         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49427 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49429         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49430         __executable_start symbol instead of _start.
49432 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49434         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49435         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49436         Move macros to...
49437         * sysdeps/gnu/ldsodefs.h: ... this new file.
49439         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49440         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49441         instead of ELFOSABI_LINUX.
49443         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49444         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49445         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49446         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49447         Likewise.
49448         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49449         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49450         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49451         Likewise.
49452         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49453         (ibm_extended_long_double): Add ieee_nan member.
49454         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49455         (do_test): New function.
49457         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49458         TEST_TRUNC.
49459         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49460         functions, renamed from truncdfsf_test, trunctfsf_test,
49461         trunctfdf_test.
49462         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49463         functions.
49464         (do_test): Run all these.
49466 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49468         * argp/argp-help.c: Fix typos.
49469         * argp/argp-parse.c: Likewise.
49470         * debug/backtracesyms.c: Likewise.
49471         * elf/elf.h: Likewise.
49472         * malloc/malloc.c: Likewise.
49473         * nis/nis_print.c: Likewise.
49474         * resolv/res_comp.c: Likewise.
49475         * stdlib/stdlib.h: Likewise.
49476         * sunrpc/clnt_tcp.c: Likewise.
49477         * sunrpc/clnt_udp.c: Likewise.
49478         * sunrpc/clnt_unix.c: Likewise.
49479         * sysdeps/unix/bsd/ptsname.c: Likewise.
49480         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49481         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49483         Likewise.
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49485         Likewise.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49487         Likewise.
49488         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49490 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49492         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49495 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49497         [BZ #15897]
49498         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49499         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49500         ($(objpfx)bug-dl-leaf): New rule.
49501         ($(objpfx)bug-dl-leaf.so): Likewise.
49502         ($(objpfx)bug-dl-leaf.out): Likewise.
49503         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49504         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49505         * dlfcn/bug-dl-leaf.c: New test.
49506         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49507         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49508         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49509         (dlclose): Likewise.
49510         (dlmopen): Likewise.
49512 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49514         * include/netdb.h [!_ISOMAC]:
49515         Don't include <tls.h>.
49516         (h_errno, __libc_h_errno): Move declaration and macros out of
49517         [_LIBC_REENTRANT].
49519         * include/resolv.h [_RESOLV_H_]:
49520         Don't include <tls.h>.
49521         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49522         * resolv/res_libc.c: Don't include <tls.h>.
49523         (_res): Use __attribute__ ((nocommon)) in place of
49524         __attribute__ ((section (".bss"))).
49526         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49527         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49529         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49531         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49532         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49534         * resolv/res_mkquery.c: Include <sys/time.h>.
49536         * inet/ifreq.c: Moved to ...
49537         * sysdeps/unix/ifreq.c: ... here.
49538         * inet/ifreq.c: New file, true stub version.
49540         * socket/sa_len.c: New file.
49541         * socket/Makefile (aux): Add it.
49542         * sysdeps/unix/sysv/linux/Makefile
49543         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49544         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49545         and #include <socket/sa_len.c>.
49546         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49547         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49549         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49550         * bits/socket.h: ... here.
49552         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49553         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49554         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49556 2013-08-27  Andreas Schwab  <schwab@suse.de>
49558         [BZ #15736]
49559         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49560         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49561         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49562         * string/test-strcasecmp.c (test_main): Run tests in several
49563         locales.
49564         * string/test-strncasecmp.c (test_main): Likewise.
49566         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49567         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49568         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49569         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49570         (__strncasecmp_ssse3) [PIC]: Likewise.
49572 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49574         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49576         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49577         instead of explicitly declaring xdecrypt.
49578         * nis/nss_nis/nis-publickey.c: Likewise.
49580 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49582         [BZ #15890]
49583         * nscd/aicache.c: Include res_hconf.h.
49584         (addhstaiX): Initialize res_hconf.
49586 2013-08-26  Andreas Schwab  <schwab@suse.de>
49588         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49589         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49591 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49593         * nscd/aicache.c (addhstaiX): Fix indentation.
49595 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49597         * configure.ac: Quote $build_pt_chown test.
49598         * configure: Regenerated.
49600 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49602         [BZ #15532]
49603         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49604         * math/s_cexpf.c (__cexpf): Likewise.
49605         * math/s_cexpl.c (__cexpl): Likewise.
49606         * math/libm-test.inc (cexp_test_data): Correct expected return
49607         value for NaN + i0.  Add another test.
49609 2013-08-22  David S. Miller  <davem@davemloft.net>
49611         * po/ca.po: Update Catalan translation from translation project.
49612         * po/uk.po: Add Ukrainian translations from translation project.
49614 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49616         [BZ #15797]
49617         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49618         is infinite, not alongside NaN test.
49619         * math/s_fdimf.c (__fdimf): Likewise.
49620         * math/s_fdiml.c (__fdiml): Likewise.
49621         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49622         errno is unchanged.
49624 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49626         * argp/argp-help.c: Fix typos.
49627         * crypt/speeds.c: Likewise.
49628         * csu/check_fds.c: Likewise.
49629         * elf/dl-load.c: Likewise.
49630         * elf/dl-open.c: Likewise.
49631         * elf/reldep3.c: Likewise.
49632         * elf/reldep.c: Likewise.
49633         * elf/sprof.c: Likewise.
49634         * iconv/iconv_charmap.c: Likewise.
49635         * iconv/skeleton.c: Likewise.
49636         * iconv/strtab.c: Likewise.
49637         * io/lockf64.c: Likewise.
49638         * libio/libioP.h: Likewise.
49639         * resolv/gai_notify.c: Likewise.
49640         * resolv/ns_name.c: Likewise.
49641         * resolv/ns_samedomain.c: Likewise.
49642         * resolv/res_send.c: Likewise.
49643         * stdlib/random.c: Likewise.
49644         * sunrpc/rpc/xdr.h: Likewise.
49645         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49646         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49647         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49648         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49649         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49650         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49651         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49653         * sysdeps/mach/hurd/check_fds.c: Likewise.
49654         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49655         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49656         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49658         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49659         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49660         * sysdeps/pthread/aio_notify.c: Likewise.
49661         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49662         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49663         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49664         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49665         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49667 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49669         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49670         version if bit_Slow_SSE4_2 is set.
49671         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49672         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49674 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49676         [BZ #15867]
49677         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49678         trampoline stack frame information.
49679         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49680         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49681         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49682         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49683         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49684         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49685         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49686         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49687         sa_flags value.
49688         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49689         interrupting a syscall and set with option SA_SIGINFO.
49691 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49693         [BZ #15531]
49694         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49695         argument is infinite.
49696         * math/s_cprojf.c (__cprojf): Likewise.
49697         * math/s_cprojl.c (__cprojl): Likewise.
49698         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49699         * math/libm-test.inc (cproj_test_data): Add more tests.
49701         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49703         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49704         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49705         size.  Use __ffs to determine corresponding shift.
49707 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49708             Roland McGrath  <roland@hack.frob.com>
49710         * Makefile (INSTALL): Remove trailing blank lines from output of
49711         makeinfo.
49713 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49715         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49716         Align 32 bit compat elf_greg to 8 bytes.
49718 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49720         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49722 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49724         * string/strcoll_l.c (coll_seq): New structure.
49725         (get_next_seq_cached): New function.
49726         (get_next_seq): New function.
49727         (do_compare): New function.
49728         (STRCOLL): Use GNU style definition.  Simplify implementation
49729         by using get_next_seq, get_next_seq_cached and do_compare.
49731 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49733         [BZ #14699]
49734         CVE-2013-4237
49735         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49736         member.
49737         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49738         member.
49739         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49740         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49741         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49742         conditional.
49743         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49744         GETDENTS_64BIT_ALIGNED.
49745         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49746         * manual/filesys.texi (Reading/Closing Directory): Document
49747         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49748         strongly.
49749         * manual/conf.texi (Limits for Files): Add portability note to
49750         NAME_MAX, PATH_MAX.
49751         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49753 2013-08-13  Andreas Schwab  <schwab@suse.de>
49755         [BZ #15749]
49756         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49757         of fabs.
49758         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49759         LDBL_MAX_EXP >= 16384]: Add tests for it.
49761 2013-08-12  David S. Miller  <davem@davemloft.net>
49763         * version.h (RELEASE): Set to "development".
49764         (VERSION): Set to "2.18.90".
49765         * NEWS: Add 2.19 section.
49767 2013-08-03  David S. Miller  <davem@davemloft.net>
49769         * po/ko.po: Update Korean translation from translation project.
49771 2013-08-01  David S. Miller  <davem@davemloft.net>
49773         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49774         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49775         Bilka.
49777 2013-07-30  David S. Miller  <davem@davemloft.net>
49779         * po/fr.po: Update French translation from translation project.
49781 2013-07-28  David S. Miller  <davem@davemloft.net>
49783         * po/cs.po: Update Czech translation from translation project.
49785         * po/sv.po: Update Swedish translation from translation project.
49787 2013-07-27  David S. Miller  <davem@davemloft.net>
49789         * po/eo.po: Update Esperanto translation from translation project.
49791         * po/vi.po: Update Vietnamese translation from translation project.
49793         * po/de.po: Update German translation from translation project.
49795 2013-07-26  David S. Miller  <davem@davemloft.net>
49797         * po/bg.po: Update Bulgarian translation from translation project.
49799         * po/nl.po: Update Dutch translation from translation project.
49800         * po/pl.po: Update Polish translation from translation project.
49801         * po/ru.po: Update Russian translation from translation project.
49803 2013-07-24  David S. Miller  <davem@davemloft.net>
49805         * po/libc.pot: Update.
49807 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49809         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49810         variable page size.
49811         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49812         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49813         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49815 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49817         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49819 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49820             Andreas Schwab  <schwab@suse.de>
49821             Roland McGrath  <roland@hack.frob.com>
49822             Joseph Myers  <joseph@codesourcery.com>
49823             Carlos O'Donell  <carlos@redhat.com>
49825         [BZ #15755]
49826         * config.h.in: Define HAVE_PT_CHOWN.
49827         * config.make.in (build-pt-chown): New variable.
49828         * configure.in (--enable-pt_chown): New configure option.
49829         * configure: Regenerate.
49830         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49831         build-pt-chown is enabled.
49832         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49833         pt_chown to fix pty ownership.
49834         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49835         CLOSE_ALL_FDS.
49836         * manual/install.texi (Configuring and compiling): Mention
49837         --enable-pt_chown. Add @findex for grantpt.
49838         * INSTALL: Regenerate.
49840 2013-07-20  David S. Miller  <davem@davemloft.net>
49842         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49843         difference between 32-bit and 64-bit.
49845 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49847         [BZ #15711]
49848         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49849         Avoid system header dependency with -ffreestanding.
49850         ($(objpfx)bits/syscall%d): Likewise.
49852 2013-07-13  David S. Miller  <davem@davemloft.net>
49854         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49855         underflows from atanl/atan2l due to bug 15319.
49856         (casinh_test_data): Likewise.
49858 2013-07-07  David S. Miller  <davem@davemloft.net>
49860         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49862 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49864         * sysdeps/i386/fpu/libm-test-ulps: Update.
49865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49867 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49869         * configure.in (--enable-lock-elision): Fix message text.
49870         * INSTALL: Regenerate.
49871         * configure: Regenerate.
49873 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49877 2013-07-03  Andreas Jaeger  <aj@suse.de>
49879         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49880         define.
49881         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49882         (ptrace_peeksiginfo_args): Add.
49883         (__ptrace_peeksiginfo_flags): Add.
49884         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49885         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49886         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49888 2013-07-03  Allan McRae  <allan@archlinux.org>
49890         * sysdeps/i386/fpu/libm-test-ulps: Update.
49892 2013-07-02  David S. Miller  <davem@davemloft.net>
49894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49896 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49900 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49902         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49905 2013-07-02  Andi Kleen <ak@linux.intel.com>
49907         * config.h.in (ENABLE_LOCK_ELISION): Add.
49908         * configure.in (--enable-lock-elision): Add option.
49909         * manual/install.texi: Document --enable lock elision.
49910         * configure: Regenerate
49911         * INSTALL: Regenerate.
49913 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49915         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49916         SSE4.2 strcasecmp for libc.a.
49917         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49919 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49921         [BZ #13304]
49922         * soft-fp/op-common.h (_FP_FMA): New macro.
49923         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49924         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49925         (_FP_MUL_MEAT_1_imm): ... here.
49926         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49927         (_FP_MUL_MEAT_1_wide): ... here.
49928         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49929         (_FP_MUL_MEAT_1_hard): ... here.
49930         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49931         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49932         (_FP_MUL_MEAT_2_wide): ... here.
49933         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49934         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49935         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49936         (_FP_MUL_MEAT_2_gmp): ... here.
49937         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49938         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49939         (_FP_MUL_MEAT_4_wide): ... here.
49940         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49941         (_FP_MUL_MEAT_4_gmp): ... here.
49942         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49943         (_FP_WFRACBITS_DW_S): Likewise.
49944         (_FP_WFRACXBITS_DW_S): Likewise.
49945         (_FP_HIGHBIT_DW_S): Likewise.
49946         (FP_FMA_S): Likewise.
49947         (_FP_FRAC_HIGH_DW_S): Likewise.
49948         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49949         (_FP_WFRACBITS_DW_D): Likewise.
49950         (_FP_WFRACXBITS_DW_D): Likewise.
49951         (_FP_HIGHBIT_DW_D): Likewise.
49952         (FP_FMA_D): Likewise.
49953         (_FP_FRAC_HIGH_DW_D): Likewise.
49954         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49955         (_FP_WFRACBITS_DW_E): Likewise.
49956         (_FP_WFRACXBITS_DW_E): Likewise.
49957         (_FP_HIGHBIT_DW_E): Likewise.
49958         (FP_FMA_E): Likewise.
49959         (_FP_FRAC_HIGH_DW_E): Likewise.
49960         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49961         (_FP_WFRACBITS_DW_Q): Likewise.
49962         (_FP_WFRACXBITS_DW_Q): Likewise.
49963         (_FP_HIGHBIT_DW_Q): Likewise.
49964         (FP_FMA_Q): Likewise.
49965         (_FP_FRAC_HIGH_DW_Q): Likewise.
49966         * soft-fp/fmasf4.c: New file.
49967         * soft-fp/fmadf4.c: Likewise.
49968         * soft-fp/fmatf4.c: Likewise.
49970 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49973         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49974         Silvermont.
49975         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49976         macro.
49977         (index_Slow_SSE4_2): Likewise.
49978         (index_Prefer_PMINUB_for_stringop): Likewise.
49979         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49980         bit_Slow_SSE4_2 is set.
49981         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49982         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49984 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49986         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49987         rtld_global._dl_hwcap2.
49988         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49989         POWER8.
49990         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49991         POWER8 feature descriptions defined in _dl_hwcap2.
49992         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49993         string handling for POWER8 feature bits.
49994         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49995         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49996         _dl_powerpc_cap_flags.
49997         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49998         * sysdeps/powerpc/rtld-global-offsets.sym
49999         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50000         _dl_hwcap2 in the rtld_global_ro structure.
50002 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50004         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50005         hardware capabilities in support of AT_HWCAP2.
50006         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50007         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50008         GLRO(dl_hwcap2).
50009         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50010         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50011         explicitly the unknown a_type display mechanism is used.
50012         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50013         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50014         struct member.
50015         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50016         to macro prototype for AT_HWCAP2 support.
50017         * sysdeps/i386/dl-procinfo.h: Likewise.
50018         * sysdeps/s390/dl-procinfo.h: Likewise.
50019         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50020         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50021         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50022         return -1 for unknown a_type display fallback.
50023         * sysdeps/sparc/dl-procinfo.h: Likewise.
50024         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50025         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50027 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50029         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50030         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50032 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50034         [BZ #12492]
50035         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50036         mprotect making __stack_prot writable.
50038 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50039             Joseph Myers  <joseph@codesourcery.com>
50041         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50042         as being properly aligned.
50044 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50046         * dlfcn/modstatic5.c: New file.
50047         * dlfcn/tststatic5.c: New file.
50048         * dlfcn/Makefile (tests): Add tststatic5.
50049         (tests-static): Likewise.
50050         (modules-names): Add modstatic5.
50051         (tststatic5-ENV): New variable.
50052         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50054         [BZ #15022]
50055         * elf/dl-support.c (_dl_main_map): New variable.
50056         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50057         (_dl_nns, _dl_load_adds): Set to 1.
50058         (_dl_initial_searchlist): Refer to _dl_main_map.
50059         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50060         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50061         call to _dl_get_origin.
50062         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50063         around call_map.
50064         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50065         * dlfcn/modstatic3.c: New file.
50066         * dlfcn/tststatic3.c: New file.
50067         * dlfcn/tststatic4.c: New file.
50068         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50069         (tests-static): Likewise.
50070         (modules-names): Add modstatic3.
50071         (tststatic3-ENV, tststatic4-ENV): New variables.
50072         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50073         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50075 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50077         * configure.in (CC): Require GCC version 4.4 or later.
50078         * configure: Regenerated.
50079         * manual/install.texi (Tools for Compilation): Update GCC version
50080         requirement.
50081         * INSTALL: Regenerated.
50083 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50085         [BZ #15674]
50086         * string/test-memcmp.c (check2): New.
50087         (main): Call check2.
50089         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50091 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50093         [BZ #15022]
50094         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50095         over to...
50096         (dl_open_worker) [!SHARED]: ... here.
50098 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50100         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50102 2013-06-25  Richard Henderson  <rth@redhat.com>
50104         * locale/programs/locarchive.c: Include <libc-internal.h>
50106 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50108         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50109         trailing whitespace removed.
50111 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50113         [BZ #10283]
50114         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50115         * locale/programs/locarchive.c: Include libc-mmap.h.
50116         (prepare_address_space): Take two new outputs (the mmap base and len).
50117         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50118         values.
50119         (create_archive): Declare new mmap base and len values for
50120         prepare_address_space, and store the result in ah.
50121         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50122         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50123         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50124         Declare new mmap base and len values for
50125         prepare_address_space, and store the result in new_ah.
50126         (open_archive): Declare new mmap base and len values for
50127         prepare_address_space, and store the result in ah.
50128         (close_archive): If ah->mmap_base is not NULL, use that and
50129         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50130         * sysdeps/generic/libc-mmap.h: New file.
50132 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50134         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50135         (ALIGN_UP): Likewise.
50136         (PTR_ALIGN_DOWN): Likewise.
50137         (PTR_ALIGN_UP): Likewise.
50139 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50141         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50142         entry mapped to PPC_PLATFORM_POWER8.
50143         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50144         POWER8.
50145         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50146         (_dl_string_platform): Add case for exporting platform position for
50147         POWER8.
50148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50149         search path to sysdeps/powerpc/powerpc32/power8 directory.
50150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50151         search path to sysdeps/powerpc/powerpc64/power8 directory.
50152         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50153         power7 directories.
50154         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50155         power7 directories.
50157 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * INSTALL: Regenerate.
50161         * nscd/connections.c (nscd_init): Fix comment.
50163 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50165         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50167         [BZ #15667]
50168         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50169         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50171 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50173         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50174         DL_DST_REQ_STATIC.
50175         (DL_DST_REQ_STATIC): Remove macro.
50177 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50179         [BZ #7006]
50180         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50181         with a shift of 0 bits.
50183 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50185         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50186         $(tststatic-ENV).
50188 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50190         [BZ #15655]
50191         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50193 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50195         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50196         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50197         accepts -fno-tree-loop-distribute-patterns.
50198         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50199         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50200         recursive call.
50201         * string/memset.c (memset): Likewise.
50202         * string/test-memmove.c (simple_memmove): Disable loop transformation
50203         to library calls.
50204         * string/test-memset.c (simple_memset): Likewise.
50205         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50206         * benchtests/bench-memset.c (simple_memset): Likewise.
50207         * configure: Regenerated.
50209 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50211         * math/test-misc.c (main): Ignore fesetround failure when failures
50212         of subsequent rounding tests would be ignored.
50214         [BZ #15654]
50215         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50216         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50217         * math/fegetenv.c (__fegetenv): Return 0.
50218         * math/fegetexcept.c (fegetexcept): Return 0.
50219         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50220         FE_TONEAREST.
50221         * math/feholdexcpt.c (feholdexcept): Return 0.
50222         * math/fesetenv.c (__fesetenv): Return 0.
50223         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50224         argument FE_TONEAREST.
50225         * math/feupdateenv.c (__feupdateenv): Return 0.
50226         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50228 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50230         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50231         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50232         ($(objpfx)rtld-%.os rules): Use them.
50234 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50236         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50237         fields.
50239 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50241         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50242         length of target pattern, then descending length of dependency pattern.
50243         * configure.in (AWK): Require gawk 3.1.2 or newer.
50244         * manual/install.texi (Tools for Compilation): Say that we do.
50245         * configure: Regenerated.
50247         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50248         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50249         * scripts/sysd-rules.awk: ... this new script.
50250         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50251         than a glob-style pattern.
50253 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50255         * math/test-misc.c (main): Do not treat incorrectly rounded
50256         conversions as failure unless ROUNDING_TESTS passes.
50258 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50260         [BZ #15631]
50261         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50262         restore exception state around main square root computation, then
50263         check for inexactness explicitly.
50265         * math/libm-test.inc (fma_test_data): Add another test.
50267 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50269         * manual/threads.texi (Non-POSIX Extensions): New document
50270         node.  Document pthread_getattr_default_np and
50271         pthread_setattr_default_np.
50273         * Versions.def (libpthread): Add GLIBC_2.18.
50274         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50276         Likewise.
50277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50278         Likewise.
50279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50280         Likewise.
50281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50282         Likewise.
50283         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50284         Likewise.
50285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50286         Likewise.
50287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50288         Likewise.
50289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50290         Likewise.
50291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50292         Likewise.
50294 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50297         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50299 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50300             H.J. Lu  <hjl.tools@gmail.com>
50302         [BZ #15627]
50303         * sysdeps/x86_64/rtld-memset.c: Remove file.
50304         * sysdeps/x86_64/rtld-memset.S: New file.
50306 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50308         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50309         (test_in_one_mode): Take arguments for whether the rounding mode
50310         is supported for each floating-point type.
50311         (do_test): Pass new arguments to test_in_one_mode using
50312         ROUNDING_TESTS.
50314 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50316         * posix/tst-waitid.c (do_test): Distinguish different instances of
50317         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50318         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50319         before entering the kernel for waitpid.
50321 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50323         * NEWS: Fix note on clock function precision.  Text by Roland
50324         McGrath.
50326 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50328         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50329         it into place only when and if the sanity check passes.
50331 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50333         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50334         output for whether conversion result is exact.  Take argument
50335         indicating whether type is IBM long double.
50336         (round_for_all): Change need_exact field to ibm_ld.
50337         * stdlib/tst-strtod-round.c (struct exactness): New type.
50338         (struct test): Change bool ld_ok field to struct exactness exact.
50339         (TEST): Update all definitions for change to field.
50340         (tests): Regenerate array contents.
50341         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50342         field value.  Check for IBM long double here.
50343         (do_test): Update calls to test_in_one_mode.
50345 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50347         [BZ #12515]
50348         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50349         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50351 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50353         [BZ #15605]
50354         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50355         generated by the compiler on loop optimizations.
50356         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50357         general definitions.
50359 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50361         * math/bug-nextafter.c: Include <math-tests.h>.
50362         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50363         the relevant type.
50364         * math/bug-nexttoward.c: Include <math-tests.h>.
50365         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50366         the relevant type.
50367         * math/test-misc.c: Include <math-tests.h>.
50368         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50369         the relevant type.
50371 2013-06-12  Andreas Jaeger  <aj@suse.de>
50373         * po/ia.po: Update Interlingua translation from translation
50374         project.
50376 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50378         * include/fenv.h: Include stdbool.h.
50379         (struct rm_ctx): New structure.
50380         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50381         Define macro.
50382         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50383         (SET_RESTORE_ROUNDF): Likewise.
50384         (SET_RESTORE_ROUNDL): Likewise.
50385         (SET_RESTORE_ROUND_NOEX): Likewise.
50386         (SET_RESTORE_ROUND_NOEXF): Likewise.
50387         (SET_RESTORE_ROUND_NOEXL): Likewise.
50388         (SET_RESTORE_ROUND_53BIT): Likewise.
50389         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50390         (libc_feresetround_noexf_ctx): Likewise.
50391         (libc_feresetround_noexl_ctx): Likewise.
50392         (libc_feholdsetround_53bit_ctx): Likewise.
50393         (libc_feresetround_53bit_ctx): Likewise.
50394         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50395         (libc_feholdexcept_setround_sse_ctx): New function.
50396         (libc_fesetenv_sse_ctx): Likewise.
50397         (libc_feupdateenv_sse_ctx): Likewise.
50398         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50399         (libc_feholdexcept_setround_387_ctx): Likewise.
50400         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50401         (libc_feholdsetround_387_prec_ctx): Likewise.
50402         (libc_feholdsetround_387_ctx): Likewise.
50403         (libc_feholdsetround_387_53bit_ctx): Likewise.
50404         (libc_feholdsetround_sse_ctx): Likewise.
50405         (libc_feresetround_sse_ctx): Likewise.
50406         (libc_feresetround_387_ctx): Likewise.
50407         (libc_feupdateenv_387_ctx): Likewise.
50408         (libc_feholdexcept_setroundf_ctx): Define macro.
50409         (libc_fesetenvf_ctx): Likewise.
50410         (libc_feupdateenvf_ctx): Likewise.
50411         (libc_feholdsetroundf_ctx): Likewise.
50412         (libc_feresetroundf_ctx): Likewise.
50413         (libc_feholdexcept_setround_ctx): Likewise.
50414         (libc_fesetenv_ctx): Likewise.
50415         (libc_feupdateenv_ctx): Likewise.
50416         (libc_feholdsetround_ctx): Likewise.
50417         (libc_feresetround_ctx): Likewise.
50418         (libc_feholdexcept_setroundl_ctx): Likewise.
50419         (libc_feupdateenvl_ctx): Likewise.
50420         (libc_feholdsetroundl_ctx): Likewise.
50421         (libc_feresetroundl_ctx): Likewise.
50422         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50423         (libc_feresetround_53bit_ctx): Likewise.
50425 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50427         * locale/iso-639.def: Convert to UTF-8.
50429 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50431         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50432         (EXCEPTION_TESTS_double): Likewise.
50433         (EXCEPTION_TESTS_long_double): Likewise.
50434         (EXCEPTION_TESTS): Likewise.
50435         * math/libm-test.inc (test_exceptions): Only test exceptions if
50436         EXCEPTION_TESTS (FLOAT).
50438 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50440         * benchtests/Makefile (string-bench): Add strcpy_chk and
50441         stpcpy_chk.
50442         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50443         * benchtests/bench-stpcpy_chk.c: New file.
50444         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50445         * benchtests/bench-strcpy_chk.c: New file.
50446         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50447         code.
50448         (do_test): Likewise.
50450 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50452         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50453         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50454         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50455         with tabs where appropriate.
50456         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50457         dl-procinfo.h.
50458         [PPC_PLATFORM_PPC440]: Likewise.
50459         [PPC_PLATFORM_PPC464]: Likewise.
50460         [PPC_PLATFORM_PPC476]: Likewise.
50461         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50462         ppc464, and ppc476 platform strings merging from ports/
50463         dl-procinfo.h.
50465 2013-06-11  Andreas Schwab  <schwab@suse.de>
50467         [BZ #14991]
50468         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50469         (from_ucs4_idx): Regenerate.
50470         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50471         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50472         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50473         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50474         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50475         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50476         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50477         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50478         from FROM_LOOP and TO_LOOP specific macros.
50479         (BODY): Handle combining characters.
50480         * iconvdata/BIG5HKSCS.irreversible: Update.
50481         * iconvdata/BIG5HKSCS.precomposed: New file.
50482         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50483         characters.
50484         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50486 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50488         * include/sys/time.h: Fix indentation and add copyright header.
50490         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50491         (do_test): Likewise.
50492         * string/test-memchr.c (do_one_test): Likewise.
50493         (do_test): Likewise.
50494         * string/test-memcmp.c (do_one_test): Likewise.
50495         (do_test): Likewise.
50496         * string/test-memcpy.c (do_one_test): Likewise.
50497         (do_test): Likewise.
50498         * string/test-memmem.c (do_one_test): Likewise.
50499         (do_test): Likewise.
50500         (do_random_tests): Likewise.
50501         * string/test-memmove.c (do_one_test): Likewise.
50502         (do_test): Likewise.
50503         * string/test-memset.c (do_one_test): Likewise.
50504         (do_test): Likewise.
50505         * string/test-rawmemchr.c (do_one_test): Likewise.
50506         (do_test): Likewise.
50507         * string/test-strcasecmp.c (do_one_test): Likewise.
50508         (do_test): Likewise.
50509         * string/test-strcasestr.c (do_one_test): Likewise.
50510         (do_test): Likewise.
50511         * string/test-strcat.c (do_one_test): Likewise.
50512         (do_test): Likewise.
50513         * string/test-strchr.c (do_one_test): Likewise.
50514         (do_test): Likewise.
50515         * string/test-strcmp.c (do_one_test): Likewise.
50516         (do_test): Likewise.
50517         * string/test-strcpy.c (do_one_test): Likewise.
50518         (do_test): Likewise.
50519         * string/test-string.h: Likewise.
50520         (test_init): Likewise.
50521         * string/test-strlen.c (do_one_test): Likewise.
50522         (do_test): Likewise.
50523         * string/test-strncasecmp.c (do_one_test): Likewise.
50524         (do_test): Likewise.
50525         * string/test-strncat.c (do_one_test): Likewise.
50526         (do_test): Likewise.
50527         * string/test-strncmp.c (do_one_test): Likewise.
50528         (do_test_limit): Likewise.
50529         (do_test): Likewise.
50530         * string/test-strncpy.c (do_one_test): Likewise.
50531         (do_test): Likewise.
50532         * string/test-strnlen.c (do_one_test): Likewise.
50533         (do_test): Likewise.
50534         * string/test-strpbrk.c (do_one_test): Likewise.
50535         (do_test): Likewise.
50536         * string/test-strrchr.c (do_one_test): Likewise.
50537         (do_test): Likewise.
50538         * string/test-strspn.c (do_one_test): Likewise.
50539         (do_test): Likewise.
50540         * string/test-strstr.c (do_one_test): Likewise.
50541         (do_test): Likewise.
50543         * benchtests/Makefile (string-bench): Add string benchmarks.
50544         * benchtests/bench-bcopy-ifunc.c: New file.
50545         * benchtests/bench-bcopy.c: New file.
50546         * benchtests/bench-bzero-ifunc.c: New file.
50547         * benchtests/bench-bzero.c: New file.
50548         * benchtests/bench-memccpy-ifunc.c: New file.
50549         * benchtests/bench-memccpy.c: New file.
50550         * benchtests/bench-memchr-ifunc.c: New file.
50551         * benchtests/bench-memchr.c: New file.
50552         * benchtests/bench-memcmp-ifunc.c: New file.
50553         * benchtests/bench-memcmp.c: New file.
50554         * benchtests/bench-memmem-ifunc.c: New file.
50555         * benchtests/bench-memmem.c: New file.
50556         * benchtests/bench-memmove-ifunc.c: New file.
50557         * benchtests/bench-memmove.c: New file.
50558         * benchtests/bench-mempcpy-ifunc.c: New file.
50559         * benchtests/bench-mempcpy.c: New file.
50560         * benchtests/bench-memset-ifunc.c: New file.
50561         * benchtests/bench-memset.c: New file.
50562         * benchtests/bench-rawmemchr-ifunc.c: New file.
50563         * benchtests/bench-rawmemchr.c: New file.
50564         * benchtests/bench-stpcpy-ifunc.c: New file.
50565         * benchtests/bench-stpcpy.c: New file.
50566         * benchtests/bench-stpncpy-ifunc.c: New file.
50567         * benchtests/bench-stpncpy.c: New file.
50568         * benchtests/bench-strcasecmp-ifunc.c: New file.
50569         * benchtests/bench-strcasecmp.c: New file.
50570         * benchtests/bench-strcasestr-ifunc.c: New file.
50571         * benchtests/bench-strcasestr.c: New file.
50572         * benchtests/bench-strcat-ifunc.c: New file.
50573         * benchtests/bench-strcat.c: New file.
50574         * benchtests/bench-strchr-ifunc.c: New file.
50575         * benchtests/bench-strchr.c: New file.
50576         * benchtests/bench-strchrnul-ifunc.c: New file.
50577         * benchtests/bench-strchrnul.c: New file.
50578         * benchtests/bench-strcmp-ifunc.c: New file.
50579         * benchtests/bench-strcmp.c: New file.
50580         * benchtests/bench-strcpy-ifunc.c: New file.
50581         * benchtests/bench-strcpy.c: New file.
50582         * benchtests/bench-strcspn-ifunc.c: New file.
50583         * benchtests/bench-strcspn.c: New file.
50584         * benchtests/bench-strlen-ifunc.c: New file.
50585         * benchtests/bench-strlen.c: New file.
50586         * benchtests/bench-strncasecmp-ifunc.c: New file.
50587         * benchtests/bench-strncasecmp.c: New file.
50588         * benchtests/bench-strncat-ifunc.c: New file.
50589         * benchtests/bench-strncat.c: New file.
50590         * benchtests/bench-strncmp-ifunc.c: New file.
50591         * benchtests/bench-strncmp.c: New file.
50592         * benchtests/bench-strncpy-ifunc.c: New file.
50593         * benchtests/bench-strncpy.c: New file.
50594         * benchtests/bench-strnlen-ifunc.c: New file.
50595         * benchtests/bench-strnlen.c: New file.
50596         * benchtests/bench-strpbrk-ifunc.c: New file.
50597         * benchtests/bench-strpbrk.c: New file.
50598         * benchtests/bench-strrchr-ifunc.c: New file.
50599         * benchtests/bench-strrchr.c: New file.
50600         * benchtests/bench-strspn-ifunc.c: New file.
50601         * benchtests/bench-strspn.c: New file.
50602         * benchtests/bench-strstr-ifunc.c: New file.
50603         * benchtests/bench-strstr.c: New file.
50605         * benchtests/Makefile: Disable parallel execution of targets.
50606         (string-bench): Add memcpy.
50607         (benchset): New variable to store a list of benchmark sets.
50608         (bench-func): Renamed from bench.
50609         (bench-set): New target.
50610         (bench): Depend on bench-func and bench-set.
50611         * benchtests/README: Add section on benchmark sets.
50612         * benchtests/bench-memcpy-ifunc.c: New file.
50613         * benchtests/bench-memcpy.c: New file.
50614         * benchtests/bench-string.h: New file.
50616 2013-06-11  Andreas Schwab  <schwab@suse.de>
50618         [BZ #15577]
50619         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50620         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50621         values in the triple.
50622         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50623         terminator in the group key.
50625 2013-06-11  Andreas Jaeger  <aj@suse.de>
50627         * po/zh_TW.po: Update Chinese (traditional) translation from
50628         translation project.
50630 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50632         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50633         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50634         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50636         (clock_getcpuclockid): Likewise.
50637         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50638         Add weak_alias and libc_hidden_def.
50639         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50640         * rt/clock_gettime.c (clock_gettime): Rename to
50641         __clock_gettime.  Add weak_alias and libc_hidden_def.
50642         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50643         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50644         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50645         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50646         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50647         Likewise.
50648         * rt/clock_settime.c (clock_settime): Rename to
50649         __clock_settime.  Add weak_alias and libc_hidden_def.
50650         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50652 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50654         * mach/err_boot.sub: Remove trailing whitespace.
50655         * mach/err_ipc.sub: Likewise.
50656         * mach/err_mach.sub: Likewise.
50658         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50659         (ROUNDING_TESTS_double): Likewise.
50660         (ROUNDING_TESTS_long_double): Likewise.
50661         (ROUNDING_TESTS): Likewise.
50662         * math/libm-test.inc: Include <math-tests.h>.
50663         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50664         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50665         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50666         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50668 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50670         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50671         of assigning.
50673 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50675         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50676         otherwise empty TRANS lines.
50677         * sysdeps/gnu/errlist.c: Regenerated.
50679         * catgets/gencat.c (error_print): Use (void) in function
50680         definition.
50681         * crypt/crypt_util.c (__init_des): Likewise.
50682         * crypt/speeds.c (Stop): Likewise.
50683         (main): Likewise.
50684         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50685         * inet/ruserpass.c (token): Likewise.
50686         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50687         * intl/localealias.c (extend_alias_table): Likewise.
50688         * intl/plural-exp.c (init_germanic_plural): Likewise.
50689         * libio/fcloseall.c (__fcloseall): Likewise.
50690         * libio/genops.c (_IO_flush_all): Likewise.
50691         (_IO_flush_all_linebuffered): Likewise.
50692         (_IO_cleanup): Likewise.
50693         (_IO_iter_begin): Likewise.
50694         (_IO_iter_end): Likewise.
50695         (_IO_list_lock): Likewise.
50696         (_IO_list_unlock): Likewise.
50697         (_IO_list_resetlock): Likewise.
50698         * libio/getchar.c (getchar): Likewise.
50699         * libio/getchar_u.c (getchar_unlocked): Likewise.
50700         * libio/getwchar.c (getwchar): Likewise.
50701         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50702         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50703         * login/getpt.c (__getpt): Likewise.
50704         * login/tst-utmp.c (main): Likewise.
50705         * malloc/hooks.c (__malloc_check_init): Likewise.
50706         * malloc/malloc.c (__malloc_stats): Likewise.
50707         * malloc/mtrace.c (tr_break): Likewise.
50708         (mtrace): Likewise.
50709         (muntrace): Likewise.
50710         * misc/fstab.c (endfsent): Likewise.
50711         * misc/getclktck.c (__getclktck): Likewise.
50712         * misc/getdtsz.c (__getdtablesize): Likewise.
50713         * misc/gethostid.c (gethostid): Likewise.
50714         * misc/getpagesize.c (__getpagesize): Likewise.
50715         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50716         (__get_nprocs): Likewise.
50717         (__get_phys_pages): Likewise.
50718         (__get_avphys_pages): Likewise.
50719         * misc/getttyent.c (getttyent): Likewise.
50720         (setttyent): Likewise.
50721         (endttyent): Likewise.
50722         * misc/getusershell.c (getusershell): Likewise.
50723         (endusershell): Likewise.
50724         (setusershell): Likewise.
50725         (initshells): Likewise.
50726         * misc/hsearch.c (__hdestroy): Likewise.
50727         * misc/sync.c (sync): Likewise.
50728         * misc/syslog.c (closelog_internal): Likewise.
50729         (closelog): Likewise.
50730         * misc/ttyslot.c (ttyslot): Likewise.
50731         * misc/vhangup.c (vhangup): Likewise.
50732         * posix/fork.c (__fork): Likewise.
50733         * posix/getegid.c (__getegid): Likewise.
50734         * posix/geteuid.c (__geteuid): Likewise.
50735         * posix/getgid.c (__getgid): Likewise.
50736         * posix/getpid.c (__getpid): Likewise.
50737         * posix/getppid.c (__getppid): Likewise.
50738         * posix/getuid.c (__getuid): Likewise.
50739         * posix/pause.c (pause): Likewise.
50740         * posix/setpgrp.c (setpgrp): Likewise.
50741         * posix/setsid.c (__setsid): Likewise.
50742         * posix/test-vfork.c (noop): Likewise.
50743         * resolv/gethnamaddr.c (_endhtent): Likewise.
50744         (_gethtent): Likewise.
50745         (ht_endhostent): Likewise.
50746         (gethostent): Likewise.
50747         (dns_service): Likewise.
50748         * stdlib/drand48.c (drand48): Likewise.
50749         * stdlib/lrand48.c (lrand48): Likewise.
50750         * stdlib/mrand48.c (mrand48): Likewise.
50751         * stdlib/rand.c (rand): Likewise.
50752         * stdlib/random.c (__random): Likewise.
50753         * stdlib/setenv.c (clearenv): Likewise.
50754         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50755         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50756         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50757         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50758         (__get_nprocs): Likewise.
50759         (__get_phys_pages): Likewise.
50760         (__get_avphys_pages): Likewise.
50761         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50762         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50763         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50764         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50765         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50766         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50767         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50768         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50769         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50770         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50771         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50772         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50773         * sysdeps/posix/clock.c (clock): Likewise.
50774         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50775         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50776         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50777         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50778         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50780         (__get_nprocs_conf): Likewise.
50781         (__get_phys_pages): Likewise.
50782         (__get_avphys_pages): Likewise.
50783         * time/clock.c (clock): Likewise.
50784         * time/tzset.c (__tzname_max): Likewise.
50786 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50788         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50789         (__bswap_32): Do not use "register".
50790         * crypt/crypt.c (_ufc_doit_r): Likewise.
50791         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50792         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50793         * gmon/gmon.c (__monstartup): Likewise.
50794         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50795         * hurd/hurdmalloc.c (more_memory): Likewise.
50796         (malloc): Likewise.
50797         (free): Likewise.
50798         (realloc): Likewise.
50799         (malloc_fork_prepare): Likewise.
50800         (malloc_fork_parent): Likewise.
50801         (malloc_fork_child): Likewise.
50802         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50803         (_svcauth_des): Likewise.
50804         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50805         * inet/inet_net.c (inet_network): Likewise.
50806         * inet/inet_netof.c (inet_netof): Likewise.
50807         * inet/rcmd.c (__validuser2_sa): Likewise.
50808         * io/fts.c (fts_open): Likewise.
50809         (fts_load): Likewise.
50810         (fts_close): Likewise.
50811         (fts_read): Likewise.
50812         (fts_children): Likewise.
50813         (fts_build): Likewise.
50814         (fts_stat): Likewise.
50815         (fts_sort): Likewise.
50816         (fts_alloc): Likewise.
50817         (fts_lfree): Likewise.
50818         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50819         (_IO_file_xsgetn): Likewise.
50820         (_IO_file_xsgetn_mmap): Likewise.
50821         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50822         (_IO_cookie_write): Likewise.
50823         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50824         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50825         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50826         * malloc/obstack.c (_obstack_begin): Likewise.
50827         (_obstack_begin_1): Likewise.
50828         (_obstack_newchunk): Likewise.
50829         (_obstack_allocated_p): Likewise.
50830         (obstack_free): Likewise.
50831         (_obstack_memory_used): Likewise.
50832         * misc/getttyent.c (getttynam): Likewise.
50833         (getttyent): Likewise.
50834         (skip): Likewise.
50835         (value): Likewise.
50836         * misc/getusershell.c (initshells): Likewise.
50837         * misc/syslog.c (__vsyslog_chk): Likewise.
50838         * misc/ttyslot.c (ttyslot): Likewise.
50839         * nis/nis_hash.c (__nis_hash): Likewise.
50840         * posix/fnmatch_loop.c (FCT): Likewise.
50841         * posix/getconf.c (print_all): Likewise.
50842         (main): Likewise.
50843         * posix/getopt.c (exchange): Likewise.
50844         * posix/glob.c (globfree): Likewise.
50845         (prefix_array): Likewise.
50846         (__glob_pattern_type): Likewise.
50847         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50848         (NS_GET32): Likewise.
50849         (NS_PUT16): Likewise.
50850         (NS_PUT32): Likewise.
50851         * resolv/gethnamaddr.c (getanswer): Likewise.
50852         (gethostbyname2): Likewise.
50853         (gethostbyaddr): Likewise.
50854         (_gethtent): Likewise.
50855         (_gethtbyname2): Likewise.
50856         (_gethtbyaddr): Likewise.
50857         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50858         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50859         * resolv/res_init.c (__res_vinit): Likewise.
50860         (net_mask): Likewise.
50861         * resolv/res_mkquery.c (outchar): Likewise.
50862         (PRINT): Likewise.
50863         * stdio-common/printf_fp.c (outchar): Likewise.
50864         (PRINT): Likewise.
50865         * stdio-common/printf_fphex.c (outchar): Likewise.
50866         (PRINT): Likewise.
50867         * stdio-common/printf_size.c (outchar): Likewise.
50868         (PRINT): Likewise.
50869         * stdio-common/test_rdwr.c (main): Likewise.
50870         * stdio-common/tfformat.c (matches): Likewise.
50871         * stdio-common/vfprintf.c (outchar): Likewise.
50872         (printf_unknown): Likewise.
50873         (buffered_vfprintf): Likewise.
50874         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50875         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50876         (ReadFile): Likewise.
50877         * stdlib/qsort.c (SWAP): Likewise.
50878         (_quicksort): Likewise.
50879         * stdlib/setenv.c (__add_to_environ): Likewise.
50880         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50881         * stdlib/strtol_l.c (__strtol_l): Likewise.
50882         * stdlib/tst-strtod.c (main): Likewise.
50883         * stdlib/tst-strtol.c (main): Likewise.
50884         * stdlib/tst-strtoll.c (main): Likewise.
50885         * string/bits/string2.h (__strcmp_cc): Likewise.
50886         (__strcmp_cg): Likewise.
50887         (__strcspn_c1): Likewise.
50888         (__strcspn_c2): Likewise.
50889         (__strcspn_c3): Likewise.
50890         (__strspn_c1): Likewise.
50891         (__strspn_c2): Likewise.
50892         (__strspn_c3): Likewise.
50893         (__strsep_1c): Likewise.
50894         (__strsep_2c): Likewise.
50895         (__strsep_3c): Likewise.
50896         * string/memccpy.c (__memccpy): Likewise.
50897         * string/stpcpy.c (__stpcpy): Likewise.
50898         * string/strcmp.c (strcmp): Likewise.
50899         * string/strrchr.c (strrchr): Likewise.
50900         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50901         Likewise.
50902         * sysdeps/mach/hurd/getcwd.c
50903         (_hurd_canonicalize_directory_name_internal): Likewise.
50904         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50905         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50906         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50907         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50908         Likewise, in both definitions.
50909         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50910         definitions.
50911         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50912         64] (__bswap_64): Likewise.
50913         * time/test_time.c (main): Likewise.
50914         * time/tzfile.c (__tzfile_read): Likewise.
50915         (__tzfile_compute): Likewise.
50916         * time/tzset.c (__tzset_parse_tz): Likewise.
50917         (tzset_internal): Likewise.
50918         (compute_change): Likewise.
50919         * wcsmbs/wcscat.c (__wcscat): Likewise.
50920         * wcsmbs/wcschr.c (wcschr): Likewise.
50921         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50922         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50923         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50924         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50925         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50926         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50927         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50928         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50929         * wcsmbs/wmemset.c (wmemset): Likewise.
50931 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50933         * scripts/config.guess: Update to version 2013-05-16.
50934         * scripts/config.sub: Update to version 2013-04-24.
50935         * scripts/install-sh: Update to version 2011-11-20.07.
50936         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50937         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50939 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50941         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50942         * elf/sln.c: Likewise.
50943         * hurd/hurd/ioctl.h: Likewise.
50944         * hurd/hurdmalloc.c: Likewise.
50945         * hurd/xattr.c: Likewise.
50946         * include/shlib-compat.h: Likewise.
50947         * inet/ruserpass.c: Likewise.
50948         * libio/iofgets_u.c: Likewise.
50949         * libio/iofgetws_u.c: Likewise.
50950         * locale/programs/ld-identification.c: Likewise.
50951         * locale/programs/ld-time.c: Likewise.
50952         * mach/msg-destroy.c: Likewise.
50953         * nss/nss_files/files-netgrp.c: Likewise.
50954         * resolv/res_data.c: Likewise.
50955         * soft-fp/op-1.h: Likewise.
50956         * soft-fp/op-2.h: Likewise.
50957         * soft-fp/op-4.h: Likewise.
50958         * soft-fp/op-common.h: Likewise.
50959         * stdio-common/printf_fphex.c: Likewise.
50960         * stdlib/strtod_l.c: Likewise.
50961         * sunrpc/rpc/clnt.h: Likewise.
50962         * sysdeps/generic/framestate.c: Likewise.
50963         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50964         * sysdeps/i386/bsd-setjmp.S: Likewise.
50965         * sysdeps/i386/__longjmp.S: Likewise.
50966         * sysdeps/i386/setjmp.S: Likewise.
50967         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50968         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50969         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50973         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50974         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50975         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50976         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50977         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50978         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50979         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50980         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50981         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50982         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50983         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50984         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50985         * sysdeps/ieee754/support.c: Likewise.
50986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50987         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50988         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50989         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50990         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50991         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50992         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50993         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50994         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50995         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50996         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50997         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50998         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50999         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51000         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51001         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51002         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51005 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51007         * posix/transbug.c: Remove executable mode.
51009 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51011         * crypt/speeds.c: Remove trailing whitespace.
51012         * dlfcn/default.c: Likewise.
51013         * elf/ifuncdep2.c: Likewise.
51014         * elf/ifuncmain1.c: Likewise.
51015         * elf/ifuncmain1vis.c: Likewise.
51016         * elf/testobj.h: Likewise.
51017         * elf/tst-stackguard1.c: Likewise.
51018         * gmon/sys/gmon.h: Likewise.
51019         * hurd/hurdmsg.c: Likewise.
51020         * hurd/new-fd.c: Likewise.
51021         * hurd/ports-get.c: Likewise.
51022         * iconvdata/ibm1008_420.c: Likewise.
51023         * inet/tst-getni1.c: Likewise.
51024         * inet/tst-getni2.c: Likewise.
51025         * libio/ioungetc.c: Likewise.
51026         * libio/wfiledoalloc.c: Likewise.
51027         * manual/libm-err-tab.pl: Likewise.
51028         * math/w_dremf.c: Likewise.
51029         * misc/ftruncate.c: Likewise.
51030         * posix/bug-glob2.c: Likewise.
51031         * posix/tst-pcre.c: Likewise.
51032         * posix/wait4.c: Likewise.
51033         * resolv/README: Likewise.
51034         * resolv/res_debug.h: Likewise.
51035         * resolv/tst-inet_ntop.c: Likewise.
51036         * setjmp/bug269-setjmp.c: Likewise.
51037         * soft-fp/extended.h: Likewise.
51038         * soft-fp/op-1.h: Likewise.
51039         * soft-fp/op-2.h: Likewise.
51040         * soft-fp/op-4.h: Likewise.
51041         * soft-fp/op-8.h: Likewise.
51042         * soft-fp/testit.c: Likewise.
51043         * stdio-common/bug16.c: Likewise.
51044         * stdlib/random.c: Likewise.
51045         * sunrpc/rpcsvc/rquota.x: Likewise.
51046         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51047         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51049         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51050         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51051         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51052         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51053         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51054         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51055         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51056         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51057         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51059         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51061         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51062         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51063         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51064         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51065         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51066         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51067         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51068         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51069         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51070         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51071         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51073         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51074         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51075         * sysdeps/ieee754/s_lib_version.c: Likewise.
51076         * sysdeps/mach/hurd/check_fds.c: Likewise.
51077         * sysdeps/mach/hurd/getsockname.c: Likewise.
51078         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51079         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51080         * sysdeps/powerpc/bits/link.h: Likewise.
51081         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51082         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51083         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51084         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51085         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51086         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51087         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51088         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51089         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51090         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51091         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51092         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51093         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51094         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51095         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51096         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51097         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51099         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51100         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51101         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51102         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51103         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51104         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51105         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51106         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51107         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51108         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51109         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51110         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51112         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51114         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51115         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51116         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51117         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51118         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51119         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51120         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51121         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51122         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51123         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51124         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51125         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51126         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51127         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51128         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51129         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51130         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51133         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51134         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51135         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51136         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51137         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51138         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51139         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51140         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51141         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51142         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51143         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51144         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51145         * sysdeps/powerpc/sysdep.h: Likewise.
51146         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51147         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51148         * sysdeps/sh/dl-trampoline.S: Likewise.
51149         * sysdeps/sh/memset.S: Likewise.
51150         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51151         * sysdeps/sh/strlen.S: Likewise.
51152         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51153         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51154         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51155         * sysdeps/sparc/sparc32/rem.S: Likewise.
51156         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51157         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51158         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51159         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51160         * sysdeps/sparc/sparc32/urem.S: Likewise.
51161         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51162         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51163         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51164         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51165         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51166         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51167         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51168         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51169         * sysdeps/unix/bsd/times.c: Likewise.
51170         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51171         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51175         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51176         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51177         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51179         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51180         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51181         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51182         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51183         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51184         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51185         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51186         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51187         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51188         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51189         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51190         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51191         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51192         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51193         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51194         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51195         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51196         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51197         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51198         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51199         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51200         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51201         * sysdeps/x86_64/strcspn.S: Likewise.
51203 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51205         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51206         generated file.  Regenerate properly from gen-translit.pl.
51207         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51208         locale/C-translit.h.
51210 2013-06-05  Andreas Schwab  <schwab@suse.de>
51212         [BZ #15100]
51213         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51214         week as 6 instead of -1.
51215         * time/tst-strptime.c (day_tests): Add test case.
51217 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51219         * sysdeps/generic/math_private.h
51220         (libc_feholdexcept_setround_53bit): Replace with
51221         libc_feholdsetround_53bit.
51222         (libc_feupdateenv_53bit): Replace with
51223         libc_feresetround_53bit.
51224         (SET_RESTORE_ROUND_53BIT): Adjust.
51226 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51228         * string/test-strchrnul.c: Add copyright header.
51230         * posix/tst-getaddrinfo4.c: Increase test timeout.
51232 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51234         [BZ #15536]
51235         * math/libm-test.inc (MAX_EXP): Remove
51236         (MIN_EXP): Define.
51237         (ulp): Use MIN_EXP - MANT_DIG.
51238         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51240 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51242         * po/be.po: Revert last change.
51243         * po/zh_CN.po: Likewise.
51244         * po/header.pot: Likewise.
51246 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51248         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51249         link-libc-deps to empty as target-specific variable.
51250         * Makerules (link-libc-args): New variable.
51251         (libc-for-link): Likewise.
51252         (link-libc-deps): Likewise.
51253         (lib%.so): Depend on $(link-libc-deps).  Link with
51254         $(link-libc-args).
51255         (build-module): Link with $(link-libc-args).
51256         (build-module-asneeded): Likewise.
51257         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51258         list of objects.
51259         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51260         target-specific variable.
51261         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51262         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51263         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51264         libc.
51265         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51266         libc and ld.so.
51267         ($(objpfx)libpcprofile.so): Likewise.
51268         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51269         libc_nonshared.a.
51270         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51271         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51272         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51273         $(link-libc-deps).
51274         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51275         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51276         * login/Makefile ($(objpfx)libutil.so): Likewise.
51277         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51278         * math/Makefile ($(objpfx)libm.so): Likewise.
51279         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51280         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51281         variable instead of depending directly on libc.
51282         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51283         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51284         $(link-libc-deps).
51285         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51286         libc.
51287         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51288         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51289         ($(objpfx)libanl.so): Likewise.
51290         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51291         ld.so.
51292         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51293         $(link-libc-deps).
51294         * sysdeps/i386/fpu/Makefile: Remove file.
51295         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51296         ($(objpfx)libm.so): Remove dependency on ld.so.
51298 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51300         [BZ # 15553]
51301         * nis/yp_xdr.c (XDRMAXNAME): Define.
51302         (XDRMAXRECORD): Define.
51303         (xdr_domainname): Use XDRMAXNAME.
51304         (xdr_mapname): Likewise.
51305         (xdr_peername): Likewise.
51306         (xdr_keydat): Use XDRMAXRECORD.
51307         (xdr_valdat): Likewise.
51309 2013-05-30  Jeff Law  <law@redhat.com>
51311         [BZ #14256]
51312         * manual/errno.texi (ESTALE): Update to account for more than
51313         just NFS file systems.
51314         * sysdeps/gnu/errlist.c: Regenerated.
51316 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51318         [BZ #15465]
51319         * elf/Makefile (tests): Add tst-null-argv.
51320         (modules-names):  Add tst-null-argv-lib.
51321         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51322         (tst-null-argv-ENV): Set environment for tst-null-argv.
51323         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51324         (RTLD_PROGNAME): New macro.
51325         * elf/tst-null-argv.c: New test case.
51326         * elf/tst-null-argv-lib.c: Library for test case.
51327         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51328         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51329         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51330         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51331         * elf/dl-init.c (call_init): Likewise.
51332         (_dl_init): Likewise.
51333         * elf/dl-load.c (print_search_path): Likewise.
51334         (_dl_map_object): Likewise.
51335         * elf/dl-lookup.c (do_lookup_x): Likewise.
51336         (add_dependency): Likewise.
51337         (_dl_lookup_symbol_x): Likewise.
51338         (_dl_debug_bindings): Likewise.
51339         * elf/dl-open.c (_dl_show_scope): Likewise.
51340         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51341         * elf/dl-version.c (match_symbol): Likewise.
51342         (_dl_check_map_versions): Likewise.
51343         * elf/rtld.c (dl_main): Likewise.
51344         (print_unresolved): Use RTLD_PROGNAME.
51345         (print_missing_version): Likewise.
51346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51347         (elf_machine_rela): Likewise.
51348         * sysdeps/powerpc/powerpc32/dl-machine.c
51349         (__process_machine_rela): Likewise.
51350         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51351         Likewise.
51352         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51353         Likewise.
51354         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51355         Likewise.
51356         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51357         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51358         Likewise.
51359         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51360         Likewise.
51361         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51363 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51365         * po/be.po: Add descriptive title.
51366         * po/zh_CN.po: Likewise.
51367         * po/header.pot: Likewise.
51369 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51371         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51372         error message.
51373         (enlarge_archive): Likewise.
51375 2013-05-28  Ben North  <ben@redfrontdoor.org>
51377         * manual/arith.texi (frexp): It is the magnitude of the return
51378         value which lies in [0.5, 1), not the return value itself.
51380 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51384 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51386         * stdio-common/bug26.c (main): Correct fscanf template.
51388         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51389         declare _dl_skip_args.
51391         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51392         Don't declare.
51394         * manual/platform.texi: Add missing @end deftypefun.
51396 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51398         [BZ #15529]
51399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51400         bit of mantissa of 2^16382.
51401         * math/libm-test.inc (hypot_test_data): Add more tests.
51403         * math/libm-test.inc: Add drem and pow10 to list of tested
51404         functions.
51405         (pow10_test): New function.
51406         (drem_test): Likewise.
51407         (drem_test_tonearest): Likewise.
51408         (drem_test_towardzero): Likewise.
51409         (drem_test_downward): Likewise.
51410         (drem_test_upward): Likewise.
51411         (main): Call the new functions.
51413         * math/libm-test.inc (finite_test_data): Remove.
51414         (finite_test): Run tests from isfinite_test_data.
51415         (gamma_test_data): Remove.
51416         (gamma_test): Run tests from lgamma_test_data.
51417         * sysdeps/i386/fpu/libm-test-ulps: Update.
51418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51420 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51422         * manual/platform.texi: Add PowerPC PPR function set documentation.
51423         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51424         implementation.
51426 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51428         * math/libm-test.inc (MAX_EXP): Define.
51429         (ULPDIFF): Define.
51430         (ulp): New function.
51431         (check_float_internal): Use ULPDIFF.
51432         (cpow_test): Disable failing test.
51433         (check_ulp): Test ulp() implemetnation.
51434         (main): Call check_ulp before starting tests.
51436 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51438         * math/gen-libm-test.pl (generate_testfile): Do not handle
51439         START_DATA and END_DATA.
51440         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51441         END_DATA.
51442         (acos_tonearest_test_data): Likewise.
51443         (acos_towardzero_test_data): Likewise.
51444         (acos_downward_test_data): Likewise.
51445         (acos_upward_test_data): Likewise.
51446         (acosh_test_data): Likewise.
51447         (asin_test_data): Likewise.
51448         (asin_tonearest_test_data): Likewise.
51449         (asin_towardzero_test_data): Likewise.
51450         (asin_downward_test_data): Likewise.
51451         (asin_upward_test_data): Likewise.
51452         (asinh_test_data): Likewise.
51453         (atan_test_data): Likewise.
51454         (atanh_test_data): Likewise.
51455         (atan2_test_data): Likewise.
51456         (cabs_test_data): Likewise.
51457         (cacos_test_data): Likewise.
51458         (cacosh_test_data): Likewise.
51459         (carg_test_data): Likewise.
51460         (casin_test_data): Likewise.
51461         (casinh_test_data): Likewise.
51462         (catan_test_data): Likewise.
51463         (catanh_test_data): Likewise.
51464         (cbrt_test_data): Likewise.
51465         (ccos_test_data): Likewise.
51466         (ccosh_test_data): Likewise.
51467         (ceil_test_data): Likewise.
51468         (cexp_test_data): Likewise.
51469         (cimag_test_data): Likewise.
51470         (clog_test_data): Likewise.
51471         (clog10_test_data): Likewise.
51472         (conj_test_data): Likewise.
51473         (copysign_test_data): Likewise.
51474         (cos_test_data): Likewise.
51475         (cos_tonearest_test_data): Likewise.
51476         (cos_towardzero_test_data): Likewise.
51477         (cos_downward_test_data): Likewise.
51478         (cos_upward_test_data): Likewise.
51479         (cosh_test_data): Likewise.
51480         (cosh_tonearest_test_data): Likewise.
51481         (cosh_towardzero_test_data): Likewise.
51482         (cosh_downward_test_data): Likewise.
51483         (cosh_upward_test_data): Likewise.
51484         (cpow_test_data): Likewise.
51485         (cproj_test_data): Likewise.
51486         (creal_test_data): Likewise.
51487         (csin_test_data): Likewise.
51488         (csinh_test_data): Likewise.
51489         (csqrt_test_data): Likewise.
51490         (ctan_test_data): Likewise.
51491         (ctan_tonearest_test_data): Likewise.
51492         (ctan_towardzero_test_data): Likewise.
51493         (ctan_downward_test_data): Likewise.
51494         (ctan_upward_test_data): Likewise.
51495         (ctanh_test_data): Likewise.
51496         (ctanh_tonearest_test_data): Likewise.
51497         (ctanh_towardzero_test_data): Likewise.
51498         (ctanh_downward_test_data): Likewise.
51499         (ctanh_upward_test_data): Likewise.
51500         (erf_test_data): Likewise.
51501         (erfc_test_data): Likewise.
51502         (exp_test_data): Likewise.
51503         (exp_tonearest_test_data): Likewise.
51504         (exp_towardzero_test_data): Likewise.
51505         (exp_downward_test_data): Likewise.
51506         (exp_upward_test_data): Likewise.
51507         (exp10_test_data): Likewise.
51508         (exp2_test_data): Likewise.
51509         (expm1_test_data): Likewise.
51510         (fabs_test_data): Likewise.
51511         (fdim_test_data): Likewise.
51512         (finite_test_data): Likewise.
51513         (floor_test_data): Likewise.
51514         (fma_test_data): Likewise.
51515         (fma_towardzero_test_data): Likewise.
51516         (fma_downward_test_data): Likewise.
51517         (fma_upward_test_data): Likewise.
51518         (fmax_test_data): Likewise.
51519         (fmin_test_data): Likewise.
51520         (fmod_test_data): Likewise.
51521         (fpclassify_test_data): Likewise.
51522         (frexp_test_data): Likewise.
51523         (gamma_test_data): Likewise.
51524         (hypot_test_data): Likewise.
51525         (ilogb_test_data): Likewise.
51526         (isfinite_test_data): Likewise.
51527         (isgreater_test_data): Likewise.
51528         (isgreaterequal_test_data): Likewise.
51529         (isinf_test_data): Likewise.
51530         (isless_test_data): Likewise.
51531         (islessequal_test_data): Likewise.
51532         (islessgreater_test_data): Likewise.
51533         (isnan_test_data): Likewise.
51534         (isnormal_test_data): Likewise.
51535         (issignaling_test_data): Likewise.
51536         (isunordered_test_data): Likewise.
51537         (j0_test_data): Likewise.
51538         (j1_test_data): Likewise.
51539         (jn_test_data): Likewise.
51540         (ldexp_test_data): Likewise.
51541         (lgamma_test_data): Likewise.
51542         (lrint_test_data): Likewise.
51543         (lrint_tonearest_test_data): Likewise.
51544         (lrint_towardzero_test_data): Likewise.
51545         (lrint_downward_test_data): Likewise.
51546         (lrint_upward_test_data): Likewise.
51547         (llrint_test_data): Likewise.
51548         (llrint_tonearest_test_data): Likewise.
51549         (llrint_towardzero_test_data): Likewise.
51550         (llrint_downward_test_data): Likewise.
51551         (llrint_upward_test_data): Likewise.
51552         (log_test_data): Likewise.
51553         (log10_test_data): Likewise.
51554         (log1p_test_data): Likewise.
51555         (log2_test_data): Likewise.
51556         (logb_test_data): Likewise.
51557         (logb_downward_test_data): Likewise.
51558         (lround_test_data): Likewise.
51559         (llround_test_data): Likewise.
51560         (modf_test_data): Likewise.
51561         (nearbyint_test_data): Likewise.
51562         (nextafter_test_data): Likewise.
51563         (nexttoward_test_data): Likewise.
51564         (pow_test_data): Likewise.
51565         (pow_tonearest_test_data): Likewise.
51566         (pow_towardzero_test_data): Likewise.
51567         (pow_downward_test_data): Likewise.
51568         (pow_upward_test_data): Likewise.
51569         (remainder_test_data): Likewise.
51570         (remainder_tonearest_test_data): Likewise.
51571         (remainder_towardzero_test_data): Likewise.
51572         (remainder_downward_test_data): Likewise.
51573         (remainder_upward_test_data): Likewise.
51574         (remquo_test_data): Likewise.
51575         (rint_test_data): Likewise.
51576         (rint_tonearest_test_data): Likewise.
51577         (rint_towardzero_test_data): Likewise.
51578         (rint_downward_test_data): Likewise.
51579         (rint_upward_test_data): Likewise.
51580         (round_test_data): Likewise.
51581         (scalb_test_data): Likewise.
51582         (scalbn_test_data): Likewise.
51583         (scalbln_test_data): Likewise.
51584         (signbit_test_data): Likewise.
51585         (sin_test_data): Likewise.
51586         (sin_tonearest_test_data): Likewise.
51587         (sin_towardzero_test_data): Likewise.
51588         (sin_downward_test_data): Likewise.
51589         (sin_upward_test_data): Likewise.
51590         (sincos_test_data): Likewise.
51591         (sinh_test_data): Likewise.
51592         (sinh_tonearest_test_data): Likewise.
51593         (sinh_towardzero_test_data): Likewise.
51594         (sinh_downward_test_data): Likewise.
51595         (sinh_upward_test_data): Likewise.
51596         (sqrt_test_data): Likewise.
51597         (tan_test_data): Likewise.
51598         (tan_tonearest_test_data): Likewise.
51599         (tan_towardzero_test_data): Likewise.
51600         (tan_downward_test_data): Likewise.
51601         (tan_upward_test_data): Likewise.
51602         (tanh_test_data): Likewise.
51603         (tgamma_test_data): Likewise.
51604         (trunc_test_data): Likewise.
51605         (y0_test_data): Likewise.
51606         (y1_test_data): Likewise.
51607         (yn_test_data): Likewise.
51608         (significand_test_data): Likewise.
51610         * math/gen-libm-test.pl (@functions): Remove variable.
51611         (generate_testfile): Don't handle START and END lines.
51612         * math/libm-test.inc (START): New macro.
51613         (END): Likewise.
51614         (END_COMPLEX): Likewise.
51615         (acos_test): Use END macro without arguments.
51616         (acos_test_tonearest): Likewise.
51617         (acos_test_towardzero): Likewise.
51618         (acos_test_downward): Likewise.
51619         (acos_test_upward): Likewise.
51620         (acosh_test): Likewise.
51621         (asin_test): Likewise.
51622         (asin_test_tonearest): Likewise.
51623         (asin_test_towardzero): Likewise.
51624         (asin_test_downward): Likewise.
51625         (asin_test_upward): Likewise.
51626         (asinh_test): Likewise.
51627         (atan_test): Likewise.
51628         (atanh_test): Likewise.
51629         (atan2_test): Likewise.
51630         (cabs_test): Likewise.
51631         (cacos_test): Use END_COMPLEX macro without arguments.
51632         (cacosh_test): Likewise.
51633         (carg_test): Use END macro without arguments.
51634         (casin_test): Use END_COMPLEX macro without arguments.
51635         (casinh_test): Likewise.
51636         (catan_test): Likewise.
51637         (catanh_test): Likewise.
51638         (cbrt_test): Use END macro without arguments.
51639         (ccos_test): Use END_COMPLEX macro without arguments.
51640         (ccosh_test): Likewise.
51641         (ceil_test): Use END macro without arguments.
51642         (cexp_test): Use END_COMPLEX macro without arguments.
51643         (cimag_test): Use END macro without arguments.
51644         (clog_test): Use END_COMPLEX macro without arguments.
51645         (clog10_test): Likewise.
51646         (conj_test): Likewise.
51647         (copysign_test): Use END macro without arguments.
51648         (cos_test): Likewise.
51649         (cos_test_tonearest): Likewise.
51650         (cos_test_towardzero): Likewise.
51651         (cos_test_downward): Likewise.
51652         (cos_test_upward): Likewise.
51653         (cosh_test): Likewise.
51654         (cosh_test_tonearest): Likewise.
51655         (cosh_test_towardzero): Likewise.
51656         (cosh_test_downward): Likewise.
51657         (cosh_test_upward): Likewise.
51658         (cpow_test): Use END_COMPLEX macro without arguments.
51659         (cproj_test): Likewise.
51660         (creal_test): Use END macro without arguments.
51661         (csin_test): Use END_COMPLEX macro without arguments.
51662         (csinh_test): Likewise.
51663         (csqrt_test): Likewise.
51664         (ctan_test): Likewise.
51665         (ctan_test_tonearest): Likewise.
51666         (ctan_test_towardzero): Likewise.
51667         (ctan_test_downward): Likewise.
51668         (ctan_test_upward): Likewise.
51669         (ctanh_test): Likewise.
51670         (ctanh_test_tonearest): Likewise.
51671         (ctanh_test_towardzero): Likewise.
51672         (ctanh_test_downward): Likewise.
51673         (ctanh_test_upward): Likewise.
51674         (erf_test): Use END macro without arguments.
51675         (erfc_test): Likewise.
51676         (exp_test): Likewise.
51677         (exp_test_tonearest): Likewise.
51678         (exp_test_towardzero): Likewise.
51679         (exp_test_downward): Likewise.
51680         (exp_test_upward): Likewise.
51681         (exp10_test): Likewise.
51682         (exp2_test): Likewise.
51683         (expm1_test): Likewise.
51684         (fabs_test): Likewise.
51685         (fdim_test): Likewise.
51686         (finite_test): Likewise.
51687         (floor_test): Likewise.
51688         (fma_test): Likewise.
51689         (fma_test_towardzero): Likewise.
51690         (fma_test_downward): Likewise.
51691         (fma_test_upward): Likewise.
51692         (fmax_test): Likewise.
51693         (fmin_test): Likewise.
51694         (fmod_test): Likewise.
51695         (fpclassify_test): Likewise.
51696         (frexp_test): Likewise.
51697         (gamma_test): Likewise.
51698         (hypot_test): Likewise.
51699         (ilogb_test): Likewise.
51700         (isfinite_test): Likewise.
51701         (isgreater_test): Likewise.
51702         (isgreaterequal_test): Likewise.
51703         (isinf_test): Likewise.
51704         (isless_test): Likewise.
51705         (islessequal_test): Likewise.
51706         (islessgreater_test): Likewise.
51707         (isnan_test): Likewise.
51708         (isnormal_test): Likewise.
51709         (issignaling_test): Likewise.
51710         (isunordered_test): Likewise.
51711         (j0_test): Likewise.
51712         (j1_test): Likewise.
51713         (jn_test): Likewise.
51714         (ldexp_test): Likewise.
51715         (lgamma_test): Likewise.
51716         (lrint_test): Likewise.
51717         (lrint_test_tonearest): Likewise.
51718         (lrint_test_towardzero): Likewise.
51719         (lrint_test_downward): Likewise.
51720         (lrint_test_upward): Likewise.
51721         (llrint_test): Likewise.
51722         (llrint_test_tonearest): Likewise.
51723         (llrint_test_towardzero): Likewise.
51724         (llrint_test_downward): Likewise.
51725         (llrint_test_upward): Likewise.
51726         (log_test): Likewise.
51727         (log10_test): Likewise.
51728         (log1p_test): Likewise.
51729         (log2_test): Likewise.
51730         (logb_test): Likewise.
51731         (logb_test_downward): Likewise.
51732         (lround_test): Likewise.
51733         (llround_test): Likewise.
51734         (modf_test): Likewise.
51735         (nearbyint_test): Likewise.
51736         (nextafter_test): Likewise.
51737         (nexttoward_test): Likewise.
51738         (pow_test): Likewise.
51739         (pow_test_tonearest): Likewise.
51740         (pow_test_towardzero): Likewise.
51741         (pow_test_downward): Likewise.
51742         (pow_test_upward): Likewise.
51743         (remainder_test): Likewise.
51744         (remainder_test_tonearest): Likewise.
51745         (remainder_test_towardzero): Likewise.
51746         (remainder_test_downward): Likewise.
51747         (remainder_test_upward): Likewise.
51748         (remquo_test): Likewise.
51749         (rint_test): Likewise.
51750         (rint_test_tonearest): Likewise.
51751         (rint_test_towardzero): Likewise.
51752         (rint_test_downward): Likewise.
51753         (rint_test_upward): Likewise.
51754         (round_test): Likewise.
51755         (scalb_test): Likewise.
51756         (scalbn_test): Likewise.
51757         (scalbln_test): Likewise.
51758         (signbit_test): Likewise.
51759         (sin_test): Likewise.
51760         (sin_test_tonearest): Likewise.
51761         (sin_test_towardzero): Likewise.
51762         (sin_test_downward): Likewise.
51763         (sin_test_upward): Likewise.
51764         (sincos_test): Likewise.
51765         (sinh_test): Likewise.
51766         (sinh_test_tonearest): Likewise.
51767         (sinh_test_towardzero): Likewise.
51768         (sinh_test_downward): Likewise.
51769         (sinh_test_upward): Likewise.
51770         (sqrt_test): Likewise.
51771         (tan_test): Likewise.
51772         (tan_test_tonearest): Likewise.
51773         (tan_test_towardzero): Likewise.
51774         (tan_test_downward): Likewise.
51775         (tan_test_upward): Likewise.
51776         (tanh_test): Likewise.
51777         (tgamma_test): Likewise.
51778         (trunc_test): Likewise.
51779         (y0_test): Likewise.
51780         (y1_test): Likewise.
51781         (yn_test): Likewise.
51782         (significand_test): Likewise.
51784 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51786         [BZ #15381]
51787         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51789 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51791         [BZ #14894]
51792         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51793         __ppc_mdoio and __ppc_mdoom.
51794         * manual/platform.texi: Document new functions __ppc_yield,
51795         __ppc_mdoio and __ppc_mdoom.
51797 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51799         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51800         (main): Mention "tls" pseudo-hwcap is legacy.
51801         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51803 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51805         * math/gen-libm-test.pl (parse_args): Output only string of
51806         arguments as text for test name, not full call or descriptions of
51807         tests for extra outputs.
51808         (generate_testfile): Do not pass function name to parse_args.
51809         Generate this_func variable from START.
51810         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51811         field to arg_str.
51812         (struct test_ff_f_data): Likewise.
51813         (test_ff_f_data_nexttoward): Likewise.
51814         (struct test_fi_f_data): Likewise.
51815         (struct test_fl_f_data): Likewise.
51816         (struct test_if_f_data): Likewise.
51817         (struct test_fff_f_data): Likewise.
51818         (struct test_c_f_data): Likewise.
51819         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51820         (struct test_fF_f1_data): Likewise.
51821         (struct test_ffI_f1_data): Likewise.
51822         (struct test_c_c_data): Rename test_name field to arg_str.
51823         (struct test_cc_c_data): Likewise.
51824         (struct test_f_i_data): Likewise.
51825         (struct test_ff_i_data): Likewise.
51826         (struct test_f_l_data): Likewise.
51827         (struct test_f_L_data): Likewise.
51828         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51829         and extra2_name.
51830         (COMMON_TEST_SETUP): New macro.
51831         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51832         (COMMON_TEST_CLEANUP): Likewise.
51833         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51834         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51835         macros.
51836         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51837         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51838         macros.
51839         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51840         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51841         cleanup macros.
51842         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51843         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51844         macros.
51845         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51846         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51847         macros.
51848         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51849         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51850         cleanup macros.
51851         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51852         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51853         cleanup macros.
51854         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51855         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51856         cleanup macros.
51857         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51858         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51859         macros.
51860         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51861         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51862         macros.
51863         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51864         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51865         macros.
51866         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51867         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51868         cleanup macros.
51869         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51870         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51871         cleanup macros.
51872         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51873         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51874         macros.
51875         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51876         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51877         cleanup macros.
51878         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51879         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51880         macros.
51881         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51882         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51883         macros.
51884         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51885         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51886         cleanup macros.
51887         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51889 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51891         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51892         to _sifields.sigfault.
51893         (si_addr_lsb): Define new macro.
51894         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51896         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51898 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51900         [BZ #15441]
51901         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51902         returns -1.
51903         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51904         null return -1.
51905         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51906         loading the domain.
51908 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51910         * math/gen-libm-test.pl (parse_args): Do not include expected
51911         result in test name.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51913         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51914         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51916         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51919 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51921         * benchtests/Makefile: Sort function entries.
51923         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51924         tanh, asinh, acosh, atanh.
51925         * benchtests/acos-inputs: New file.
51926         * benchtests/acosh-inputs: New file.
51927         * benchtests/asin-inputs: New file.
51928         * benchtests/asinh-inputs: New file.
51929         * benchtests/atanh-inputs: New file.
51930         * benchtests/cosh-inputs: New file.
51931         * benchtests/log-inputs: New file.
51932         * benchtests/sinh-inputs: New file.
51933         * benchtests/tanh-inputs: New file.
51935 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51937         [BZ #15339]
51938         * posix/tst-getaddrinfo4.c: New test.
51939         * posix/Makefile (tests): Add it.
51941 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51943         [BZ #15339]
51944         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51945         when no services were used.
51946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51947         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51949 2013-05-21  Andreas Schwab  <schwab@suse.de>
51951         [BZ #15014]
51952         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51953         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51954         successful.
51955         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51956         redundant variable declarations and reallocation of buffer when
51957         parsing as IPv6 address.  Always set NSS status when called from
51958         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51959         buffer too small.  Correct computation of needed size.
51960         * nss/Makefile (tests): Add test-digits-dots.
51961         * nss/test-digits-dots.c: New test.
51963 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51965         * benchtests/Makefile: Remove instructions for adding
51966         benchmark tests.
51967         * benchtests/README: New file to explain how to execute and
51968         enhance the benchmark tests.
51970 2013-05-21  Andreas Schwab  <schwab@suse.de>
51972         [BZ #15493]
51973         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51974         * setjmp/tst-sigsetjmp.c: New test.
51976 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51978         * sysdeps/x86_64/memset.S (memset): New implementation.
51979         (__bzero): Likewise.
51980         (__memset_tail): New function.
51982 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51984         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51985         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51986         __memcpy_sse2_unaligned ifunc selection.
51987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51988         Add memcpy-sse2-unaligned.S.
51989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51990         Add: __memcpy_sse2_unaligned.
51992 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51994         [BZ #15490]
51995         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51996         math_force_eval before restoring floating-point envrionment.
51997         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51998         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51999         Likewise.
52000         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52001         <math_private.h>.
52002         (__nearbyintl): Use math_force_eval before restoring
52003         floating-point environment.
52004         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52006         * math/gen-libm-test.pl (special_functions): Remove.
52007         (parse_args): Don't handle TEST_extra.  Handle functions with no
52008         return value.
52009         * math/libm-test.inc (struct test_sincos_data): Replace with
52010         struct test_fFF_11_data.
52011         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52012         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52013         (sincos_test_data): Change element type to struct
52014         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52015         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52016         RUN_TEST_LOOP_sincos.
52017         * math/README.libm-test: Don't mention special handling of
52018         individual functions.
52019         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52021         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52022         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52023         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52026         * math/gen-libm-test.pl (get_variable): Remove function.
52027         (parse_args): Don't show pointer parameters to call in test
52028         names.  Use "extra output N" in test names for extra outputs
52029         rather than naming variables.
52031 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52033         [BZ #15488]
52034         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52035         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52036         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52037         double tests.
52038         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52039         disable.
52040         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52041         check_long_double.
52043         * math/gen-libm-test.pl (@tests): Remove variable.
52044         ($count): Likewise.
52045         (new_test): Remove function.
52046         (show_exceptions): New function.
52047         (special_functions): Use show_exceptions instead of new_test.
52048         (parse_args): Likewise.
52049         (generate_testfile): Pass only function name in generated call to
52050         print_max_error or print_complex_max_error.
52051         (get_ulps): Do not handle complex tests specially.
52052         (output_test): Rename to ...
52053         (get_all_ulps_for_test): ... this.  Return a string rather than
52054         printing to a file.  Require ulps to be present.
52055         (output_ulps): Generate arrays rather than #defines.
52056         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52057         (struct ulp_data): New type.
52058         (BUILD_COMPLEX_ULP): Remove macro.
52059         (compare_ulp_data): New function.
52060         (find_ulps): Likewise.
52061         (find_test_ulps): Likewise.
52062         (find_function_ulps): Likewise.
52063         (find_complex_function_ulps): Likewise.
52064         (print_max_error): Determine allowed ulps using
52065         find_function_ulps.
52066         (print_complex_max_error): Determine allowed ulps using
52067         find_complex_function_ulps.
52068         (check_float_internal): Determine max ulps using find_test_ulps.
52069         (check_float): Do not take max_ulp parameter.  Update call to
52070         check_float_internal.
52071         (check_complex): Likewise.
52072         (check_int): Do not take max_ulp parameter.
52073         (check_long): Likewise.
52074         (check_bool): Likewise.
52075         (check_longlong): Likewise.
52076         (struct test_f_f_data): Remove max_ulp field.
52077         (struct test_ff_f_data): Likewise.
52078         (struct test_ff_f_data_nexttoward): Likewise.
52079         (struct test_fi_f_data): Likewise.
52080         (struct test_fl_f_data): Likewise.
52081         (struct test_if_f_data): Likewise.
52082         (struct test_fff_f_data): Likewise.
52083         (struct test_c_f_data): Likewise.
52084         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52085         (struct test_fF_f1_data): Likewise.
52086         (struct test_ffI_f1_data): Likewise.
52087         (struct test_c_c_data): Remove max_ulp field.
52088         (struct test_cc_c_data): Likewise.
52089         (struct test_f_i_data): Likewise.
52090         (struct test_ff_i_data): Likewise.
52091         (struct test_f_l_data): Likewise.
52092         (struct test_f_L_data): Likewise.
52093         (struct test_sincos_data): Likewise.
52094         (RUN_TEST_f_f): Do not handle ulps.
52095         (RUN_TEST_LOOP_f_f): Likewise.
52096         (RUN_TEST_2_f): Likewise.
52097         (RUN_TEST_LOOP_2_f): Likewise.
52098         (RUN_TEST_fff_f): Likewise.
52099         (RUN_TEST_LOOP_fff_f): Likewise.
52100         (RUN_TEST_c_f): Likewise.
52101         (RUN_TEST_LOOP_c_f): Likewise.
52102         (RUN_TEST_f_f1): Likewise.
52103         (RUN_TEST_LOOP_f_f1): Likewise.
52104         (RUN_TEST_fF_f1): Likewise.
52105         (RUN_TEST_LOOP_fF_f1): Likewise.
52106         (RUN_TEST_fI_f1): Likewise.
52107         (RUN_TEST_LOOP_fI_f1): Likewise.
52108         (RUN_TEST_ffI_f1): Likewise.
52109         (RUN_TEST_LOOP_ffI_f1): Likewise.
52110         (RUN_TEST_c_c): Likewise.
52111         (RUN_TEST_LOOP_c_c): Likewise.
52112         (RUN_TEST_cc_c): Likewise.
52113         (RUN_TEST_LOOP_cc_c): Likewise.
52114         (RUN_TEST_f_i): Likewise.
52115         (RUN_TEST_LOOP_f_i): Likewise.
52116         (RUN_TEST_f_i_tg): Likewise.
52117         (RUN_TEST_LOOP_f_i_tg): Likewise.
52118         (RUN_TEST_ff_i_tg): Likewise.
52119         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52120         (RUN_TEST_f_b): Likewise.
52121         (RUN_TEST_LOOP_f_b): Likewise.
52122         (RUN_TEST_f_b_tg): Likewise.
52123         (RUN_TEST_LOOP_f_b_tg): Likewise.
52124         (RUN_TEST_f_l): Likewise.
52125         (RUN_TEST_LOOP_f_l): Likewise.
52126         (RUN_TEST_f_L): Likewise.
52127         (RUN_TEST_LOOP_f_L): Likewise.
52128         (RUN_TEST_sincos): Likewise.
52129         (RUN_TEST_LOOP_sincos): Likewise.
52131 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52133         [BZ #15480]
52134         [BZ #15485]
52135         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52136         main case of finite arguments, set rounding mode to FE_TONEAREST
52137         and discard exceptions.
52138         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52139         exceptions.
52140         (remainder_tonearest_test_data): New variable.
52141         (remainder_test_tonearest): New function.
52142         (remainder_towardzero_test_data): New variable.
52143         (remainder_test_towardzero): New function.
52144         (remainder_downward_test_data): New variable.
52145         (remainder_test_downward): New function.
52146         (remainder_upward_test_data): New variable.
52147         (remainder_test_upward): New function.
52148         (main): Call the new test functions.
52150         * math/libm-test.inc (struct test_f_f1_data): Remove field
52151         extra_init.
52152         (struct test_fF_f1_data): Likewise.
52153         (struct test_ffI_f1_data): Likewise.
52154         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52155         based on value of EXTRA_EXPECTED.
52156         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52157         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52158         EXTRA_VAR based on value of EXTRA_EXPECTED.
52159         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52160         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52161         EXTRA_VAR based on value of EXTRA_EXPECTED.
52162         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52163         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52164         EXTRA_VAR based on value of EXTRA_EXPECTED.
52165         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52166         * math/gen-libm-test.pl (parse_args): Don't output initializers
52167         for extra output values.
52169         * math/libm-test.inc (check_int): Expect result to be exactly
52170         equal to expected value and do not handle ulps.
52171         (check_long): Likewise.
52172         (check_longlong): Likewise.
52174         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52175         exceptions.
52176         (cimag_test_data): Likewise.
52177         (conj_test_data): Likewise.
52178         (copysign_test_data): Likewise.
52179         (cproj_test_data): Likewise.
52180         (creal_test_data): Likewise.
52181         (fabs_test_data): Likewise.
52182         (fdim_test_data): Likewise.
52183         (finite_test_data): Likewise.
52184         (floor_test_data): Likewise.
52185         (fmax_test_data): Likewise.
52186         (fmin_test_data): Likewise.
52187         (fmod_test_data): Likewise.
52188         (fpclassify_test_data): Likewise.
52189         (frexp_test_data): Likewise.
52190         (ilogb_test_data): Likewise.
52191         (isfinite_test_data): Likewise.
52192         (isgreater_test_data): Likewise.
52193         (isgreaterequal_test_data): Likewise.
52194         (isinf_test_data): Likewise.
52195         (isless_test_data): Likewise.
52196         (islessequal_test_data): Likewise.
52197         (islessgreater_test_data): Likewise.
52198         (isnan_test_data): Likewise.
52199         (isnormal_test_data): Likewise.
52200         (issignaling_test_data): Likewise.
52201         (isunordered_test_data): Likewise.
52202         (ldexp_test_data): Likewise.
52203         (lrint_test_data): Likewise.
52204         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52205         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52206         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52207         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52208         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52209         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52210         test input.
52211         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52212         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52213         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52214         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52215         that test input.
52216         (lrint_downward_test_data): Test for "inexact" exceptions.
52217         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52218         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52219         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52220         test input.
52221         (lrint_upward_test_data): Test for "inexact" exceptions.
52222         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52223         test input.
52224         (llrint_test_data): Test for "inexact" exceptions.
52225         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52226         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52227         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52228         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52229         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52230         (llrint_downward_test_data): Test for "inexact" exceptions.
52231         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52232         (llrint_upward_test_data): Test for "inexact" exceptions.
52233         (logb_test_data): Likewise.
52234         (logb_downward_test_data): Likewise.
52235         (nextafter_test_data): Likewise.
52236         (nexttoward_test_data): Likewise.
52237         (remainder_test_data): Likewise.
52238         (remquo_test_data): Likewise.
52239         (scalbn_test_data): Likewise.
52240         (scalbln_test_data): Likewise.
52241         (signbit_test_data): Likewise.
52242         (sqrt_test_data): Likewise.
52243         (significand_test_data): Likewise.
52245 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52247         [BZ #15424]
52248         * benchtests/bench-modf.c (struct args): Mark arg0 as
52249         volatile.
52250         * scripts/bench.pl: Mark members of struct args as volatile.
52252 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52254         [BZ # 15497]
52255         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52256         negative infinity on POWER6 or lower.
52257         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52259 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52261         [BZ #15442]
52262         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52263         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52264         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52265         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52266         (_FP_SETQNAN): New macro.
52267         (_FP_SETQNAN_SEMIRAW): Likewise.
52268         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52269         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52270         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52271         (FP_EXTEND): Use _FP_FRAC_SNANP.
52272         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52273         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52274         into account.
52275         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52276         New macro.
52277         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52278         Likewise.
52280 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52282         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52283         with DIVIDE_BY_ZERO_EXCEPTION.
52284         (gamma_test_data): Likewise.
52285         (lgamma_test_data): Likewise.
52286         (log_test_data): Likewise.
52287         (log10_test_data): Likewise.
52288         (log2_test_data): Likewise.
52289         (tgamma_test_data): Likewise.
52291         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52292         (acos_test_tonearest): Likewise.
52293         (acos_test_towardzero): Likewise.
52294         (acos_test_downward): Likewise.
52295         (acos_test_upward): Likewise.
52296         (acosh_test): Likewise.
52297         (asin_test): Likewise.
52298         (asin_test_tonearest): Likewise.
52299         (asin_test_towardzero): Likewise.
52300         (asin_test_downward): Likewise.
52301         (asin_test_upward): Likewise.
52302         (asinh_test): Likewise.
52303         (atan_test): Likewise.
52304         (atanh_test): Likewise.
52305         (atan2_test): Likewise.
52306         (cabs_test): Likewise.
52307         (cacos_test): Likewise.
52308         (cacosh_test): Likewise.
52309         (casin_test): Likewise.
52310         (casinh_test): Likewise.
52311         (catan_test): Likewise.
52312         (catanh_test): Likewise.
52313         (cbrt_test): Likewise.
52314         (ccos_test): Likewise.
52315         (ccosh_test): Likewise.
52316         (cexp_test): Likewise.
52317         (clog_test): Likewise.
52318         (clog10_test): Likewise.
52319         (cos_test): Likewise.
52320         (cos_test_tonearest): Likewise.
52321         (cos_test_towardzero): Likewise.
52322         (cos_test_downward): Likewise.
52323         (cos_test_upward): Likewise.
52324         (cosh_test): Likewise.
52325         (cosh_test_tonearest): Likewise.
52326         (cosh_test_towardzero): Likewise.
52327         (cosh_test_downward): Likewise.
52328         (cosh_test_upward): Likewise.
52329         (cpow_test): Likewise.
52330         (csin_test): Likewise.
52331         (csinh_test): Likewise.
52332         (csqrt_test): Likewise.
52333         (ctan_test): Likewise.
52334         (ctan_test_tonearest): Likewise.
52335         (ctan_test_towardzero): Likewise.
52336         (ctan_test_downward): Likewise.
52337         (ctan_test_upward): Likewise.
52338         (ctanh_test): Likewise.
52339         (ctanh_test_tonearest): Likewise.
52340         (ctanh_test_towardzero): Likewise.
52341         (ctanh_test_downward): Likewise.
52342         (ctanh_test_upward): Likewise.
52343         (erf_test): Likewise.
52344         (erfc_test): Likewise.
52345         (exp_test): Likewise.
52346         (exp_test_tonearest): Likewise.
52347         (exp_test_towardzero): Likewise.
52348         (exp_test_downward): Likewise.
52349         (exp_test_upward): Likewise.
52350         (exp10_test): Likewise.
52351         (exp2_test): Likewise.
52352         (expm1_test): Likewise.
52353         (fmod_test): Likewise.
52354         (gamma_test): Likewise.
52355         (hypot_test): Likewise.
52356         (j0_test): Likewise.
52357         (j1_test): Likewise.
52358         (jn_test): Likewise.
52359         (lgamma_test): Likewise.
52360         (log_test): Likewise.
52361         (log10_test): Likewise.
52362         (log1p_test): Likewise.
52363         (log2_test): Likewise.
52364         (logb_test_downward): Likewise.
52365         (pow_test): Likewise.
52366         (pow_test_tonearest): Likewise.
52367         (pow_test_towardzero): Likewise.
52368         (pow_test_downward): Likewise.
52369         (pow_test_upward): Likewise.
52370         (remainder_test): Likewise.
52371         (remquo_test): Likewise.
52372         (sin_test): Likewise.
52373         (sin_test_tonearest): Likewise.
52374         (sin_test_towardzero): Likewise.
52375         (sin_test_downward): Likewise.
52376         (sin_test_upward): Likewise.
52377         (sincos_test): Likewise.
52378         (sinh_test): Likewise.
52379         (sinh_test_tonearest): Likewise.
52380         (sinh_test_towardzero): Likewise.
52381         (sinh_test_downward): Likewise.
52382         (sinh_test_upward): Likewise.
52383         (sqrt_test): Likewise.
52384         (tan_test): Likewise.
52385         (tan_test_tonearest): Likewise.
52386         (tan_test_towardzero): Likewise.
52387         (tan_test_downward): Likewise.
52388         (tan_test_upward): Likewise.
52389         (tanh_test): Likewise.
52390         (tgamma_test): Likewise.
52391         (y0_test): Likewise.
52392         (y1_test): Likewise.
52393         (yn_test): Likewise.
52395         * math/gen-libm-test.pl (adjust_arg): Remove function.
52396         (special_function): Remove argument $in_func.  Only handle
52397         generating output for tables of tests, not inside functions.
52398         (parse_args): Likewise.
52399         (generate_testfile): Remove variable $in_func.  Update call to
52400         parse_args.
52401         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52402         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52403         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52404         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52405         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52406         (MAX_VALUE_INIT): Rename macro to max_value.
52407         (MIN_VALUE_INIT): Rename macro to min_value.
52408         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52409         (plus_zero): Remove variable.
52410         (minus_zero): Likewise.
52411         (plus_infty): Likewise.
52412         (minus_infty): Likewise.
52413         (qnan_value): Likewise.
52414         (max_value): Likewise.
52415         (min_value): Likewise.
52416         (min_subnorm_value): Likewise.
52418 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52420         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52421         uint64_t or uint32_t usage.
52422         * crypt/sha256-block.c: Likewise.
52423         * crypt/sha256-crypt.c: Likewise.
52424         * crypt/sha256.c: Likewise.
52425         * crypt/sha512-block.c: Likewise.
52426         * crypt/sha512-crypt.c: Likewise.
52427         * crypt/sha512.c: Likewise.
52428         * debug/backtrace-tst.c: Likewise.
52429         * debug/pcprofiledump.c: Likewise.
52430         * elf/cache.c: Likewise.
52431         * elf/dl-cache.c: Likewise.
52432         * elf/dl-misc.c: Likewise.
52433         * elf/dl-profile.c: Likewise.
52434         * elf/dl-support.c: Likewise.
52435         * elf/ldconfig.c: Likewise.
52436         * elf/sprof.c: Likewise.
52437         * iconv/dummy-repertoire.c: Likewise.
52438         * iconv/iconv_charmap.c: Likewise.
52439         * iconv/skeleton.c: Likewise.
52440         * iconvdata/8bit-generic.c: Likewise.
52441         * iconvdata/cp737.h: Likewise.
52442         * iconvdata/cp775.h: Likewise.
52443         * iconvdata/ibm1008.h: Likewise.
52444         * iconvdata/ibm1025.h: Likewise.
52445         * iconvdata/ibm1046.h: Likewise.
52446         * iconvdata/ibm1097.h: Likewise.
52447         * iconvdata/ibm1112.h: Likewise.
52448         * iconvdata/ibm1122.h: Likewise.
52449         * iconvdata/ibm1123.h: Likewise.
52450         * iconvdata/ibm1124.h: Likewise.
52451         * iconvdata/ibm1129.h: Likewise.
52452         * iconvdata/ibm1130.h: Likewise.
52453         * iconvdata/ibm1132.h: Likewise.
52454         * iconvdata/ibm1133.h: Likewise.
52455         * iconvdata/ibm1137.h: Likewise.
52456         * iconvdata/ibm1140.h: Likewise.
52457         * iconvdata/ibm1141.h: Likewise.
52458         * iconvdata/ibm1142.h: Likewise.
52459         * iconvdata/ibm1143.h: Likewise.
52460         * iconvdata/ibm1144.h: Likewise.
52461         * iconvdata/ibm1145.h: Likewise.
52462         * iconvdata/ibm1146.h: Likewise.
52463         * iconvdata/ibm1147.h: Likewise.
52464         * iconvdata/ibm1148.h: Likewise.
52465         * iconvdata/ibm1149.h: Likewise.
52466         * iconvdata/ibm1153.h: Likewise.
52467         * iconvdata/ibm1154.h: Likewise.
52468         * iconvdata/ibm1155.h: Likewise.
52469         * iconvdata/ibm1156.h: Likewise.
52470         * iconvdata/ibm1157.h: Likewise.
52471         * iconvdata/ibm1158.h: Likewise.
52472         * iconvdata/ibm1160.h: Likewise.
52473         * iconvdata/ibm1161.h: Likewise.
52474         * iconvdata/ibm1162.h: Likewise.
52475         * iconvdata/ibm1163.h: Likewise.
52476         * iconvdata/ibm1164.h: Likewise.
52477         * iconvdata/ibm1166.h: Likewise.
52478         * iconvdata/ibm1167.h: Likewise.
52479         * iconvdata/ibm12712.h: Likewise.
52480         * iconvdata/ibm1390.h: Likewise.
52481         * iconvdata/ibm1399.h: Likewise.
52482         * iconvdata/ibm16804.h: Likewise.
52483         * iconvdata/ibm4517.h: Likewise.
52484         * iconvdata/ibm4899.h: Likewise.
52485         * iconvdata/ibm4909.h: Likewise.
52486         * iconvdata/ibm4971.h: Likewise.
52487         * iconvdata/ibm5347.h: Likewise.
52488         * iconvdata/ibm803.h: Likewise.
52489         * iconvdata/ibm856.h: Likewise.
52490         * iconvdata/ibm901.h: Likewise.
52491         * iconvdata/ibm902.h: Likewise.
52492         * iconvdata/ibm9030.h: Likewise.
52493         * iconvdata/ibm9066.h: Likewise.
52494         * iconvdata/ibm921.h: Likewise.
52495         * iconvdata/ibm922.h: Likewise.
52496         * iconvdata/ibm9448.h: Likewise.
52497         * iconvdata/isiri-3342.h: Likewise.
52498         * iconvdata/jis0201.h: Likewise.
52499         * include/link.h: Likewise.
52500         * include/netdb.h: Likewise.
52501         * inet/check_native.c: Likewise.
52502         * inet/check_pf.c: Likewise.
52503         * inet/getipv4sourcefilter.c: Likewise.
52504         * inet/getnameinfo.c: Likewise.
52505         * inet/getsourcefilter.c: Likewise.
52506         * inet/htonl.c: Likewise.
52507         * inet/setipv4sourcefilter.c: Likewise.
52508         * inet/setsourcefilter.c: Likewise.
52509         * inet/test-inet6_opt.c: Likewise.
52510         * inet/tst-network.c: Likewise.
52511         * locale/C-collate.c: Likewise.
52512         * locale/C-ctype.c: Likewise.
52513         * locale/C-time.c: Likewise.
52514         * locale/C-translit.h: Likewise.
52515         * locale/loadarchive.c: Likewise.
52516         * locale/programs/3level.h: Likewise.
52517         * locale/programs/charmap.c: Likewise.
52518         * locale/programs/charmap.h: Likewise.
52519         * locale/programs/ld-address.c: Likewise.
52520         * locale/programs/ld-collate.c: Likewise.
52521         * locale/programs/ld-ctype.c: Likewise.
52522         * locale/programs/ld-identification.c: Likewise.
52523         * locale/programs/ld-measurement.c: Likewise.
52524         * locale/programs/ld-messages.c: Likewise.
52525         * locale/programs/ld-monetary.c: Likewise.
52526         * locale/programs/ld-name.c: Likewise.
52527         * locale/programs/ld-numeric.c: Likewise.
52528         * locale/programs/ld-paper.c: Likewise.
52529         * locale/programs/ld-telephone.c: Likewise.
52530         * locale/programs/ld-time.c: Likewise.
52531         * locale/programs/linereader.c: Likewise.
52532         * locale/programs/locale.c: Likewise.
52533         * locale/programs/locarchive.c: Likewise.
52534         * locale/programs/locfile.h: Likewise.
52535         * locale/programs/repertoire.c: Likewise.
52536         * locale/programs/simple-hash.c: Likewise.
52537         * locale/programs/simple-hash.h: Likewise.
52538         * malloc/memusage.c: Likewise.
52539         * malloc/memusagestat.c: Likewise.
52540         * nis/nis_defaults.c: Likewise.
52541         * nis/nis_hash.c: Likewise.
52542         * nis/nis_print.c: Likewise.
52543         * nis/nis_xdr.c: Likewise.
52544         * nscd/connections.c: Likewise.
52545         * nscd/hstcache.c: Likewise.
52546         * nscd/nscd_gethst_r.c: Likewise.
52547         * nscd/nscd_getserv_r.c: Likewise.
52548         * nscd/nscd_helper.c: Likewise.
52549         * nscd/servicescache.c: Likewise.
52550         * nss/makedb.c: Likewise.
52551         * nss/nss_db/db-XXX.c: Likewise.
52552         * nss/nss_db/db-initgroups.c: Likewise.
52553         * nss/nss_db/db-netgrp.c: Likewise.
52554         * nss/nss_files/files-network.c: Likewise.
52555         * nss/nss_files/files-parse.c: Likewise.
52556         * posix/bug-regex5.c: Likewise.
52557         * posix/fnmatch_loop.c: Likewise.
52558         * posix/regcomp.c: Likewise.
52559         * posix/regexec.c: Likewise.
52560         * posix/tst-rfc3484-2.c: Likewise.
52561         * posix/tst-rfc3484-3.c: Likewise.
52562         * posix/tst-rfc3484.c: Likewise.
52563         * resolv/nss_dns/dns-canon.c: Likewise.
52564         * resolv/nss_dns/dns-network.c: Likewise.
52565         * resolv/res_init.c: Likewise.
52566         * resolv/res_mkquery.c: Likewise.
52567         * resolv/tst-aton.c: Likewise.
52568         * stdlib/cxa_atexit.c: Likewise.
52569         * stdlib/cxa_finalize.c: Likewise.
52570         * stdlib/gen-fpioconst.c: Likewise.
52571         * stdlib/strtol_l.c: Likewise.
52572         * string/tst-endian.c: Likewise.
52573         * sunrpc/auth_des.c: Likewise.
52574         * sunrpc/clnt_udp.c: Likewise.
52575         * sunrpc/rtime.c: Likewise.
52576         * sunrpc/svcauth_des.c: Likewise.
52577         * sunrpc/xdr.c: Likewise.
52578         * sunrpc/xdr_intXX_t.c: Likewise.
52579         * sunrpc/xdr_rec.c: Likewise.
52580         * sysdeps/generic/ldconfig.h: Likewise.
52581         * sysdeps/generic/ldsodefs.h: Likewise.
52582         * sysdeps/generic/memusage.h: Likewise.
52583         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52584         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52585         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52586         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52587         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52589         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52591         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52593         * sysdeps/posix/getaddrinfo.c: Likewise.
52594         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52595         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52596         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52597         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52598         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52599         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52600         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52601         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52602         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52603         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52604         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52605         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52606         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52607         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52608         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52609         * sysdeps/x86_64/dl-tls.h: Likewise.
52610         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52611         * time/alt_digit.c: Likewise.
52612         * time/era.c: Likewise.
52613         * wcsmbs/tst-c16c32-1.c: Likewise.
52615 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52617         * math/libm-test.inc (struct test_sincos_data): New type.
52618         (RUN_TEST_LOOP_sincos): New macro.
52619         (sincos_test_data): New variable.
52620         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52622 2013-05-16  Richard Henderson  <rth@redhat.com>
52624         * math/atest-exp2.c (LIMB64): New macro.
52625         (CONSTSZ): New macro.
52626         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52627         (hexdig): Move ...
52628         (print_mpn_fp): ... to function scope.
52629         (read_mpn_hex): Remove.
52630         (get_log2): Remove.
52631         (exp2_mpn): Use mp_log2.
52632         (main): Use mp_exp1.
52634 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52636         * math/libm-test.inc: Remove comment about not testing "inexact"
52637         exceptions.
52638         (INEXACT_EXCEPTION): New macro.
52639         (NO_INEXACT_EXCEPTION): Likewise.
52640         (INVALID_EXCEPTION_OK): Update value.
52641         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52642         (OVERFLOW_EXCEPTION_OK): Likewise.
52643         (UNDERFLOW_EXCEPTION_OK): Likewise.
52644         (IGNORE_ZERO_INF_SIGN): Likewise.
52645         (ERRNO_UNCHANGED): Likewise.
52646         (ERRNO_EDOM): Likewise.
52647         (ERRNO_ERANGE): Likewise.
52648         (test_exceptions): Handle testing "inexact" exceptions.
52649         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52650         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52651         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52652         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52653         INEXACT_EXCEPTION.
52654         (rint_towardzero_test_data): Likewise.
52655         (rint_downward_test_data): Likewise.
52656         (rint_upward_test_data): Likewise.
52658         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52659         with OVERFLOW_EXCEPTION.
52660         (exp10_test_data): Likewise.
52661         (exp2_test_data): Likewise.
52662         (expm1_test_data): Likewise.
52663         (lgamma_test_data): Likewise.
52664         (pow_test_data): Likewise.
52665         (tgamma_test_data): Likewise.
52666         (yn_test_data): Remove duplicate test of overflow.
52668         * math/libm-test.inc (struct test_cc_c_data): New type.
52669         (RUN_TEST_LOOP_cc_c): New macro.
52670         (cpow_test_data): New variable.
52671         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52673         * math/libm-test.inc (struct test_f_L_data): New type.
52674         (RUN_TEST_LOOP_f_L): New macro.
52675         (llrint_test_data): New variable.
52676         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52677         (llrint_tonearest_test_data): New variable.
52678         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52679         (llrint_towardzero_test_data): New variable.
52680         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52681         (llrint_downward_test_data): New variable.
52682         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52683         (llrint_upward_test_data): New variable.
52684         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52685         (llround_test_data): New variable.
52686         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52688 2013-05-13  Peter Collingbourne  <pcc@google.com>
52690         * math/atest-exp2.c (get_log2): Remove const attribute.
52692 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52694         * math/libm-test.inc (struct test_f_l_data): New type.
52695         (RUN_TEST_LOOP_f_l): New macro.
52696         (lrint_test_data): New variable.
52697         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52698         (lrint_tonearest_test_data): New variable.
52699         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52700         (lrint_towardzero_test_data): New variable.
52701         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52702         (lrint_downward_test_data): New variable.
52703         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52704         (lrint_upward_test_data): New variable.
52705         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52706         (lround_test_data): New variable.
52707         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52709 2013-05-15  Peter Collingbourne  <pcc@google.com>
52711         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52712         (EXTRACT_WORDS64) Use where appropriate.
52713         (INSERT_WORDS64) Likewise.
52715         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52716         constraints with x constraints.
52717         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52719         * malloc/obstack.c (_obstack_compat): Add initializer.
52721 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52723         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52724         si_trapno and add si_addr_lsb to _sifields.sigfault.
52725         (si_trapno): Remove macro.
52726         (si_addr_lsb): Define new macro.
52727         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52729 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52731         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52732         instead of TEST_f_l.
52733         (llrint_test_tonearest): Likewise.
52734         (llrint_test_towardzero): Likewise.
52735         (llrint_test_downward): Likewise.
52736         (llrint_test_upward): Likewise.
52737         (llround_test): Likewise.
52739         * math/libm-test.inc (struct test_f_i_data): Add comment.
52740         (RUN_TEST_LOOP_f_b): New macro.
52741         (RUN_TEST_LOOP_f_b_tg): Likewise.
52742         (finite_test_data): New variable.
52743         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52744         (isfinite_test_data): New variable.
52745         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52746         (isinf_test_data): New variable.
52747         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52748         (isnan_test_data): New variable.
52749         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52750         (isnormal_test_data): New variable.
52751         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52752         (issignaling_test_data): New variable.
52753         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52754         (signbit_test_data): New variable.
52755         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52757         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52758         with INVALID_EXCEPTION.
52759         (acosh_test_data): Likewise.
52760         (asin_test_data): Likewise.
52761         (atanh_test_data): Likewise.
52762         (fmod_test_data): Likewise.
52763         (log_test_data): Likewise.
52764         (log10_test_data): Likewise.
52765         (log2_test_data): Likewise.
52766         (pow_test_data): Likewise.
52767         (sqrt_test_data): Likewise.
52768         (y0_test_data): Likewise.
52769         (y1_test_data): Likewise.
52770         (yn_test_data): Likewise.
52772         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52773         function contents.
52775         * math/libm-test.inc (struct test_ff_i_data): New type.
52776         (RUN_TEST_LOOP_ff_i_tg): New macro.
52777         (isgreater_test_data): New variable.
52778         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52779         (isgreaterequal_test_data): New variable.
52780         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52781         (isless_test_data): New variable.
52782         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52783         (islessequal_test_data): New variable.
52784         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52785         (islessgreater_test_data): New variable.
52786         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52787         (isunordered_test_data): New variable.
52788         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52790 2013-05-14  David S. Miller  <davem@davemloft.net>
52792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52794 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52796         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52798         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52799         extra_test to int.
52800         (struct test_f_i_data): Change type of max_ulp to int.
52802         * math/libm-test.inc (test_ffI_f1_data): New type.
52803         (RUN_TEST_LOOP_ffI_f1): New macro.
52804         (remquo_test_data): New variable.
52805         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52807         * setjmp/tst-setjmp-fp.c: New file.
52808         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52809         (link-libm): New variable.
52810         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52812         * math/libm-test.inc (struct test_f_i_data): New type.
52813         (RUN_TEST_LOOP_f_i): New macro.
52814         (RUN_TEST_LOOP_f_i_tg): Likewise.
52815         (fpclassify_test_data): New variable.
52816         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52817         (ilogb_test_data): New variable.
52818         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52820         * math/libm-test.inc (scalbln_test): Correct function name in END
52821         call.
52823         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52824         (RUN_TEST_LOOP_fI_f1): New macro.
52825         (frexp_test_data): New variable.
52826         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52828         * math/libm-test.inc (struct test_fF_f1_data): New type.
52829         (RUN_TEST_LOOP_fF_f1): New macro.
52830         (modf_test_data): New variable.
52831         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52833         * math/libm-test.inc (struct test_f_f1_data): New type.
52834         (RUN_TEST_LOOP_f_f1): New macro.
52835         (gamma_test_data): New variable.
52836         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52837         (lgamma_test_data): New variable.
52838         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52840 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52842         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52843         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52844         (main): Comment "tls" pseudo-hwcap.
52846 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52848         * math/libm-test.inc (struct test_fl_f_data): New type.
52849         (RUN_TEST_LOOP_fl_f): New variable.
52850         (scalbln_test_data): New variable.
52851         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52853         * math/libm-test.inc (struct test_fi_f_data): New type.
52854         (RUN_TEST_LOOP_fi_f): New macro.
52855         (ldexp_test_data): New variable.
52856         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52857         (scalbn_test_data): New variable.
52858         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52860         * math/libm-test.inc (struct test_c_f_data): New type.
52861         (RUN_TEST_LOOP_c_f): New macro.
52862         (cabs_test_data): New variable.
52863         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52864         (carg_test_data): New variable.
52865         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52866         (cimag_test_data): New variable.
52867         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52868         (creal_test_data): New variable.
52869         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52871         * math/libm-test.inc (struct test_if_f_data): New type.
52872         (RUN_TEST_LOOP_if_f): New macro.
52873         (jn_test_data): New variable.
52874         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52875         (yn_test_data): New variable.
52876         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52878         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52880 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52882         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52883         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52885 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52887         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52888         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52889         (bench-deps): Add bench-timing.h.
52890         * benchtests-bench-skeleton.c: Include bench-timing.h.
52891         (main): Use TIMING_* macros instead of clock_gettime.
52892         * benchtests/bench-timing.h: New file.
52894         [BZ #14582]
52895         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52896         Renamed from _LIB_VERSION.
52897         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52899 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52901         * math/libm-test.inc (struct test_fff_f_data): New type.
52902         (RUN_TEST_LOOP_fff_f): New macro.
52903         (fma_test_data): New variable.
52904         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52905         (fma_towardzero_test_data): New variable.
52906         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52907         (fma_downward_test_data): New variable.
52908         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52909         (fma_upward_test_data): New variable.
52910         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52912         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52913         (struct test_c_c_data): New type.
52914         (RUN_TEST_LOOP_c_c): New macro.
52915         (cacos_test_data): New variable.
52916         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52917         (cacosh_test_data): New variable.
52918         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52919         (casin_test_data): New variable.
52920         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52921         (casinh_test_data): New variable.
52922         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52923         (catan_test_data): New variable.
52924         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52925         (catanh_test_data): New variable.
52926         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52927         (ccos_test_data): New variable.
52928         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52929         (ccosh_test_data): New variable.
52930         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52931         (cexp_test_data): New variable.
52932         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52933         (clog_test_data): New variable.
52934         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52935         (clog10_test_data): New variable.
52936         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52937         (conj_test_data): New variable.
52938         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52939         (cproj_test_data): New variable.
52940         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52941         (csin_test_data): New variable.
52942         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52943         (csinh_test_data): New variable.
52944         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52945         (csqrt_test_data): New variable.
52946         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52947         (ctan_test_data): New variable.
52948         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52949         (ctan_tonearest_test_data): New variable.
52950         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52951         (ctan_towardzero_test_data): New variable.
52952         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52953         (ctan_downward_test_data): New variable.
52954         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52955         (ctan_upward_test_data): New variable.
52956         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52957         (ctanh_test_data): New variable.
52958         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52959         (ctanh_tonearest_test_data): New variable.
52960         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52961         (ctanh_towardzero_test_data): New variable.
52962         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52963         (ctanh_downward_test_data): New variable.
52964         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52965         (ctanh_upward_test_data): New variable.
52966         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52967         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52968         of BUILD_COMPLEX.
52970         * math/libm-test.inc (struct test_ff_f_data): New type.
52971         (struct test_ff_f_data_nexttoward): Likewise.
52972         (RUN_TEST_LOOP_2_f): New macro.
52973         (RUN_TEST_LOOP_ff_f): Likewise.
52974         (atan2_test_data): New variable.
52975         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52976         (copysign_test_data): New variable.
52977         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52978         (fdim_test_data): New variable.
52979         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52980         (fmax_test_data): New variable.
52981         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52982         (fmin_test_data): New variable.
52983         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52984         (fmod_test_data): New variable.
52985         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52986         (hypot_test_data): New variable.
52987         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52988         (nextafter_test_data): New variable.
52989         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52990         (nexttoward_test_data): New variable.
52991         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52992         (pow_test_data): New variable.
52993         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52994         (pow_tonearest_test_data): New variable.
52995         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52996         (pow_towardzero_test_data): New variable.
52997         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52998         (pow_downward_test_data): New variable.
52999         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53000         (pow_upward_test_data): New variable.
53001         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53002         (remainder_test_data): New variable.
53003         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53004         (scalb_test_data): New variable.
53005         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53006         * sysdeps/i386/fpu/libm-test-ulps: Update.
53008 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53010         * math/libm-test.inc (fma_test): Use max_value instead of local
53011         variable fltmax.
53012         (nextafter_test): Likewise.
53014         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53015         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53016         (acos_downward_test_data): New variable.
53017         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53018         (acos_upward_test_data): New variable.
53019         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53020         (acosh_test_data): New variable.
53021         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53022         (asin_test_data): New variable.
53023         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53024         (asin_tonearest_test_data): New variable.
53025         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53026         (asin_towardzero_test_data): New variable.
53027         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53028         (asin_downward_test_data): New variable.
53029         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53030         (asin_upward_test_data): New variable.
53031         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53032         (asinh_test_data): New variable.
53033         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53034         (atan_test_data): New variable.
53035         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53036         (atanh_test_data): New variable.
53037         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53038         (cbrt_test_data): New variable.
53039         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53040         (ceil_test_data): New variable.
53041         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53042         (cos_test_data): New variable.
53043         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53044         (cos_tonearest_test_data): New variable.
53045         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53046         (cos_towardzero_test_data): New variable.
53047         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53048         (cos_downward_test_data): New variable.
53049         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53050         (cos_upward_test_data): New variable.
53051         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53052         (cosh_test_data): New variable.
53053         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53054         (cosh_tonearest_test_data): New variable.
53055         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53056         (cosh_towardzero_test_data): New variable.
53057         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53058         (cosh_downward_test_data): New variable.
53059         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53060         (cosh_upward_test_data): New variable.
53061         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53062         (erf_test_data): New variable.
53063         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53064         (erfc_test_data): New variable.
53065         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53066         (exp_test_data): New variable.
53067         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53068         (exp_tonearest_test_data): New variable.
53069         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53070         (exp_towardzero_test_data): New variable.
53071         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53072         (exp_downward_test_data): New variable.
53073         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53074         (exp_upward_test_data): New variable.
53075         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53076         (exp10_test_data): New variable.
53077         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53078         (exp2_test_data): New variable.
53079         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53080         (expm1_test_data): New variable.
53081         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53082         (fabs_test_data): New variable.
53083         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53084         (floor_test_data): New variable.
53085         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53086         (j0_test_data): New variable.
53087         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53088         (j1_test_data): New variable.
53089         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53090         (log_test_data): New variable.
53091         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53092         (log10_test_data): New variable.
53093         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53094         (log1p_test_data): New variable.
53095         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53096         (log2_test_data): New variable.
53097         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53098         (logb_test_data): New variable.
53099         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53100         (logb_downward_test_data): New variable.
53101         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53102         (nearbyint_test_data): New variable.
53103         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53104         (rint_test_data): New variable.
53105         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53106         (rint_tonearest_test_data): New variable.
53107         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53108         (rint_towardzero_test_data): New variable.
53109         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53110         (rint_downward_test_data): New variable.
53111         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53112         (rint_upward_test_data): New variable.
53113         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53114         (round_test_data): New variable.
53115         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53116         (sin_test_data): New variable.
53117         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53118         (sin_tonearest_test_data): New variable.
53119         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53120         (sin_towardzero_test_data): New variable.
53121         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53122         (sin_downward_test_data): New variable.
53123         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53124         (sin_upward_test_data): New variable.
53125         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53126         (sinh_test_data): New variable.
53127         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53128         (sinh_tonearest_test_data): New variable.
53129         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53130         (sinh_towardzero_test_data): New variable.
53131         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53132         (sinh_downward_test_data): New variable.
53133         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53134         (sinh_upward_test_data): New variable.
53135         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53136         (sqrt_test_data): New variable.
53137         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53138         (tan_test_data): New variable.
53139         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53140         (tan_tonearest_test_data): New variable.
53141         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53142         (tan_towardzero_test_data): New variable.
53143         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53144         (tan_downward_test_data): New variable.
53145         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53146         (tan_upward_test_data): New variable.
53147         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53148         (tanh_test_data): New variable.
53149         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53150         (tgamma_test_data): New variable.
53151         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53152         (trunc_test_data): New variable.
53153         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53154         (y0_test_data): New variable.
53155         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53156         (y1_test_data): New variable.
53157         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53158         (significand_test_data): New variable.
53159         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53161 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53163         [BZ #12387]
53164         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53166 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53168         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53170 2013-05-10  Andreas Jaeger  <aj@suse.de>
53172         [BZ #15448]
53173         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53174         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53176 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53178         * math/gen-libm-test.pl (adjust_arg): New function.
53179         (special_functions): Handle generating output in both functions
53180         and arrays.
53181         (parse_args): Likewise.
53182         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53183         $in_func argument to parse_args.
53184         * math/libm-test.inc (struct test_f_f_data): New type.
53185         (IF_ROUND_INIT_): New macro.
53186         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53187         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53188         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53189         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53190         (ROUND_RESTORE_): Likewise.
53191         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53192         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53193         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53194         (ROUND_RESTORE_FE_UPWARD): Likewise.
53195         (RUN_TEST_LOOP_f_f): New macro.
53196         (acos_test_data): New variable.
53197         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53198         (acos_tonearest_test_data): New variable.
53199         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53201 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53203         * benchtests/bench-skeleton.c (startup): Fix coding style.
53205 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53207         [BZ #6809]
53208         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53209         negative infinity argument.
53210         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53211         negative infinity argument.
53212         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53213         negative infinity argument.
53214         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53215         domain errors.
53217 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53219         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53220         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53221         * iconv/iconv_prog.c (main): Likewise.
53222         * locale/programs/charmap-dir.c (charmap_readdir)
53223         (fopen_uncompressed): Likewise.
53224         * locale/programs/locfile.c (siblings_uncached)
53225         (write_locale_data): Use lstat64 instead of lstat.
53226         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53227         stat.
53229 2013-05-10  Andreas Jaeger  <aj@suse.de>
53231         [BZ #15395]
53232         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53233         localization.
53234         Include <locale.h>.
53236 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53238         * elf/dl-close.c (_dl_close_worker): Add comments.
53240 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53242         [BZ #15359]
53243         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53244         high part of pi/2.
53245         (__ieee754_rem_pio2l): Update comments.
53247         [BZ #15429]
53248         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53249         high part of pi/2.
53250         (__ieee754_rem_pio2l): Update comments.
53252         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53253         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53255         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53256         M_PI_4l.
53258         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53259         (M_PI_34_LOG10El): Likewise.
53260         (M_PI2_LOG10El): Likewise.
53261         (M_PI4_LOG10El): Likewise.
53262         (M_PI_LOG10El): Likewise.
53264 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53268 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53270         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53271         (MINUS_ZERO_INIT): Likewise.
53272         (PLUS_INFTY_INIT): Likewise.
53273         (MINUS_INFTY_INIT): Likewise.
53274         (QNAN_VALUE_INIT): Likewise.
53275         (MAX_VALUE_INIT): Likewise.
53276         (MIN_VALUE_INIT): Likewise.
53277         (MIN_SUBNORM_VALUE_INIT): Likewise.
53278         (plus_zero): Initialize with PLUS_ZERO_INIT.
53279         (minus_zero): Initialize with MINUS_ZERO_INIT.
53280         (plus_infty): Initialize with PLUS_INFTY_INIT.
53281         (minus_infty): Initialize with MINUS_INFTY_INIT.
53282         (qnan_value): Initialize with QNAN_VALUE_INIT.
53283         (max_value): Initialize with MAX_VALUE_INIT.
53284         (min_value): Initialize with MIN_VALUE_INIT.
53285         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53287         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53288         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53289         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53290         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53292         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53293         (RUN_TEST_2_f): Likewise.
53294         (RUN_TEST_ff_f): Likewise.
53295         (RUN_TEST_fi_f): Likewise.
53296         (RUN_TEST_fl_f): Likewise.
53297         (RUN_TEST_fff_f): Likewise.
53298         (RUN_TEST_c_f): Likewise.
53299         (RUN_TEST_f_f1): Likewise.
53300         (RUN_TEST_fF_f1): Likewise.
53301         (RUN_TEST_fI_f1): Likewise.
53302         (RUN_TEST_ffI_f1): Likewise.
53303         (RUN_TEST_c_c): Likewise.
53304         (RUN_TEST_cc_c): Likewise.
53305         (RUN_TEST_f_i): Likewise.
53306         (RUN_TEST_f_i_tg): Likewise.
53307         (RUN_TEST_ff_i_tg): Likewise.
53308         (RUN_TEST_f_b): Likewise.
53309         (RUN_TEST_f_b_tg): Likewise.
53310         (RUN_TEST_f_l): Likewise.
53311         (RUN_TEST_f_L): Likewise.
53312         (RUN_TEST_sincos): Likewise.
53313         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53314         whether to show exceptions.  Do not include ");\n" in return
53315         value.
53316         (special_functions): Output call to RUN_TEST_sincos instead of
53317         check_float calls.  Update calls to new_test.
53318         (parse_args): Output call to single RUN_TEST_* macro instead of
53319         check_* calls and other assignments.  Update calls to new_test.
53321         [BZ #2546]
53322         [BZ #2560]
53323         [BZ #5159]
53324         [BZ #15426]
53325         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53326         input to result for tgamma overflow.
53327         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53328         (gamma_coeff): New variable.
53329         (NCOEFF): New macro.
53330         (gamma_positive): New function.
53331         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53332         underflow here.  Use gamma_positive instead of exp (lgamma) for
53333         other arguments.
53334         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53335         (gamma_coeff): New variable.
53336         (NCOEFF): New macro.
53337         (gammaf_positive): New function.
53338         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53339         underflow here.  Use gamma_positive instead of exp (lgamma) for
53340         other arguments.
53341         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53342         (gamma_coeff): New variable.
53343         (NCOEFF): New macro.
53344         (gammal_positive): New function.
53345         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53346         underflow here.  Use gamma_positive instead of exp (lgamma) for
53347         other arguments.
53348         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53349         (gamma_coeff): New variable.
53350         (NCOEFF): New macro.
53351         (gammal_positive): New function.
53352         (__ieee754_gammal_r): Handle positive infinity, overflow and
53353         underflow here.  Handle NaN the same as positive infinity.  Remove
53354         check x < 0xffffffff for negative integers.  Use gamma_positive
53355         instead of exp (lgamma) for other arguments.
53356         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53357         (gamma_coeff): New variable.
53358         (NCOEFF): New macro.
53359         (gammal_positive): New function.
53360         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53361         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53362         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53363         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53364         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53365         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53366         * sysdeps/generic/math_private.h (__gamma_productf): New
53367         prototype.
53368         (__gamma_product): Likewise.
53369         (__gamma_productl): Likewise.
53370         * math/Makefile (libm-calls): Add gamma_product.
53371         * math/libm-test.inc (tgamma_test): Add more tests.
53372         * sysdeps/i386/fpu/libm-test-ulps: Update.
53373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53375 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53377         * benchtests/bench-skeleton.c (main): Preheat CPU.
53379 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53381         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53383 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53385         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53386         and _dl_skip_args_internal.
53388 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53390         * manual/message.texi (Message Translation): Talk about users.
53391         Message to key mapping impacts design.
53393 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53395         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53397         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53399         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53400         * sysdeps/wordsize-64/glob64.c: ... here.
53402         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53403         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53404         New macros.
53406         * debug/getlogin_r_chk.c: Moved to ...
53407         * login/getlogin_r_chk.c: ... here.
53408         * debug/Makefile (routines): Move getlogin_r_chk to ...
53409         * login/Makefile (routines): ... here.
53410         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53411         * login/Versions (libc: GLIBC_2.4): ... here.
53413         * io/poll.c (__poll): Renamed from poll.
53414         Add libc_hidden_def.
53415         (poll): Define as weak alias.
53417         * debug/ptsname_r_chk.c: Moved to ...
53418         * login/ptsname_r_chk.c: ... here.
53419         * debug/Makefile (routines): Move ptsname_r_chk to ...
53420         * login/Makefile (routines): ... here.
53421         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53422         * login/Versions (libc: GLIBC_2.4): ... here.
53424         * posix/getlogin.c: Moved to ...
53425         * login/getlogin.c: ... here.
53426         * posix/getlogin_r.c: Moved to ...
53427         * login/getlogin_r.c: ... here.
53428         * posix/getlogin_r.c: Moved to ...
53429         * login/getlogin_r.c: ... here.
53430         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53431         * login/Makefile (routines): ... here.
53432         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53433         * login/Versions (libc: GLIBC_2.0): ... here.
53435         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53436         (setrlimit): Define as weak alias.
53438         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53439         Call __ names for open, ftruncate, and close.
53440         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53441         (truncate): Define as weak alias.
53443 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53445         * math/gen-libm-test.pl (parse_args): Initialize x before each
53446         test of frexp, modf and remquo.
53448         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53449         test signgam value.
53451 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53453         [BZ #15418]
53454         [BZ #15419]
53455         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53456         internal tests.
53457         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53459 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53461         * elf/dl-writev.h: New file.
53462         * elf/dl-misc.c: Include it.
53463         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53464         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53466 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53468         * math/libm-test.inc (noXFails): Remove variable.
53469         (noXPasses): Likewise.
53470         (BUILD_COMPLEX_INT): Remove macro.
53471         (print_screen): Remove xfail argument.
53472         (print_screen_max_error): Likewise.
53473         (update_stats): Likewise.
53474         (print_max_error): Likewise.  Update calls to other affected
53475         functions.
53476         (print_complex_max_error): Likewise.
53477         (test_single_exception): Update calls to print_screen.
53478         (test_single_errno): Likewise.
53479         (check_float_internal): Remove xfail argument.  Update calls to
53480         other affected functions.
53481         (check_float): Likewise.
53482         (check_complex): Likewise.
53483         (check_int): Likewise.
53484         (check_long): Likewise.
53485         (check_bool): Likewise.
53486         (check_longlong): Likewise.
53487         (main): Don't print noXFails and noXPasses.
53488         * math/gen-libm-test.pl (top level): Don't mention expected
53489         failure handling in comment.
53490         (new_test): Don't handle expected failures.
53491         (parse_args): Don't mention expected failure handling in comment.
53492         (generate_testfile): Don't handle expected failures.
53493         (parse_ulps): Likewise.
53494         (print_ulps_file): Likewise.
53495         (get_failure): Remove function.
53496         (output_test): Don't handle expected failures.
53497         * make/README.libm-test: Don't mention expected failure handling.
53499         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53500         (minus_zero): Likewise.
53501         (plus_infty): Likewise.
53502         (minus_infty): Likewise.
53503         (qnan_value): Likewise.
53504         (max_value): Likewise.
53505         (min_value): Likewise.
53506         (min_subnorm_value): Likewise.
53507         (initialize): Do not initialize those variables dynamically.
53509 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53511         * io/open.c (__open_2): Moved to ...
53512         * io/open_2.c: ... this new file.
53513         * io/open64.c (__open64_2): Moved to ...
53514         * io/open64_2.c: ... this new file.
53515         * io/openat.c (__openat_2): Moved to ...
53516         * io/openat_2.c: ... this new file.
53517         * io/openat64.c (__openat64_2): Moved to ...
53518         * io/openat64_2.c: ... this new file.
53519         * io/Makefile (routines): Add them.
53520         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53521         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53522         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53523         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53524         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53525         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53526         (__openat64): Add hidden_ver.
53527         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53528         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53530         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53531         Separately conditionalize setting of GLRO(dl_sysinfo) so
53532         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53533         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53535 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53537         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53539         definition.
53540         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53541         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53542         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53543         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53544         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53546 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53548         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53549         test signgam value.
53551         * math/libm-test.inc (hypot_test): Do not use
53552         IGNORE_ZERO_INF_SIGN.
53554 2013-05-03  Andreas Jaeger  <aj@suse.de>
53556         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53557         Linux 3.9.
53558         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53559         (PF_MAX): Adjust for VSOCK change.
53561 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53565 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53567         [BZ #15264]
53568         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53569         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53570         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53572 2013-05-02  David S. Miller  <davem@davemloft.net>
53574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53576 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53578         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53580 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53582         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53584 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53586         [BZ #14952]
53587         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53588         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53589         Use __attribute__ ((__gnu_inline__)).
53590         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53591         Don't use __attribute__ ((__gnu_inline__)).
53593 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53595         [BZ #15423]
53596         * math/s_catan.c (__catan): Handle small real or imaginary part of
53597         input specially to avoid spurious underflow.
53598         * math/s_catanf.c (__catanf): Likewise.
53599         * math/s_catanh.c (__catanh): Likewise.
53600         * math/s_catanhf.c (__catanhf): Likewise.
53601         * math/s_catanhl.c (__catanhl): Likewise.
53602         * math/s_catanl.c (__catanl): Likewise.
53603         * math/libm-test.inc (catan_test): Add more tests.
53604         (catanh_test): Likewise.
53605         * sysdeps/i386/fpu/libm-test-ulps: Update.
53606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53608 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53612 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53614         [BZ #15416]
53615         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53616         accurately for denominator in atan2.
53617         * math/s_catanf.c (__catanf): Likewise.
53618         * math/s_catanh.c (__catanh): Likewise.
53619         * math/s_catanhf.c (__catanhf): Likewise.
53620         * math/s_catanhl.c (__catanhl): Likewise.
53621         * math/s_catanl.c (__catanl): Likewise.
53622         * math/libm-test.inc (catan_test): Add more tests.
53623         (catanh_test): Likewise.
53624         * sysdeps/i386/fpu/libm-test-ulps: Update.
53625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53627 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53629         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53631         * benchtests/Makefile (bench): Remove slow benchmarks.
53632         * benchtests/atan-inputs: Add slow benchmark inputs.
53633         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53634         (BENCH_FUNC): Accept variant offset.
53635         (VARIANT): Define.
53636         * benchtests/bench-skeleton.c (main): Run benchmark for each
53637         variant.
53638         * benchtests/cos-inputs: Add slow benchmark inputs.
53639         * benchtests/exp-inputs: Likewise.
53640         * benchtests/pow-inputs: Likewise.
53641         * benchtests/sin-inputs: Likewise.
53642         * benchtests/slowatan-inputs: Remove.
53643         * benchtests/slowatan.c: Remove.
53644         * benchtests/slowcos-inputs: Remove.
53645         * benchtests/slowcos.c: Remove.
53646         * benchtests/slowexp-inputs: Remove.
53647         * benchtests/slowexp.c: Remove.
53648         * benchtests/slowpow-inputs: Remove.
53649         * benchtests/slowpow.c: Remove.
53650         * benchtests/slowsin-inputs: Remove.
53651         * benchtests/slowsin.c: Remove.
53652         * benchtests/slowtan-inputs: Remove.
53653         * benchtests/slowtan.c: Remove.
53654         * benchtests/tan-inputs: Add slow benchmark inputs.
53655         * scripts/bench.pl: Parse comments and directives.
53657         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53658         in CPPFLAGS.
53659         ($(objpfx)bench-%.c): Remove *-ITER.
53660         * benchtests/bench-modf.c: Remove definition of ITER.
53661         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53662         (main): Loop for DURATION seconds instead of fixed number of
53663         iterations.
53664         * scripts/bench.pl: Don't expect iterations in parameters.
53666 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53668         * io/fchdir.c (__fchdir): Renamed from fchdir.
53669         (fchdir): Define as weak alias.
53671 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53673         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53674         (ERRNO_EDOM): Likewise.
53675         (ERRNO_ERANGE): Likewise.
53676         (noErrnoTests): New variable.
53677         (init_max_error): Set errno to 0.
53678         (test_single_errno): New function.
53679         (test_errno): Likewise.
53680         (check_float_internal): Call test_errno.  Set errno to 0.
53681         (check_complex): Refer to errno tests in comment.
53682         (check_int): Call test_errno.  Set errno to 0.
53683         (check_long): Likewise.
53684         (check_bool): Likewise.
53685         (check_longlong): Likewise.
53686         (cos_test): Use ERRNO_* flags for errno tests instead of
53687         check_int.
53688         (expm1_test): Likewise.
53689         (fmod_test): Likewise.
53690         (ilogb_test): Likewise.
53691         (lgamma_test): Likewise.
53692         (pow_test): Likewise.
53693         (remainder_test): Likewise.
53694         (sin_test): Likewise.
53695         (tan_test): Likewise.
53696         (yn_test): Likewise.
53697         (initialize): Set errno to 0.
53698         (main): Print number of errno tests.
53699         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53701 2013-04-29  Andreas Jaeger  <aj@suse.de>
53703         [BZ #15084]
53704         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53705         and RES_USEVC.
53707         [BZ #15085]
53708         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53709         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53710         unimplemented.
53712         [BZ #15380]
53713         * stdlib/random.c (__initstate): Return NULL if
53714         __initstate fails.
53716         [BZ #15086]
53717         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53718         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53719         RES_SNGLKUPREOP.
53721 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53725 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53727         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53728         of individual tests.
53729         (casin_test): Likewise.
53730         (casinh_test): Likewise.
53732 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53734         [BZ #15409]
53735         * math/s_catan.c (__catan): Handle arguments with large real or
53736         imaginary part separately without squaring.
53737         * math/s_catanf.c (__catanf): Likewise.
53738         * math/s_catanh.c (__catanh): Likewise.
53739         * math/s_catanhf.c (__catanhf): Likewise.
53740         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53741         and redefine.
53742         (__catanhl): Handle arguments with large real or imaginary part
53743         separately without squaring.
53744         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53745         and redefine.
53746         (__catanl): Handle arguments with large real or imaginary part
53747         separately without squaring.
53748         * math/libm-test.inc (catan_test): Add more tests.
53749         (catanh_test): Likewise.
53750         * sysdeps/i386/fpu/libm-test-ulps: Update.
53751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53753 2013-04-27  Andreas Jaeger  <aj@suse.de>
53755         [BZ #15007]
53756         * stdlib/stdlib.h: Update guards for qecvt.
53757         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53758         <stdlib.h>.
53760 2013-04-27  Allan McRae  <allan@archlinux.org>
53762         * sysdeps/i386/fpu/libm-test-ulps: Update.
53764 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53766         [BZ #15406]
53767         * math/s_catan.c: Include <float.h>.
53768         (__catan): Ensure underflow exception occurs for underflowed
53769         result.
53770         * math/s_catanf.c: Include <float.h>.
53771         (__catanf): Ensure underflow exception occurs for underflowed
53772         result.
53773         * math/s_catanh.c: Include <float.h>.
53774         (__catanh): Ensure underflow exception occurs for underflowed
53775         result.
53776         * math/s_catanhf.c: Include <float.h>.
53777         (__catanhf): Ensure underflow exception occurs for underflowed
53778         result.
53779         * math/s_catanhl.c: Include <float.h>.
53780         (__catanhl): Ensure underflow exception occurs for underflowed
53781         result.
53782         * math/s_catanl.c: Include <float.h>.
53783         (__catanl): Ensure underflow exception occurs for underflowed
53784         result.
53785         * math/libm-test.inc (catan_test): Add more tests.
53786         (catanh_test): Likewise.
53788         [BZ #15405]
53789         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53790         underflowed result.
53791         * math/s_ccoshf.c (__ccoshf): Likewise.
53792         * math/s_ccoshl.c (__ccoshl): Likewise.
53793         * math/s_csin.c (__csin): Likewise.
53794         * math/s_csinf.c (__csinf): Likewise.
53795         * math/s_csinh.c (__csinh): Likewise.
53796         * math/s_csinhf.c (__csinhf): Likewise.
53797         * math/s_csinhl.c (__csinhl): Likewise.
53798         * math/s_csinl.c (__csinl): Likewise.
53799         * math/libm-test.inc (ccos_test): Add more tests.
53800         (ccosh_test): Likewise.
53801         (csin_test): Likewise.
53802         (csinh_test): Likewise.
53804 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53806         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53807         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53808         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53809         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53810         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53811         powerpc/power5+/fpu folders.
53812         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53815 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53819 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53821         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53822         additions to variable.
53823         [$(config-machine) = x86_64] (modules-names): Likewise.
53824         ($(objpfx)tst-audit3): Remove dependency.
53825         ($(objpfx)tst-audit3.out): Likewise.
53826         ($(objpfx)tst-audit4): Likewise.
53827         ($(objpfx)tst-audit4.out): Likewise.
53828         ($(objpfx)tst-audit5): Likewise.
53829         ($(objpfx)tst-audit5.out): Likewise.
53830         ($(objpfx)tst-audit6): Likewise.
53831         ($(objpfx)tst-audit6.out): Likewise.
53832         ($(objpfx)tst-audit7): Likewise.
53833         ($(objpfx)tst-audit7.out): Likewise.
53834         (tst-audit3-ENV): Remove variable.
53835         (tst-audit4-ENV): Likewise.
53836         (tst-audit5-ENV): Likewise.
53837         (tst-audit6-ENV): Likewise.
53838         (tst-audit7-ENV): Likewise.
53839         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53840         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53841         addition to variable.
53842         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53844         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53846         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53847         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53848         tst-audit3, tst-audit4 and tst-audit5.
53849         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53850         tst-audit6 and tst-audit7.
53851         [$(subdir) = elf] (modules-names): Add audit modules for those
53852         tests.
53853         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53854         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53855         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53856         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53857         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53858         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53859         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53860         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53861         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53862         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53863         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53864         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53865         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53866         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53867         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53868         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53869         Likewise.
53870         [$(subdir) = elf && $(config-cflags-avx) = yes]
53871         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53872         [$(subdir) = elf && $(config-cflags-avx) = yes]
53873         (CFLAGS-tst-auditmod4a.c): Likewise.
53874         [$(subdir) = elf && $(config-cflags-avx) = yes]
53875         (CFLAGS-tst-auditmod4b.c): Likewise.
53876         [$(subdir) = elf && $(config-cflags-avx) = yes]
53877         (CFLAGS-tst-auditmod6b.c): Likewise.
53878         [$(subdir) = elf && $(config-cflags-avx) = yes]
53879         (CFLAGS-tst-auditmod6c.c): Likewise.
53880         [$(subdir) = elf && $(config-cflags-avx) = yes]
53881         (CFLAGS-tst-auditmod7b.c): Likewise.
53882         * elf/tst-audit3.c: Move to ...
53883         * sysdeps/x86_64/tst-audit3.c: ... here.
53884         * elf/tst-audit4.c: Move to ...
53885         * sysdeps/x86_64/tst-audit4.c: ... here.
53886         * elf/tst-audit5.c: Move to ...
53887         * sysdeps/x86_64/tst-audit5.c: ... here.
53888         * elf/tst-audit6.c: Move to ...
53889         * sysdeps/x86_64/tst-audit6.c: ... here.
53890         * elf/tst-audit7.c: Move to ...
53891         * sysdeps/x86_64/tst-audit7.c: ... here.
53892         * elf/tst-auditmod3a.c: Move to ...
53893         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53894         * elf/tst-auditmod3b.c: Move to ...
53895         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53896         * elf/tst-auditmod4a.c: Move to ...
53897         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53898         * elf/tst-auditmod4b.c: Move to ...
53899         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53900         * elf/tst-auditmod5a.c: Move to ...
53901         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53902         * elf/tst-auditmod5b.c: Move to ...
53903         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53904         * elf/tst-auditmod6a.c: Move to ...
53905         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53906         * elf/tst-auditmod6b.c: Move to ...
53907         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53908         * elf/tst-auditmod6c.c: Move to ...
53909         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53910         * elf/tst-auditmod7a.c: Move to ...
53911         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53912         * elf/tst-auditmod7b.c: Move to ...
53913         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53915 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53917         [BZ #15366]
53918         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53919         define unconditionally.
53920         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53921         define unconditionally.
53922         (INT8_C, INT16_C, etc.): Likewise.
53924 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53926         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53927         __ehdr_start with hidden visibility.
53929         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53931 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53933         * math/libm-test.inc (cos_test): Use accurate hex constants.
53934         (sincost_test): Likewise.
53936 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53938         * math/libm-test.inc (catan_test): Add more tests.
53939         (catanh_test): Likewise.
53941         * math/s_catanf.c (__catanf): Use suffixed floating-point
53942         constants.
53943         * math/s_catanhf.c (__catanhf): Likewise.
53944         * math/s_catanhl.c (__catanhl): Likewise.
53945         * math/s_catanl.c (__catanl): Likewise.
53947         [BZ #15394]
53948         * math/s_catan.c (__catan): Calculate imaginary part of result
53949         with log1p not log unless computing log of number close to 0.
53950         * math/s_catanf.c (__catanf): Likewise.
53951         * math/s_catanl.c (__catanl): Likewise.
53952         * math/s_catanh.c (__catanh): Calculate real part of result with
53953         log1p not log unless computing log of number close to 0.
53954         * math/s_catanhf.c (__catanhf): Likewise.
53955         * math/s_catanhl.c (__catanhl): Likewise.
53956         * math/libm-test.inc (catan_test): Add more tests.
53957         (catanh_test): Likewise.
53958         * sysdeps/i386/fpu/libm-test-ulps: Update.
53959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53961 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53963         * benchtests/Makefile: Mention files in which fast and slow
53964         paths of math functions are implemented.
53966 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53968         * sysdeps/posix/timespec_get.c: New file.
53970 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53972         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53973         POWER.
53974         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53975         for POWER.
53976         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53977         powerpc/power5/fpu folders.
53978         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53979         * benchtests/Makefile: Add modf testcase.
53980         * benchtests/bench-modf.c: New file: Benchmark test for mo
53982 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53984         [BZ #14888]
53985         * time/Makefile (tests): Add tst-strptime-whitespace.
53986         * time/strptime_l.c (get_number): Use ISSPACE.
53987         (__strptime_internal): Likewise.
53988         * time/tst-strptime-whitespace.c: New test case.
53990 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53992         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53993         member.
53994         (_nss_files_init): Set it here.
53996 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53998         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53999         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54000         unsigned.
54002 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54004         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54006 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54009         size just once.
54011 2013-04-21  David S. Miller  <davem@davemloft.net>
54013         * po/ru.po: Update Russion translation from translation project.
54015 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54017         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54018         and setfsgid.
54020 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54022         * configure.in: Remove i386 configure warning. Remove i386 case.
54023         * configure: Regenerate.
54024         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54025         Add example to error message.
54026         * sysdeps/i386/configure: Regenerate.
54028 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54031         slowtan.
54032         * benchtests/cos-inputs: New file.
54033         * benchtests/slowcos-inputs: New file.
54034         * benchtests/slowcos.c: New file.
54035         * benchtests/slowtan-inputs: New file.
54036         * benchtests/slowtan.c: New file.
54037         * benchtests/tan-inputs: New file.
54039 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54041         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54042         considered kosher.
54044 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54046         * benchtests/Makefile: Include cppflags-iterator.mk to add
54047         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54049         * Makefile.in (bench-clean): New target.
54050         * benchtests/Makefile (bench-clean): Likewise.
54052 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54054         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54056 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54058         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54060 2013-04-15  Andreas Schwab  <schwab@suse.de>
54062         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54063         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54064         * nscd/pwdcache.c (cache_addpw): Likewise.
54065         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54066         more than recsize.
54068 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54070         * benchtests/Makefile (bench): Write all output to
54071         bench-out.tmp together.
54073 2013-04-15  Andreas Schwab  <schwab@suse.de>
54075         * nscd/nscd.c (main): Don't fork again after closing files.
54077 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54079         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54081         * benchtests/Rules (bench-deps): Collect dependencies into a
54082         single variable.  Add Makefile to dependencies.
54083         ($(objpfx)bench-%.c): Depend on bench-deps.
54085 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54086             Xavier Roche  <roche+kml2@exalead.com>
54088         [BZ #15361]
54089         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54090         just that it's a file descriptor.
54091         * manual/llio.texi (Synchronizing AIO Operations): Update description
54092         for EBADF error from aio_fsync.
54094 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54096         * Rules (bench): Move target definition...
54097         * benchtests/Makefile: ... here.
54099 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54101         * math/libm-test.inc (cos_test): Fix PI/2 test.
54102         (sincos_test): Likewise.
54103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54104         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54106 2013-04-11  Andreas Schwab  <schwab@suse.de>
54108         [BZ #13988]
54109         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54110         accept exponent character only when digits were seen.
54111         * stdio-common/Makefile (tests): Add bug26.
54112         * stdio-common/bug26.c: New file.
54114         [BZ #14293]
54115         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54116         non-freeable.
54118 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54120         * Makeconfig (rtld-prefix): Define built linker prefix.
54121         * Rules (run-bench): Use it.
54122         * math/Makefile (run-regen-ulps): Likewise.
54124         * Rules (bench): Remove eval.
54126 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54127             Roland McGrath  <roland@hack.frob.com>
54128             Ondrej Bilka  <neleai@seznam.cz>
54130         [BZ #15346]
54131         * time/getdate.c: Include ctype.h and alloca.h.
54132         (__getdate_r): Trim leading and trailing spaces of input.
54133         * time/tst-getdate.c (tests): Add tests with leading and
54134         trailing spaces.
54136 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54138         [BZ #14280]
54139         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54140         when computing value.
54142 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54144         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54145         Use testrun.sh to run libm tests.
54147         [BZ #15309]
54148         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54150 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54152         [BZ #15264]
54153         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54155 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54157         * Makefile.in (regen-ulps): New target.
54158         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54159         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54160         [ifneq (no,$(PERL)] (regen-ulps): New target.
54161         [ifeq (no,$(PERL)] (regen-ulps): New target.
54162         * math/libm-test.inc (ulps_file_name): Define.
54163         (output_dir): New variable.
54164         (options): Add "output-dir" option.
54165         (parse_opt): Handle 'o' case.
54166         (main): If output_dir is non-NULL use it as a prefix
54167         otherwise use "".
54168         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54170 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54172         [BZ #10060, #10062]
54173         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54174         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54175         fail configure if __sync_val_compare_and_swap is not inlined.
54176         * sysdeps/i386/configure: Regenerate.
54177         * configure.in: Build for i686 when configured for i386.
54178         * configure: Regenerate.
54179         * README: Remove i386 reference.
54181 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54183         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54186 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54188         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54189         (lmsnanval): New variables.
54190         (F): Add conversion tests.
54191         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54192         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54194         * stdio-common/tstdiomisc.c (F): Properly collect individual
54195         tests' results.
54197         [BZ #14686, #15336]
54198         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54199         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54200         Instead, use input NaN values or generate a qNaN by arithmetic
54201         operation.  Also fix bugs to comply with the standard.
54202         * math/libm-test.inc (remainder_test): Add more tests.
54204         [BZ #15335, #15342]
54205         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54207         input NaN values or generate a qNaN by arithmetic operation.
54209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54210         unreachable code.
54212         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54213         definitions.
54215 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54217         [BZ #14478]
54218         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54219         underflowed result.
54220         * math/s_cexpf.c (__cexpf): Likewise.
54221         * math/s_cexpl.c (__cexpl): Likewise.
54222         * math/libm-test.inc (cexp_test): Add more tests.
54224 2013-04-03  Andreas Schwab  <schwab@suse.de>
54226         [BZ #15330]
54227         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54228         order arrays from heap if bigger than alloca cutoff.
54230 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54232         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54233         (SNAN_TESTS_double): Refer to GCC PR56831.
54234         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54235         GCC PR56828.
54237 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54239         * Rules (bench): Move bench.out after the run is complete.
54241         * Rules (bench): Echo currently running benchmark.
54243         * benchtests/Makefile (bench): Add atan and slowatan.
54244         * benchtests/atan-inputs: New file.
54245         * benchtests/slowatan-inputs: New file.
54246         * benchtests/slowatan.c: New file.
54248         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54249         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54250         its value.
54252         [BZ #15305]
54253         * sysdeps/unix/sysv/linux/kernel-features.h
54254         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54255         __ASSUME_XFS_RESTRICTED_CHOWN.
54256         * sysdeps/unix/sysv/linux/pathconf.c
54257         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54258         Save and restore errno.
54260 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54262         [BZ #15327]
54263         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54264         arguments using __kernel_casinh.
54265         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54266         arguments using __kernel_casinhf.
54267         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54268         arguments using __kernel_casinhl.
54269         * math/libm-test.inc (cacosh_test): Add more tests.
54270         * sysdeps/i386/fpu/libm-test-ulps: Update.
54271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54273 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54275         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54278         * bench/Makefile (bench): Add sin and slowsin.
54279         * benchtests/sin-inputs: New file.
54280         * benchtests/slowsin-inputs: New file.
54281         * benchtests/slowsin.c: New file.
54283         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54284         (bench): Add slowexp and slowpow.
54285         (exp-ITER): Increase iterations.
54286         (pow-ITER): Likewise.
54287         * benchtests/exp-inputs: Change input.
54288         * benchtests/pow-inputs: Likewise.
54289         * benchtests/slowexp-inputs: New file.
54290         * benchtests/slowexp.c: New file.
54291         * benchtests/slowpow-inputs: New file.
54292         * benchtests/slowpow.c: New file.
54294 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54296         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54297         instructions.
54298         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54299         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54300         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54301         * benchtests/Makefile: Add rint benchtest.
54302         * benchtests/rint-inputs: Input for rint benchtest.
54304 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54306         * Versions.def (libm): Add GLIBC_2.18.
54307         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54308         hidden libm prototypes.
54309         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54310         * math/Makefile (libm-calls): Add s_issignaling.
54311         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54312         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54313         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54314         declaration.
54315         * math/math.h [__USE_GNU] (issignaling): New macro.
54316         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54317         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54318         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54319         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54322         * manual/arith.texi (issignaling): New section.
54323         * manual/libm-err-tab.pl (@all_functions): Update comment.
54324         * math/gen-libm-test.pl (parse_args): Apply special handling for
54325         issignaling.
54326         * math/libm-test.inc (print_float, issignaling_test): New
54327         functions.
54328         (check_float_internal): Add issignaling checks.
54329         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54330         default definition.
54331         * sysdeps/powerpc/math-tests.h: New file.
54332         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54333         tests.
54334         * math/test-snan.c (TEST_FUNC): Likewise.
54336 2013-03-30  David S. Miller  <davem@davemloft.net>
54338         * po/de.po: Update from translation team.
54340 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54342         [BZ #10357]
54343         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54344         imaginary part less than 1.0 and real part less than 0.5
54345         specially.
54346         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54347         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54348         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54349         (cacos_test): Add more tests.
54350         (casin_test): Likewise.
54351         (casinh_test): Likewise.
54352         * sysdeps/i386/fpu/libm-test-ulps: Update.
54353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54355 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54357         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54358         ONE with its value.
54360         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54361         (__pow_mp): Replace ONE and MONE with their values.
54362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54364         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54365         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54366         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54367         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54369         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54371         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54372         (__pow_mp): Replace ZERO and MZERO with their values.
54373         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54374         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54375         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54376         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54377         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54378         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54379         (__sqr): Likewise.
54381         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54383         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54385 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54387         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54388         Declare with __attribute__ ((weak)).
54389         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54390         Call __call_tls_dtors only if it's not NULL.
54392 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54394         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54395         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54396         magic __ehdr_start linker symbol if it's defined.
54397         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54398         them up here if it was already done.
54400         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54401         (_dl_aux_init): Use const in cast when setting it.
54402         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54403         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54404         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54406         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54407         Declare them here.
54408         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54409         * csu/libc-tls.c: Nor here.
54410         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54412         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54413         (__libc_message): Never call vsyslog.
54415 2013-03-28  Alan Modra  <amodra@gmail.com>
54417         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54418         Define as empty.
54419         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54420         Likewise.
54422 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54424         [BZ #15214]
54425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54426         underflow.
54427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54429 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54431         [BZ #15304]
54432         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54433         Don't add gid passed as argument.
54435         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54437 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54439         [BZ #15307]
54440         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54441         imaginary part between 1.0 and 1.5 and real part less than 0.5
54442         specially.
54443         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54444         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54445         * math/libm-test.inc (cacos_test): Add more tests.
54446         (casin_test): Likewise.
54447         (casinh_test): Likewise.
54448         * sysdeps/i386/fpu/libm-test-ulps: Update.
54449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54451 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54453         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54454         constants.
54455         (norm): Likewise.
54456         (denorm): Likewise.
54457         (__dbl_mp): Likewise.
54458         (add_magnitudes): Likewise.
54459         (sub_magnitudes): Likewise.
54460         (__add): Likewise.
54461         (__sub): Likewise.
54462         (__mul): Likewise.
54463         (__sqr): Likewise.
54464         (__inv): Likewise.
54465         (__dvd): Likewise.
54467         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54468         commented code.
54469         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54470         (__dubcos): Likewise.
54471         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54472         (__ieee754_acos): Likewise.
54473         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54474         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54475         (__exp1): Likewise.
54476         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54477         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54478         (log1): Likewise.
54479         (my_log2): Likewise.
54480         (checkint): Likewise.
54481         * sysdeps/ieee754/dbl-64/e_remainder.c
54482         (__ieee754_remainder): Likewise.
54483         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54484         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54485         (bsloww): Likewise.
54486         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54488         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54489         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54490         MANTISSA_STORE_T to store computations on mantissa.  Use
54491         macros for rounding and division.
54492         (denorm): Likewise.
54493         (__dbl_mp): Likewise.
54494         (add_magnitudes): Likewise.
54495         (sub_magnitudes): Likewise.
54496         (__mul): Likewise.
54497         (__sqr): Likewise.
54498         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54499         powers of two in terms of TWOPOW macro.
54500         (mp_no): Make type of mantissa as MANTISSA_T.
54501         [!RADIXI]: Define RADIXI.
54502         [!TWO52]: Define TWO52.
54503         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54505 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54507         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54508         llroundl symbol when building for PPC32.
54510 2013-03-24  Mark H Weaver  <mhw@netris.org>
54512         * manual/arith.texi (Normalization Functions): Fix prototypes for
54513         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54515 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54517         [BZ #13889]
54518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54519         high value to check if expl overflow.
54520         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54521         to check for underflow and overflow.
54522         * math/libm-test.inc: Add exp test.
54524 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54526         [BZ #11120]
54527         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54528         with NOT_IN_libc.
54530 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54532         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54533         symbol.
54535 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54537         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54538         wrap blocks consisting of several statements.
54540         * sysdeps/generic/math-tests.h: New file.
54541         * sysdeps/i386/fpu/math-tests.h: Likewise.
54542         * math/test-snan.c: Include it.
54543         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54545 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54547         [BZ #15285]
54548         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54549         (__ieee754_j0l): Do not improve calculations using cos of twice
54550         input for inputs above LDBL_MAX / 2.0L.
54551         (__ieee754_y0l): Likewise.
54552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54553         (__ieee754_j1l): Do not improve calculations using cos of twice
54554         input for inputs above LDBL_MAX / 2.0L.
54555         (__ieee754_y1l): Likewise.
54556         * math/libm-test.inc (j0_test): Add another test.
54557         (j1_test): Likewise.
54558         (y0_test): Likewise.
54559         (y1_test): Likewise.
54560         * sysdeps/i386/fpu/libm-test-ulps: Update.
54562 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54564         * Rules ($(objpfx)bench-%.c): Include code from a C source
54565         file.
54567 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54569         [BZ #15287]
54570         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54571         imaginary part 1.0 and real part less than 0.5 specially.
54572         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54573         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54574         * math/libm-test.inc (cacos_test): Add more tests.
54575         (casin_test): Likewise.
54576         (casinh_test): Likewise.
54577         * sysdeps/i386/fpu/libm-test-ulps: Update.
54578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54580 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54582         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54583         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54585 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54587         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54588         * config.make.in (config-cflags-sse4): Remove variable.
54589         (config-cflags-avx): Likewise.
54590         (config-cflags-sse2avx): Likewise.
54591         (config-cflags-novzeroupper): Likewise.
54592         (config-asflags-i686): Likewise.
54593         (have-mfma4): Likewise.
54594         (have-as-vis3): Likewise.
54595         (MIG): Likewise.
54596         * configure.in (MIG): Do not AC_SUBST.
54597         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54598         (libc_cv_cc_sse4): Do not AC_SUBST.
54599         (libc_cv_cc_avx): Likewise.
54600         (libc_cv_cc_sse2avx): Likewise.
54601         (libc_cv_cc_novzeroupper): Likewise.
54602         (libc_cv_cc_fma4): Likewise.
54603         (libc_cv_as_i686): Likewise.
54604         (libc_cv_sparc_as_vis3): Likewise.
54605         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54606         LIBC_CONFIG_VAR.
54607         (config-asflags-i686): Likewise.
54608         (config-cflags-avx): Likewise.
54609         (config-cflags-sse2avx): Likewise.
54610         (have-mfma4): Likewise.
54611         (config-cflags-novzeroupper): Likewise.
54612         * sysdeps/mach/configure.in (MIG): Likewise.
54613         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54614         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54615         LIBC_CONFIG_VAR.
54616         (config-cflags-avx): Likewise.
54617         (config-cflags-sse2avx): Likewise.
54618         (have-mfma4): Likewise.
54619         (config-cflags-novzeroupper): Likewise.
54620         * configure: Regenerated.
54621         * sysdeps/i386/configure: Likewise.
54622         * sysdeps/mach/configure: Likewise.
54623         * sysdeps/sparc/configure: Likewise.
54624         * sysdeps/x86_64/configure: Likewise.
54626 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54628         [BZ #14812]
54629         * locale/programs/localedef.c (options): Put N_ translation marker
54630         on argument names, not just descriptions.
54632 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54634         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54636 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54638         [BZ #14176]
54639         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54641 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54643         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54644         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54645         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54646         [!BEFORE_ABORT] (before_abort): New function.
54647         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54648         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54649         (writev_for_fatal): New function.
54650         (WRITEV_FOR_FATAL): New macro; call that.
54651         (backtrace_and_maps): New function.
54652         (BEFORE_ABORT): New macro; call that.
54653         (struct str_list): Type removed.
54654         (__libc_message, __libc_fatal): Functions removed.
54655         Include <sysdeps/posix/libc_fatal.c> instead.
54657 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54659         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54660         constants.
54661         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54662         double constants.
54664 2013-03-19  Andreas Schwab  <schwab@suse.de>
54666         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54667         * sysdeps/gnu/configure: Regenerate.
54669         * configure.in: Substitute libc_cv_rtlddir.
54670         * configure: Regenerate.
54671         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54672         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54673         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54674         * elf/Makefile (install-others, CFLAGS-interp.c)
54675         (ldso_install, common-ldd-rewrite): Likewise.
54676         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54677         $(inst_slibdir)/$(rtld-installed-name).
54678         * scripts/rellns-sh: Add -p option.
54679         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54680         for source.
54682 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54684         * manual/nptl.texi: Renamed to ...
54685         * manual/threads.texi: ... this.
54686         * manual/Makefile (chapters): Update.
54688 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54690         [BZ #14812]
54691         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54692         on argument names, not just descriptions.
54693         * malloc/memusagestat.c (options): Likewise.
54694         * nss/getent.c (options): Likewise.
54696 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54698         [BZ #14812]
54699         * iconv/iconv_prog.c (options): Put N_ translation marker
54700         on argument names, not just descriptions.
54701         * iconv/iconvconfig.c (options): Likewise.
54703 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54705         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54706         implementation which is faster on all x86_64 architectures.
54707         Tested on AMD, Intel Nehalem, SNB, IVB.
54708         * sysdeps/x86_64/strnlen.S: Likewise.
54710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54711         Remove all multiarch strlen and strnlen versions.
54712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54713         Remove strlen and strnlen related parts.
54715         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54716         Inline strlen part.
54717         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54719         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54720         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54721         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54722         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54723         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54724         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54726 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54728         * manual/memory.texi (Malloc Tunable Parameters):
54729         Sort parameters alphabetically. Add comments for missing entries.
54731 2013-03-17  David S. Miller  <davem@davemloft.net>
54733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54735 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54737         [BZ #15283]
54738         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54739         for arguments at most half maximum finite value.
54740         * math/libm-test.inc (j0_test): Add more tests.
54741         (j1_test): Likewise.
54742         (y0_test): Likewise.
54743         (y1_test): Likewise.
54744         * sysdeps/i386/fpu/libm-test-ulps: Update.
54745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54747         [BZ #14155]
54748         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54749         1 / x and functions P and Q for arguments above 0x1p256L.
54750         (__ieee754_y0l): Likewise.
54751         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54752         (__ieee754_y1l): Likewise.
54753         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54754         (j1_test): Likewise.
54755         (y0_test): Likewise.
54756         (y1_test): Likewise.
54758 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54760         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54761         variable.
54763 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54765         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54766         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54767         zero since it's initialized to EXEC_PAGESIZE.
54769         * sysdeps/unix/sysv/linux/ldsodefs.h
54770         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54771         * sysdeps/generic/ldsodefs.h: ... here.
54773 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54775         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54777         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54778         math/test-snan.c.
54779         * math/test-snan.c: Renamed from
54780         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54781         * math/Makefile (tests): Add test-snan.
54782         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54783         test-powerpc-snan.
54785         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54786         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54787         functions.
54788         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54789         __builtin_nan family of functions.
54790         * math/libm-test.inc (initialize): Initialize qnan_value with
54791         __builtin_nan family of functions.
54792         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54793         Remove variables.
54794         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54795         Remove functions.
54796         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54797         storage class.  Initialize qNaN_var and sNaN_var with
54798         __builtin_nan and __builtin_nans families of functions,
54799         respectively.
54801         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54802         (sqrt_test): Remove duplicate test with qNaN input.
54803         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54804         (round_test, signbit_test, significand_test): Note missing +/-Inf
54805         as well as qNaN tests.
54807         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54808         qNaN_var.  Fix a few strings, too.
54809         * math/libm-test.inc (nan_value): Rename to qnan_value.
54810         * math/gen-libm-test.pl (%beautify): Adjust to that.
54811         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54812         * math/test-misc.c (main): Likewise.
54813         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54814         to __qnan_bytes, and __qnan_union, respectively.
54815         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54816         Likewise.
54817         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54818         and lqnanval, respectively.
54819         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54820         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54821         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54822         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54824         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54825         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54826         doubles.
54828         * math/test-misc.c (main): Fix copy'n'pastos.
54829         * misc/tst-efgcvt.c (special): Likewise.
54831         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54832         Remove declarations.
54834 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54836         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54837         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54838         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54839         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54841 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54844         macro to return vdso values correctly in IFUNC implementations.
54845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54846         Optimization by using IFUNC.
54848 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54849             Richard Henderson  <rth@redhat.com>
54850             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54852         * Makefile.in (bench): New target.
54853         * NEWS: Mention the benchmark framework.
54854         * Rules (bench): Likewise.
54855         (binaries-bench): Generate binaries for functions to
54856         benchmark.
54857         * benchtests/Makefile: New makefile for benchmark tests.
54858         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54859         programs.
54860         * benchtests/exp-inputs: New input file for EXP function.
54861         * benchtests/pow-inputs: New input file for POW function.
54862         * scripts/bench.pl: New script to generate source files for
54863         benchmark programs.
54865 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54867         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54868         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54869         computations on mantissa.  Use macros for rounding and
54870         division.
54871         (denorm): Likewise.
54872         (__dbl_mp): Likewise.
54873         (add_magnitudes): Likewise.
54874         (sub_magnitudes): Likewise.
54875         (__mul): Likewise.
54876         (__sqr): Likewise.
54877         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54878         powers of two in terms of TWOPOW macro.
54879         (mp_no): Make type of mantissa as MANTISSA_T.
54880         [!RADIXI]: Define RADIXI.
54881         [!TWO52]: Define TWO52.
54882         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54884         * manual/nptl.texi (cindex): Modify threads to pthreads.
54886 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54888         * sysdeps/x86_64/preconfigure: Regenerated.
54890 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54892         [BZ #14155]
54893         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54894         0x1p28 and above.
54895         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54896         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54897         0x1p28 and above.
54898         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54899         * math/libm-test.inc (j0_test): Do not allow one spurious
54900         underflow exception.
54901         (y1_test): Likewise.
54903 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54905         * manual/Makefile (chapters): Add nptl.
54906         * manual/debug.texi (Debugging Support): Add link to Threads
54907         chapter.
54908         * manual/nptl.texi: New file.
54910         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54912 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54914         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54915         for non-NULL pointer before the memory validity test. Pointed
54916         out by Holger Brunck <holger.brunck@keymile.com>.
54918 2013-03-13  Andreas Schwab  <schwab@suse.de>
54920         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54921         instead of .os.
54923 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54925         * timezone/zic.c: Update from tzcode 2013b.
54927 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54929         * manual/install.texi (Configuring and compiling):
54930         Mention i686 and i586.
54931         * INSTALL: Regenerate.
54933 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54935         * sysdeps/init_array/elf-init.c: New file.
54936         * csu/elf-init.c
54937         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54938         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54940         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54941         __gmon_start__ as global, but as static with a .preinit_array pointer.
54942         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54943         * sysdeps/init_array/crti.S: New file, empty except for comments.
54944         * sysdeps/init_array/crtn.S: Likewise.
54946 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54948         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54949         definining bcopy.
54950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54951         Remove Prefer_SSE_for_memop.
54952         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54953         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54954         HAS_PREFER_SSE_FOR_MEMOP.
54955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54956         memset-x86-64.
54957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54958         Remove bzero, memset ifunc support.
54959         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54960         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54961         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54962         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54964 2013-03-11  Andreas Schwab  <schwab@suse.de>
54966         [BZ #15234]
54967         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54968         by SHLIB_COMPAT.
54969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54970         (GLIBC_2.16): Remove pthread_atfork.
54972 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54974         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54975         (ptestcases.h): Likewise.
54977 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54979         * Makeconfig ($(common-objpfx)config.status): Depend on
54980         sysdeps/*/preconfigure{,.in} too.
54982 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54984         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54985         (__free_hook): Use void * instead of __malloc_ptr_t.
54986         (__malloc_hook): Likewise.
54987         (__realloc_hook): Likewise.
54988         (__memalign_hook): Likewise.
54989         (__after_morecore_hook): Likewise.
54990         * malloc/arena.c (save_malloc_hook): Likewise.
54991         (save_free_hook): Likewise.
54992         * malloc/hooks.c (malloc_hook_ini): Likewise.
54993         (realloc_hook_ini): Likewise.
54994         (memalign_hook_ini): Likewise.
54995         * malloc/malloc.c (malloc_hook_ini): Likewise.
54996         (realloc_hook_ini): Likewise.
54997         (memalign_hook_ini): Likewise.
54998         (__free_hook): Likewise.
54999         (__malloc_hook): Likewise.
55000         (__realloc_hook): Likewise.
55001         (__memalign_hook): Likewise.
55002         (__libc_malloc): Likewise.
55003         (__libc_free): Likewise.
55004         (__libc_realloc): Likewise.
55005         (__libc_memalign): Likewise.
55006         (__libc_valloc): Likewise.
55007         (__libc_pvalloc): Likewise.
55008         (__libc_calloc): Likewise.
55009         (__posix_memalign): Likewise.
55010         * malloc/morecore.c (__sbrk): Likewise.
55011         (__default_morecore): Likewise.
55013         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55015         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55016         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55017         __malloc_ptrdiff_t.
55019         * malloc/malloc.h (__malloc_size_t): Remove macro.
55020         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55021         __malloc_size_t.
55022         (old_memalign_hook): Likewise.
55023         (old_realloc_hook): Likewise.
55024         (struct hdr): Likewise.
55025         (flood): Likewise.
55026         (mallochook): Likewise.
55027         (memalignhook): Likewise.
55028         (reallochook): Likewise.
55029         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55030         (tr_old_realloc_hook): Likewise.
55031         (tr_old_memalign_hook): Likewise.
55032         (tr_mallochook): Likewise.
55033         (tr_reallochook): Likewise.
55034         (tr_memalignhook): Likewise.
55036 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55039         default_ldbl_pack and using as default implementation.
55040         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55041         implementation.
55042         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55043         redundant definition.
55044         (ldbl_insert_mantissa): Likewise.
55045         (ldbl_canonicalize): Likewise.
55046         (ldbl_nearbyint): Likewise.
55047         (ldbl_pack): Rename to ldbl_pack_ppc.
55048         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55049         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55050         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55052 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55055         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55056         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55057         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55059         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55060         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55061         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55063 2013-03-07  Andreas Jaeger  <aj@suse.de>
55065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55066         bits/mman-linux.h.
55068 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55070         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55071         Include mpa.h and declare __MPEXP.
55072         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55073         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55074         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55075         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55076         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55077         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55078         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55080         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55081         (__slowpow): Use long double EXPL and LOGL functions to
55082         compute POW.
55083         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55084         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55085         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55086         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55087         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55088         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55091         intermediate variable to calculate exponent.
55092         (__sqr): Likewise.
55093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55094         Likewise.
55095         (__sqr): Likewise.
55097         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55098         [!NO__SQR]: Define __sqr.
55099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55100         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55101         sysdeps/ieee754/dbl-64/mpa.c.
55102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55104         [BZ #12723]
55105         * posix/Makefile (tests): Add tst-pathconf.
55106         * posix/tst-pathconf.c: New test case.
55107         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55108         _PC_PIPE_BUF.
55109         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55111 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55113         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55115 2013-03-06  Andreas Jaeger  <aj@suse.de>
55117         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55118         definition via __MAP_ANONYMOUS.
55120         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55121         it's not part of Linux headers.
55123         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55124         (MAP_HUGE_MASK): Define.
55126         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55127         Define.
55128         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55130         Define.
55131         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55132         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55133         Define.
55134         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55135         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55136         Define.
55137         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55139         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55140         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55141         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55142         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55143         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55144         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55146         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55147         Handle f2fs.
55149         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55150         Handle f2fs and efivarfs.
55152         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55153         f2fs.
55155         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55156         (EFIVARFS_MAGIC): Add.
55157         (F2FS_LINK_MAX): Add.
55159 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55161         * stdio-common/vfprintf.c: Replace __builtin_expect with
55162         __glibc_unlikely.
55164 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55166         [BZ #13550]
55167         * sysdeps/generic/bp-sym.h: Remove file.
55168         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55169         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55170         <bp-sym.h> and <bp-asm.h>.
55171         (__longjmp): Don't use BP_SYM.
55172         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55173         and <bp-asm.h>.
55174         (memcpy): Don't use BP_SYM.
55175         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55176         <bp-sym.h> and <bp-asm.h>.
55177         (memcpy): Don't use BP_SYM.
55178         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55179         <bp-asm.h>.
55180         (memcpy): Don't use BP_SYM.
55181         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55182         <bp-asm.h>.
55183         (memset): Don't use BP_SYM.
55184         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55185         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55186         (__bzero): Don't use BP_SYM.
55187         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55188         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55189         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55190         <bp-sym.h> and <bp-asm.h>.
55191         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55192         pointers.
55193         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55194         <bp-sym.h> and <bp-asm.h>.
55195         (memcpy): Don't use BP_SYM.
55196         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55197         <bp-sym.h> and <bp-asm.h>.
55198         (memset): Don't use BP_SYM.
55199         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55200         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55201         (__bzero): Don't use BP_SYM.
55202         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55203         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55204         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55205         <bp-sym.h> and <bp-asm.h>.
55206         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55207         pointers.
55208         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55209         <bp-sym.h> and <bp-asm.h>.
55210         (memcpy): Don't use BP_SYM.
55211         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55212         <bp-sym.h> and <bp-asm.h>.
55213         (memset): Don't use BP_SYM.
55214         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55215         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55216         (__bzero): Don't use BP_SYM.
55217         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55218         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55219         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55220         <bp-sym.h> and <bp-asm.h>.
55221         (__memchr): Don't use BP_SYM.
55222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55223         <bp-sym.h> and <bp-asm.h>.
55224         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55225         pointers.
55226         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55227         <bp-sym.h> and <bp-asm.h>.
55228         (memcpy): Don't use BP_SYM.
55229         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55230         <bp-sym.h> and <bp-asm.h>.
55231         (__mempcpy): Don't use BP_SYM.
55232         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55233         <bp-sym.h> and <bp-asm.h>.
55234         (__memrchr): Don't use BP_SYM.
55235         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55236         <bp-sym.h> and <bp-asm.h>.
55237         (memset): Don't use BP_SYM.
55238         (__bzero): Likewise.
55239         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55240         <bp-sym.h> and <bp-asm.h>.
55241         (__rawmemchr): Don't use BP_SYM.
55242         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55243         <bp-sym.h> and <bp-asm.h>.
55244         (__STRCMP): Don't use BP_SYM.
55245         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55246         <bp-sym.h> and <bp-asm.h>.
55247         (strchr): Don't use BP_SYM.
55248         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55249         <bp-sym.h> and <bp-asm.h>.
55250         (__strchrnul): Don't use BP_SYM.
55251         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55252         <bp-sym.h> and <bp-asm.h>.
55253         (strlen): Don't use BP_SYM.
55254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55255         <bp-sym.h> and <bp-asm.h>.
55256         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55257         pointers.
55258         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55259         <bp-sym.h> and <bp-asm.h>.
55260         (__strnlen): Don't use BP_SYM.
55261         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55262         <bp-sym.h> and <bp-asm.h>.
55263         (__GI__setjmp): Don't use BP_SYM.
55264         (_setjmp): Likewise.
55265         (__sigsetjmp): Likewise.
55266         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55267         (L(start_addresses)): Don't use BP_SYM.
55268         (_start): Likewise.
55269         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55270         <bp-asm.h>.
55271         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55272         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55273         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55274         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55275         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55276         <bp-asm.h>.
55277         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55278         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55279         about bounded pointers.
55280         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55281         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55282         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55283         <bp-asm.h>.
55284         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55285         about bounded pointers.  Remove GKM FIXME comments.
55286         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55287         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55288         <bp-asm.h>.
55289         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55290         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55291         Remove GKM FIXME comments.
55292         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55293         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55294         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55295         <bp-asm.h>.
55296         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55297         about bounded pointers.  Remove GKM FIXME comment.
55298         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55299         and <bp-asm.h>.
55300         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55301         pointers.
55302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55303         <bp-sym.h> and <bp-asm.h>.
55304         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55306         <bp-sym.h> and <bp-asm.h>.
55307         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55308         comment.
55310 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55312         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55313         call free(NULL).
55315 2013-03-05  David S. Miller  <davem@davemloft.net>
55317         * po/es.po: Update from translation team.
55319 2013-03-05  Andreas Jaeger  <aj@suse.de>
55321         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55322         <bits/mman-linux.h>.
55323         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55324         is fine.
55325         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55326         <bits/mman-linux.h> to end of file.
55327         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55328         is fine.
55329         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55330         <bits/mman-linux.h> to end of file.
55331         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55332         is fine.
55333         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55334         <bits/mman-linux.h> to end of file.
55336         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55337         (MCL_CURRENT, MCL_FUTURE): Define here.
55339 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55341         [BZ #15232]
55342         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55343         attribute_hidden.
55344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55346 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55348         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55349         fourth parameter needed for rt_sigprocmask syscall.
55350         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55351         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55352         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55353         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55354         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55355         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55357 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55359         [BZ #13550]
55360         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55361         comment about bounded pointers.
55362         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55363         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55365 2013-03-04  Andreas Jaeger  <aj@suse.de>
55367         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55368         common definitions.
55370         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55371         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55372         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55373         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55374         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55375         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55377 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55379         [BZ #15055]
55380         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55381         __ieee754_sqrl instead of __sqrl.
55383 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55385         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55386         * sysdeps/powerpc/fpu_control.h: ... here.
55387         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55388         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55389         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55390         * sysdeps/powerpc/bits/mathinline.h: ... here.
55392 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55394         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55395         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55396         to just [NEED_DL_SYSINFO_DSO].
55397         * elf/dl-support.c: Likewise.
55398         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55399         * elf/rtld.c (dl_main): Likewise.
55400         * elf/setup-vdso.h (setup_vdso): Likewise.
55401         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55402         * sysdeps/unix/sysv/linux/dl-sysdep.c
55403         (_dl_discover_osversion): Likewise.
55405 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55407         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55408         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55410 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55412         * NEWS: Mention libm performance improvements and non-x86 PI
55413         futex support.
55415         * csu/libc-start.c (__pthread_initialize_minimal): Change
55416         function arguments.
55417         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55419 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55421         [BZ #13550]
55422         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55423         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55424         <bp-sym.h> and <bp-asm.h>.
55425         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55426         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55427         and <bp-asm.h>.
55428         (memcpy): Don't use BP_SYM.
55429         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55430         <bp-asm.h>.
55431         (__mpn_add_n): Don't use BP_SYM.
55432         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55433         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55434         and <bp-asm.h>.
55435         (__mpn_addmul_1): Don't use BP_SYM.
55436         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55437         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55438         <bp-sym.h>.
55439         (_setjmp): Don't use BP_SYM.
55440         (__novmx_setjmp): Likewise.
55441         (__GI__setjmp): Likewise.
55442         (__vmx_setjmp): Likewise.
55443         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55444         <bp-sym.h>.
55445         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55446         (__bzero): Don't use BP_SYM.
55447         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55448         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55449         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55450         <bp-sym.h> and <bp-asm.h>.
55451         (memcpy): Don't use BP_SYM.
55452         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55453         <bp-sym.h> and <bp-asm.h>.
55454         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55455         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55456         <bp-sym.h> and <bp-asm.h>.
55457         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55458         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55459         <bp-asm.h>.
55460         (__mpn_lshift): Don't use BP_SYM.
55461         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55462         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55463         <bp-asm.h>.
55464         (memset): Don't use BP_SYM.
55465         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55466         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55467         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55468         <bp-asm.h>.
55469         (__mpn_mul_1): Don't use BP_SYM.
55470         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55472         <bp-sym.h> and <bp-asm.h>.
55473         (memcmp): Don't use BP_SYM.
55474         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55475         <bp-sym.h> and <bp-asm.h>.
55476         (memcpy): Don't use BP_SYM.
55477         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55478         <bp-sym.h> and <bp-asm.h>.
55479         (memset): Don't use BP_SYM.
55480         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55481         <bp-sym.h> and <bp-asm.h>.
55482         (strncmp): Don't use BP_SYM.
55483         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55484         <bp-sym.h> and <bp-asm.h>.
55485         (memcpy): Don't use BP_SYM.
55486         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55487         <bp-sym.h> and <bp-asm.h>.
55488         (memset): Don't use BP_SYM.
55489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55490         <bp-sym.h> and <bp-asm.h>.
55491         (__memchr): Don't use BP_SYM.
55492         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55493         <bp-sym.h> and <bp-asm.h>.
55494         (memcmp): Don't use BP_SYM.
55495         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55496         <bp-sym.h> and <bp-asm.h>.
55497         (memcpy): Don't use BP_SYM.
55498         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55499         <bp-sym.h> and <bp-asm.h>.
55500         (__mempcpy): Don't use BP_SYM.
55501         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55502         <bp-sym.h> and <bp-asm.h>.
55503         (__memrchr): Don't use BP_SYM.
55504         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55505         <bp-sym.h> and <bp-asm.h>.
55506         (memset): Don't use BP_SYM.
55507         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55508         <bp-sym.h> and <bp-asm.h>.
55509         (__rawmemchr): Don't use BP_SYM.
55510         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55511         <bp-sym.h> and <bp-asm.h>.
55512         (__STRCMP): Don't use BP_SYM.
55513         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55514         <bp-sym.h> and <bp-asm.h>.
55515         (strchr): Don't use BP_SYM.
55516         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55517         <bp-sym.h> and <bp-asm.h>.
55518         (__strchrnul): Don't use BP_SYM.
55519         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55520         <bp-sym.h> and <bp-asm.h>.
55521         (strlen): Don't use BP_SYM.
55522         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55523         <bp-sym.h> and <bp-asm.h>.
55524         (strncmp): Don't use BP_SYM.
55525         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55526         <bp-sym.h> and <bp-asm.h>.
55527         (__strnlen): Don't use BP_SYM.
55528         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55529         <bp-asm.h>.
55530         (__mpn_rshift): Don't use BP_SYM.
55531         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55532         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55533         <bp-sym.h> and <bp-asm.h>.
55534         (__sigsetjmp): Don't use BP_SYM.
55535         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55536         (L(start_addresses)): Don't use BP_SYM.
55537         (_start): Likewise.
55538         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55539         <bp-asm.h>.
55540         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55541         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55542         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55543         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55544         <bp-asm.h>.
55545         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55546         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55547         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55548         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55549         <bp-asm.h>.
55550         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55551         comments.
55552         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55553         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55554         <bp-asm.h>.
55555         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55556         FIXME comments.
55557         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55558         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55559         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55560         <bp-asm.h>.
55561         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55562         comment.
55563         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55564         and <bp-asm.h>.
55565         (strncmp): Don't use BP_SYM,
55566         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55567         <bp-asm.h>.
55568         (__mpn_sub_n): Don't use BP_SYM.
55569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55570         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55571         and <bp-asm.h>.
55572         (__mpn_submul_1): Don't use BP_SYM.
55573         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55575         <bp-sym.h> and <bp-asm.h>.
55576         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55578         <bp-sym.h> and <bp-asm.h>.
55579         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55580         comment.
55582 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55585         Use ZK to minimize writes to Z.
55586         (sub_magnitudes): Simplify code a bit.
55587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55588         Use ZK to minimize writes to Z.
55589         (sub_magnitudes): Simplify code a bit.
55591 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55593         * csu/gmon-start.c: Add special exception to license text.
55595 2013-02-27  Richard Henderson  <rth@redhat.com>
55597         * scripts/config.guess: Update from config.git.
55598         * scripts/config.sub: Likewise.
55600 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55602         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55604         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55606         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55608         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55610         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55612 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55614         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55615         [$(build-shared = yes].
55617 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55619         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55620         (__mul): Reduce iterations for calculating mantissa.
55622         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55623         MPTWO.
55624         (__mpranred): Likewise.
55626         [BZ #15160]
55627         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55628         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55630 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55632         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55633         Define __attribute__.
55635 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55637         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55638         unused.
55639         * posix/regex_internal.h (__attribute): Remove.
55640         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55641         (re_string_context_at): Likewise.
55642         (bitset_not): Use __attribute__ and mark function as possibly
55643         unused.
55644         (bitset_merge): Likewise.
55645         (bitset_mask): Likewise.
55646         (re_string_char_size_at): Likewise.
55647         (re_string_wchar_at): Likewise.
55648         (re_string_elem_size_at): Likewise.
55650 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55652         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55653         code.
55654         (cc32): Likewise.
55656         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55657         (__acr): Likewise.
55658         (__cpy): Likewise.
55659         (norm): Likewise.
55660         (denorm): Likewise.
55661         (__dbl_mp): Likewise.
55662         (add_magnitudes): Likewise.
55663         (sub_magnitudes): Likewise.
55664         (__mul): Likewise.
55665         (__inv): Likewise.
55667         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55668         style.
55670         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55671         style.
55673         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55674         code.
55676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55677         up changes with default code.
55678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55679         Likewise.
55681 2013-02-24  Allan McRae  <allan@archlinux.org>
55683         * manual/socket.texi (The Internet Namespace): Order menu items
55684         to match that in the file.
55686         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55687         node listing of the info page menu.
55689 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55691         [BZ #13550]
55692         * sysdeps/i386/bp-asm.h: Remove file.
55693         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55694         (PARMS): Do not use macros from bp-asm.h.
55695         (S1): Likewise.
55696         (S2): Likewise.
55697         (SIZE): Likewise.
55698         (__mpn_add_n): Do not use BP_SYM
55699         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55700         "bp-asm.h".
55701         (PARMS): Do not use macros from bp-asm.h.
55702         (S1): Likewise.
55703         (SIZE): Likewise.
55704         (__mpn_addmul_1): Do not use BP_SYM
55705         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55706         "bp-asm.h".
55707         (PARMS): Do not use macros from bp-asm.h.
55708         (SIGMSK): Likewise.
55709         (_setjmp): Likewise.  Do not use BP_SYM.
55710         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55711         "bp-asm.h".
55712         (PARMS): Do not use macros from bp-asm.h.
55713         (SIGMSK): Likewise.
55714         (setjmp): Likewise.  Do not use BP_SYM.
55715         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55716         "bp-asm.h".
55717         (PARMS): Do not use macros from bp-asm.h.
55718         (__frexp): Do not use BP_SYM.
55719         (frexp): Likewise.
55720         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55721         "bp-asm.h".
55722         (PARMS): Do not use macros from bp-asm.h.
55723         (__frexpf): Do not use BP_SYM.
55724         (frexpf): Likewise.
55725         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55726         "bp-asm.h".
55727         (PARMS): Do not use macros from bp-asm.h.
55728         (__frexpl): Do not use BP_SYM.
55729         (frexpl): Likewise.
55730         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55731         "bp-asm.h".
55732         (PARMS): Do not use macros from bp-asm.h.
55733         (__remquo): Do not use BP_SYM.
55734         (remquo): Likewise.
55735         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55736         "bp-asm.h".
55737         (PARMS): Do not use macros from bp-asm.h.
55738         (__remquof): Do not use BP_SYM.
55739         (remquof): Likewise.
55740         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55741         "bp-asm.h".
55742         (PARMS): Do not use macros from bp-asm.h.
55743         (__remquol): Do not use BP_SYM.
55744         (remquol): Likewise.
55745         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55746         "bp-asm.h".
55747         (PARMS): Do not use macros from bp-asm.h.
55748         (DEST): Likewise.
55749         (SRC): Likewise.
55750         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55751         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55752         "bp-asm.h".
55753         (PARMS): Do not use macros from bp-asm.h.
55754         (strlen): Do not use BP_SYM.
55755         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55756         "bp-asm.h".
55757         (PARMS): Do not use macros from bp-asm.h.
55758         (S1): Likewise.
55759         (S2): Likewise.
55760         (SIZE): Likewise.
55761         (__mpn_add_n): Do not use BP_SYM.
55762         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55763         "bp-asm.h".
55764         (PARMS): Do not use macros from bp-asm.h.
55765         (S1): Likewise.
55766         (SIZE): Likewise.
55767         (__mpn_addmul_1): Do not use BP_SYM.
55768         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55769         weak_alias.
55770         (bzero): Likewise.
55771         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55772         "bp-asm.h".
55773         (PARMS): Do not use macros from bp-asm.h.
55774         (S): Likewise.
55775         (SIZE): Likewise.
55776         (__mpn_lshift): Do not use BP_SYM.
55777         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55778         "bp-asm.h".
55779         (PARMS): Do not use macros from bp-asm.h.
55780         (DEST): Likewise.
55781         (SRC): Likewise.
55782         (LEN): Likewise.
55783         (memcpy): Likewise.  Do not use BP_SYM.
55784         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55785         libc_hidden_def and weak_alias.
55786         (mempcpy): Do not use BP_SYM in weak_alias.
55787         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55788         "bp-asm.h".
55789         (PARMS): Do not use macros from bp-asm.h.
55790         (DEST): Likewise.
55791         (LEN): Likewise.
55792         [!BZERO_P] (CHR): Likewise.
55793         (memset): Likewise.  Do not use BP_SYM.
55794         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55795         "bp-asm.h".
55796         (PARMS): Do not use macros from bp-asm.h.
55797         (S1): Likewise.
55798         (SIZE): Likewise.
55799         (__mpn_mul_1): Do not use BP_SYM.
55800         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55801         "bp-asm.h".
55802         (PARMS): Do not use macros from bp-asm.h.
55803         (S): Likewise.
55804         (SIZE): Likewise.
55805         (__mpn_rshift): Do not use BP_SYM.
55806         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55807         "bp-asm.h".
55808         (PARMS): Do not use macros from bp-asm.h.
55809         (STR): Likewise.
55810         (CHR): Likewise.
55811         (strchr): Likewise.  Do not use BP_SYM.
55812         (index): Do not use BP_SYM in weak_alias.
55813         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55814         "bp-asm.h".
55815         (PARMS): Do not use macros from bp-asm.h.
55816         (DEST): Likewise.
55817         (SRC): Likewise.
55818         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55819         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55820         "bp-asm.h".
55821         (PARMS): Do not use macros from bp-asm.h.
55822         (strlen): Do not use BP_SYM.
55823         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55824         "bp-asm.h".
55825         (PARMS): Do not use macros from bp-asm.h.
55826         (S1): Likewise.
55827         (S2): Likewise.
55828         (SIZE): Likewise.
55829         (__mpn_sub_n): Do not use BP_SYM.
55830         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55831         "bp-asm.h".
55832         (PARMS): Do not use macros from bp-asm.h.
55833         (S1): Likewise.
55834         (SIZE): Likewise.
55835         (__mpn_submul_1): Do not use BP_SYM.
55836         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55837         "bp-asm.h".
55838         (PARMS): Do not use macros from bp-asm.h.
55839         (S1): Likewise.
55840         (S2): Likewise.
55841         (SIZE): Likewise.
55842         (__mpn_add_n): Do not use BP_SYM.
55843         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55844         weak_alias.
55845         (bzero): Likewise.
55846         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55847         "bp-asm.h".
55848         (PARMS): Do not use macros from bp-asm.h.
55849         (BLK2): Likewise.
55850         (LEN): Likewise.
55851         (memcmp): Do not use BP_SYM.
55852         (bcmp): Do not use BP_SYM in weak_alias.
55853         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55854         "bp-asm.h".
55855         (PARMS): Do not use macros from bp-asm.h.
55856         (DEST): Likewise.
55857         (SRC): Likewise.
55858         (LEN): Likewise.
55859         (memcpy): Likewise.  Do not use BP_SYM.
55860         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55861         "bp-asm.h".
55862         (PARMS): Do not use macros from bp-asm.h.
55863         (DEST): Likewise.
55864         (SRC): Likewise.
55865         (LEN): Likewise.
55866         (memmove): Likewise.  Do not use BP_SYM.
55867         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55868         "bp-asm.h".
55869         (PARMS): Do not use macros from bp-asm.h.
55870         (DEST): Likewise.
55871         (SRC): Likewise.
55872         (LEN): Likewise.
55873         (__mempcpy): Likewise.  Do not use BP_SYM.
55874         (mempcpy): Do not use BP_SYM in weak_alias.
55875         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55876         "bp-asm.h".
55877         (PARMS): Do not use macros from bp-asm.h.
55878         (DEST): Likewise.
55879         (LEN): Likewise.
55880         [!BZERO_P] (CHR): Likewise.
55881         (memset): Likewise.  Do not use BP_SYM.
55882         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55883         "bp-asm.h".
55884         (PARMS): Do not use macros from bp-asm.h.
55885         (STR2): Likewise.
55886         (strcmp): Do not use BP_SYM.
55887         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55888         "bp-asm.h".
55889         (PARMS): Do not use macros from bp-asm.h.
55890         (STR): Likewise.
55891         (DELIM): Likewise.
55892         [USE_AS_STRTOK_R] (SAVE): Likewise.
55893         (FUNCTION): Likewise.  Do not use BP_SYM.
55894         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55895         aliases.
55896         (strtok_r): Likewise.
55897         (__GI___strtok_r): Likewise.
55898         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55899         (PARMS): Do not use macros from bp-asm.h.
55900         (S): Likewise.
55901         (SIZE): Likewise.
55902         (__mpn_lshift): Do not use BP_SYM.
55903         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55904         (PARMS): Do not use macros from bp-asm.h.
55905         (STR): Likewise.
55906         (CHR): Likewise.
55907         (__memchr): Do not use BP_SYM.
55908         (memchr): Do not use BP_SYM in weak_alias.
55909         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55910         (PARMS): Do not use macros from bp-asm.h.
55911         (BLK2): Likewise.
55912         (LEN): Likewise.
55913         (memcmp): Do not use BP_SYM.
55914         (bcmp): Do not use BP_SYM in weak_alias.
55915         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55916         (PARMS): Do not use macros from bp-asm.h.
55917         (S1): Likewise.
55918         (SIZE): Likewise.
55919         (__mpn_mul_1): Do not use BP_SYM.
55920         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55921         "bp-asm.h".
55922         (PARMS): Do not use macros from bp-asm.h.
55923         (STR): Likewise.
55924         (CHR): Likewise.
55925         (__rawmemchr): Do not use BP_SYM.
55926         (rawmemchr): Do not use BP_SYM in weak_alias.
55927         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55928         (PARMS): Do not use macros from bp-asm.h.
55929         (S): Likewise.
55930         (SIZE): Likewise.
55931         (__mpn_rshift): Do not use BP_SYM.
55932         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55933         (PARMS): Do not use macros from bp-asm.h.
55934         (SIGMSK): Likewise.
55935         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55936         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55937         (_start): Do not use BP_SYM.
55938         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55939         (PARMS): Do not use macros from bp-asm.h.
55940         (DEST): Likewise.
55941         (SRC): Likewise.
55942         (__stpcpy): Likewise.  Do not use BP_SYM.
55943         (stpcpy): Do not use BP_SYM in weak_alias.
55944         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55945         "bp-asm.h".
55946         (PARMS): Do not use macros from bp-asm.h.
55947         (DEST): Likewise.
55948         (SRC): Likewise.
55949         (LEN): Likewise.
55950         (__stpncpy): Likewise.  Do not use BP_SYM.
55951         (stpncpy): Do not use BP_SYM in weak_alias.
55952         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55953         (PARMS): Do not use macros from bp-asm.h.
55954         (STR): Likewise.
55955         (CHR): Likewise.
55956         (strchr): Likewise.  Do not use BP_SYM.
55957         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55958         "bp-asm.h".
55959         (PARMS): Do not use macros from bp-asm.h.
55960         (STR): Likewise.
55961         (CHR): Likewise.
55962         (__strchrnul): Likewise.  Do not use BP_SYM.
55963         (strchrnul): Do not use BP_SYM in weak_alias.
55964         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55965         "bp-asm.h".
55966         (PARMS): Do not use macros from bp-asm.h.
55967         (STOP): Likewise.
55968         (strcspn): Do not use BP_SYM.
55969         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55970         "bp-asm.h".
55971         (PARMS): Do not use macros from bp-asm.h.
55972         (STR): Likewise.
55973         (STOP): Likewise.
55974         (strpbrk): Likewise.  Do not use BP_SYM.
55975         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55976         "bp-asm.h".
55977         (PARMS): Do not use macros from bp-asm.h.
55978         (STR): Likewise.
55979         (CHR): Likewise.
55980         (strrchr): Likewise.  Do not use BP_SYM.
55981         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55982         (PARMS): Do not use macros from bp-asm.h.
55983         (SKIP): Likewise.
55984         (strspn): Do not use BP_SYM.
55985         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55986         (PARMS): Do not use macros from bp-asm.h.
55987         (STR): Likewise.
55988         (DELIM): Likewise.
55989         (SAVE): Likewise.
55990         (FUNCTION): Likewise.  Do not use BP_SYM.
55991         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55992         aliases.
55993         (strtok_r): Likewise.
55994         (__GI___strtok_r): Likewise.
55995         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55996         (PARMS): Do not use macros from bp-asm.h.
55997         (S1): Likewise.
55998         (S2): Likewise.
55999         (SIZE): Likewise.
56000         (__mpn_sub_n): Do not use BP_SYM.
56001         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56002         "bp-asm.h".
56003         (PARMS): Do not use macros from bp-asm.h.
56004         (S1): Likewise.
56005         (SIZE): Likewise.
56006         (__mpn_submul_1): Do not use BP_SYM.
56007         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56008         <bp-sym.h>.
56009         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56010         and <bp-asm.h>.
56011         (PARMS): Do not use macros from bp-asm.h.
56012         (FLAGS): Likewise.
56013         (PTID): Likewise.
56014         (TLS): Likewise.
56015         (CTID): Likewise.
56016         (__clone): Do not use BP_SYM.
56017         (clone): Do not use BP_SYM in weak_alias.
56018         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56019         and <bp-asm.h>.
56020         (PARMS): Do not use macros from bp-asm.h.
56021         (LEN): Likewise.
56022         (__mmap64): Do not use BP_SYM.
56023         (mmap64): Do not use BP_SYM in weak_alias.
56024         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56025         <bp-sym.h> and <bp-asm.h>.
56026         (PARMS): Do not use macros from bp-asm.h.
56027         (__posix_fadvise64_l64): Do not use BP_SYM.
56028         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56029         (PARMS): Do not use macros from bp-asm.h.
56030         (NSOPS): Likewise.
56031         (semtimedop): Do not use BP_SYM.
56032         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56033         and <bp-asm.h>.
56035 2013-02-21  Allan McRae  <allan@archlinux.org>
56037         * manual/message.texi (Charset conversion in gettext):
56038         Move @end statement to beginning of line.
56040 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56043         static.
56044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56045         Likewise.
56047         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56048         (denorm): Likewise.
56049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56052 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56054         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56055         tail-call to the resolved function if pltexit isn't needed.
56057 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56060         or Y being zero as being unlikely.
56061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56062         Likewise.
56064 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56066         * manual/nss.texi (System Databases and Name Service Switch):
56067         Remove frobnicate @pxref.
56069 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56071         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56072         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56074 2013-02-20  Petr Machata  <pmachata@redhat.com>
56076         * elf/elf.h (R_ARM_TARGET1): New macro.
56077         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56078         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56079         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56080         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56081         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56082         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56083         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56084         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56085         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56086         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56087         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56088         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56089         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56090         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56091         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56092         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56093         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56094         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56095         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56096         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56097         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56098         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56099         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56100         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56101         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56102         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56103         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56104         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56105         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56106         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56107         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56108         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56109         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56110         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56111         (R_ARM_THM_GOT_BREL12): Likewise.
56112         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56113         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56114         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56115         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56116         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56117         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56118         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56119         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56120         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56122 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56124         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56125         __attribute_used__ to __attribute__ ((unused)).
56127 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56129         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56130         powerpc mpa.c.
56131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56132         comment formatting.
56133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56135 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56137         [BZ #13550]
56138         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56139         Remove macro.
56140         (ENTER): Remove both macro definitions.
56141         (LEAVE): Likewise.
56142         (CHECK_BOUNDS_LOW): Likewise.
56143         (CHECK_BOUNDS_HIGH): Likewise.
56144         (CHECK_BOUNDS_BOTH): Likewise.
56145         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56146         (RETURN_BOUNDED_POINTER): Likewise.
56147         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56148         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56149         (POP_ERRNO_LOCATION_RETURN): Likewise.
56150         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56151         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56152         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56153         macros.
56154         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56155         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56156         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56157         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56158         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56159         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56160         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56161         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56162         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56163         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56164         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56165         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56166         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56167         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56168         removed macros.
56169         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56170         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56171         macros.
56172         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56173         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56174         * sysdeps/i386/i586/memset.S (memset): Likewise.
56175         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56176         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56177         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56178         macros.
56179         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56180         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56181         Change uses of L(2) to L(out).
56182         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56183         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56184         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56185         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56186         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56187         removed macros.
56188         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56189         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56190         macros.
56191         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56192         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56193         (RETURN): Do not use macro LEAVE.
56194         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56195         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56196         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56197         * sysdeps/i386/i686/memset.S (memset): Likewise.
56198         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56199         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56200         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56201         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56202         Likewise.
56203         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56204         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56205         L(1_2) and L(1_3) into L(1).
56206         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56207         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56208         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56209         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56210         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56211         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56212         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56213         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56214         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56215         macros.
56216         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56217         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56218         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56219         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56220         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56221         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56222         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56223         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56224         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56225         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56226         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56227         * sysdeps/i386/strspn.S (strspn): Likewise.
56228         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56229         conditional code.
56230         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56231         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56232         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56233         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56234         L(1_3) into L(1_1).
56235         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56236         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56237         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56238         macros.
56239         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56241 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56243         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56244         macro.
56246 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56248         * math/atest-exp.c (exp_mpn): Remove ROUND.
56249         * math/atest-exp2.c (exp_mpn): Likewise.
56250         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56252         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56253         * stdlib/tst-tls-atexit-lib.c: Likewise.
56254         * stdlib/tst-tls-atexit.c: Likewise.
56256 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56258         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56259         and __attribute_alloc_size__.
56261 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56263         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56264         __attribute_alloc_size__.
56265         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56266         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56268 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56270         * include/programs/xmalloc.h: New file.
56271         * catgets/gencat.c: Include it.
56272         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56273         * elf/pldd.c: Likewise.
56274         * iconv/iconv_charmap.c: Likewise.
56275         * iconv/iconvconfig.c: Likewise.
56276         * iconv/strtab.c: Likewise.
56277         * locale/programs/locale.c: Likewise.
56278         * locale/programs/localedef.h: Likewise.
56279         * locale/programs/simple-hash.c: Likewise.
56280         * nscd/nscd.h: Likewise.
56281         * nss/makedb.c: Likewise.
56282         * sysdeps/generic/ldconfig.h: Likewise.
56284 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56286         * Versions.def: Add GLIBC_2.18.
56287         * include/link.h (struct link_map): New member l_tls_dtor_count.
56288         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56289         (__call_tls_dtors): Likewise.
56290         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56291         __cxa_thread_atexit_impl.
56292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56293         Likewise.
56294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56295         Likewise.
56296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56297         Likewise.
56298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56299         Likewise.
56300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56302         Likewise.
56303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56304         Likewise.
56305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56307         Likewise.
56308         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56309         (tests): Add test case tst-tls-atexit.
56310         (modules-names): Add shared library for tst-tls-atexit.
56311         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56312         (GLIBC_PRIVATE): Add __call_tls_dtors.
56313         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56314         for libstdc++.
56315         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56316         * stdlib/tst-tls-atexit.c: New test case.
56317         * stdlib/tst-tls-atexit-lib.c: New test case.
56319         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56321         * elf/Versions (ld): Add _dl_find_dso_for_object.
56322         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56323         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56324         (dl_open_worker): Use _dl_find_dso_for_object.
56325         * elf/dl-sym.c (do_sym): Likewise.
56326         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56328 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56330         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56331         Syntactic changes only.
56332         (_dl_runtime_profile): Do a tail-call to the resolved function.
56334 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56336         [BZ #13550]
56337         * sysdeps/x86_64/bp-asm.h: Remove file.
56338         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56339         <bp-sym.h> and <bp-asm.h>.
56340         (__clone): Do not use BP_SYM.
56341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56342         <bp-sym.h> and <bp-asm.h>.
56343         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56344         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56345         "bp-asm.h".
56346         (_setjmp): Do not use BP_SYM.
56347         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56348         "bp-asm.h".
56349         (setjmp): Do not use BP_SYM.
56350         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56351         libc_hidden_def.
56352         (mempcpy): Do not use BP_SYM in weak_alias.
56353         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56354         "bp-asm.h".
56355         (strchr): Do not use BP_SYM.
56356         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56357         "bp-asm.h".
56358         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56359         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56360         (_start): Do not use BP_SYM.
56361         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56362         "bp-asm.h".
56363         (strcat): Do not use BP_SYM.
56364         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56365         "bp-asm.h".
56366         (STRCMP): Do not use BP_SYM.
56367         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56368         "bp-asm.h".
56369         (STRCPY): Do not use BP_SYM.
56370         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56371         "bp-asm.h".
56372         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56373         "bp-asm.h".
56374         (FUNCTION): Do not use BP_SYM.
56375         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56376         weak_alias.
56377         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56379 2013-02-17  Andreas Jaeger  <aj@suse.de>
56381         * time/Versions: Sort entries.
56382         * string/Versions: Likewise.
56383         * resolv/Versions: Likewise.
56384         * posix/Versions: Likewise.
56385         * iconv/Versions: Likewise.
56386         * elf/Versions: Likewise.
56387         * wcsmbs/Versions: Likewise.
56389 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56391         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56392         loop termination condition.
56394         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56395         variable to calculate EZ.
56396         (__sqr): Likewise.
56398         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56399         the lower precision input.
56401 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56403         [BZ #13550]
56404         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56405         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56406         (run-via-rtld-prefix): Do not handle %-bp tests.
56407         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56408         (all-object-suffixes): Remove .ob.
56409         (bppfx): Remove variable.
56410         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56411         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56412         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56413         [$(build-bounded) = yes] (libtype.ob): Likewise.
56414         * Makerules (elide-routines.ob): Remove variable.
56415         (do-tests-clean): Do not handle *-bp.out.
56416         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56417         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56418         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56419         (tests): Do not include $(tests-bp.out).
56420         (xtests): Do not include $(xtests-bp.out).
56421         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56422         [$(build-bounded) = yes] ($(addprefix
56423         $(objpfx),$(binaries-bounded))): Remove rule.
56424         ($(objpfx)%-bp.out): Remove rule.
56425         * config.make.in (build-bounded): Remove variable.
56426         * crypt/Makefile [$(build-bounded) = yes]
56427         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56428         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56429         append to variable.
56430         [$(build-bounded) = yes] (install-lib): Likewise.
56431         [$(build-bounded) = yes] (generated): Likewise.
56432         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56433         Remove rule.
56434         * intl/Makefile [$(build-bounded) = yes]
56435         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56436         * math/Makefile [$(build-bounded) = yes]
56437         ($(tests:%=$(objpfx)%-bp): Likewise.
56438         * misc/Makefile [$(build-bounded) = yes]
56439         ($(objpfx)tst-tsearch-bp): Likewise.
56440         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56441         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56442         Remove dependency.
56443         * string/Makefile (o-objects.ob): Remove variable.
56444         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56445         (CFLAGS-.ob): Remove variable.
56446         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56447         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56448         both definitions of variable.
56449         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56450         (ASFLAGS-.ob): Remove variable.
56452 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56454         [BZ #13550]
56455         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56456         Remove __BOUNDED_POINTERS__ from condition.
56457         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56458         * string/bits/string2.h [!__NO_STRING_INLINES &&
56459         !__BOUNDED_POINTERS__]: Likewise.
56460         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56461         Likewise.
56462         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56463         Remove conditional code.
56464         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56465         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56466         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56467         condition.
56469         [BZ #13550]
56470         * csu/libc-start.c: Do not include <bp-sym.h>.
56471         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56472         * elf/dl-open.c: Do not include <bp-sym.h>.
56473         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56474         * math/fegetenv.c: Do not include <bp-sym.h>.
56475         (fegetenv): Do not use BP_SYM in versioned symbols.
56476         * nptl/sysdeps/pthread/bits/libc-lockP.h
56477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56478         <bp-sym.h>.
56479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56480         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56482         (__pthread_mutex_destroy): Likewise.
56483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56484         (__pthread_mutex_lock): Likewise.
56485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56486         (__pthread_mutex_trylock): Likewise.
56487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56488         (__pthread_mutex_unlock): Likewise.
56489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56490         (__pthread_mutexattr_init): Likewise.
56491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56492         (__pthread_mutexattr_destroy): Likewise.
56493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56494         (__pthread_mutexattr_settype): Likewise.
56495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56496         (__pthread_rwlock_init): Likewise.
56497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56498         (__pthread_rwlock_destroy): Likewise.
56499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56500         (__pthread_rwlock_rdlock): Likewise.
56501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56502         (__pthread_rwlock_tryrdlock): Likewise.
56503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56504         (__pthread_rwlock_wrlock): Likewise.
56505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56506         (__pthread_rwlock_trywrlock): Likewise.
56507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56508         (__pthread_rwlock_unlock): Likewise.
56509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56510         (__pthread_key_create): Likewise.
56511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56512         (__pthread_setspecific): Likewise.
56513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56514         (__pthread_getspecific): Likewise.
56515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56516         Likewise.
56517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56518         (_pthread_cleanup_push_defer): Likewise.
56519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56520         (_pthread_cleanup_pop_restore): Likewise.
56521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56522         (pthread_setcancelstate): Likewise.
56523         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56524         <bp-sym.h>.
56525         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56526         (memchr): Do not use BP_SYM in weak_alias.
56527         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56528         (fegetenv): Do not use BP_SYM in versioned symbols.
56529         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56530         (fesetenv): Do not use BP_SYM in versioned symbols.
56531         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56532         (feupdateenv): Do not use BP_SYM in versioned symbols.
56533         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56534         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56535         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56536         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56537         (open64): Do not use BP_SYM in weak_alias.
56538         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56539         (fegetenv): Do not use BP_SYM in versioned symbols.
56540         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56541         (fesetenv): Do not use BP_SYM in versioned symbols.
56542         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56543         (feupdateenv): Do not use BP_SYM in versioned symbols.
56544         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56545         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56546         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56547         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56548         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56549         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56550         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56551         <bp-sym.h>.
56552         (__libc_start_main): Do not use BP_SYM.
56554 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56557         redundant return line.
56558         (norm): Likewise.
56559         (denorm): Likewise.
56560         (dbl_mp): Likewise.
56561         (sub_magnitudes): Likewise.
56562         (__add): Likewise.
56563         (__sub): Likewise.
56564         (__mul): Likewise.
56565         (__inv): Likewise.
56566         (__dvd): Likewise.
56567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56568         (norm): Likewise.
56569         (denorm): Likewise.
56570         (dbl_mp): Likewise.
56571         (sub_magnitudes): Likewise.
56572         (__add): Likewise.
56573         (__sub): Likewise.
56574         (__mul): Likewise.
56575         (__inv): Likewise.
56576         (__dvd): Likewise.
56578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56579         instead of __mul.
56580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56581         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56582         (cc32): Likewise.
56584         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56585         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56586         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56587         of __mul for squares.
56588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56589         function
56590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56591         Likewise.
56592         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56593         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56595 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56597         [BZ #13550]
56598         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56599         code.
56600         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56601         prototype or function definition.  Rename ubp_* variables and
56602         parameters.  Remove argv definitions conditional on
56603         [__BOUNDED_POINTERS__].
56604         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56605         * elf/dl-runtime.c (_dl_fixup): Likewise.
56606         * include/set-hooks.h (RUN_HOOK): Likewise.
56607         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56608         definition.
56609         * string/strcpy.c (strcpy): Do not use __unbounded.
56610         * sysdeps/generic/frame.h (struct layout): Likewise.
56611         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56612         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56613         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56614         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56615         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56616         (__backtrace): Likewise.
56617         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56618         use __ptrvalue.
56619         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56620         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56621         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56622         Likewise.
56623         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56624         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56625         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56626         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56627         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56628         Do not use __unbounded.
56629         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56630         Rename __unboundedrlimits parameter to rlimits in prototype.
56631         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56632         Do not use __unbounded.
56633         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56634         not use __ptrvalue.
56635         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56636         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56637         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56638         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56639         __ptrvalue or __unbounded.
56640         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56641         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56642         use __unbounded.
56643         (__new_msgctl): Do not use __ptrvalue.
56644         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56645         __unbounded.
56646         (__libc_msgrcv): Do not use __ptrvalue.
56647         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56648         startup_info): Do not use __unbounded.
56649         (__libc_start_main): Likewise.  Rename ubp_* variables and
56650         parameters.  Remove argv definitions conditional on
56651         [__BOUNDED_POINTERS__].
56652         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56653         __ptrvalue.
56654         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56655         use __unbounded.
56656         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56657         or __ptrvalue.
56658         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56659         use __unbounded.
56660         (__new_shmctl): Do not use __ptrvalue.
56661         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56662         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56663         Likewise.
56664         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56666         (__libc_sigaction): Likewise.
56667         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56668         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56669         Likewise.
56670         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56672 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56674         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56676         * string/mempcpy.c: Implement by calling memcpy.
56678 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56683         evaluation.
56685         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56686         values in the mantissa.
56688         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56689         minimize writes to Z.
56690         (sub_magnitudes): Simplify code a bit.
56692 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56694         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56695         from the message.  The linker prefixes all warnings with that already.
56697 2013-02-12  Andreas Schwab  <schwab@suse.de>
56699         [BZ #15078]
56700         * posix/regexec.c (extend_buffers): Add parameter min_len.
56701         (check_matching): Pass minimum needed length.
56702         (clean_state_log_if_needed): Likewise.
56703         (get_subexp): Likewise.
56704         * posix/Makefile (tests): Add bug-regex34.
56705         (bug-regex34-ENV): Define.
56706         * posix/bug-regex34.c: New file.
56708         [BZ #11561]
56709         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56710         elements compare against the byte sequence of it, not its name.
56711         * posix/Makefile (tests): Add bug-regex35.
56712         (bug-regex35-ENV): Define.
56713         * posix/bug-regex35.c: New file.
56715 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56717         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56718         comment.
56719         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56720         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56721         (CHECK_EOL): Add undef.
56723 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56725         * bits/stdlib-bsearch.h: New file.
56726         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56727         * stdlib/stdlib.h: Likewise.
56729 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56731         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56732         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56733         declaration.
56734         * manual/search.texi (Array Search Function): Add missing const in
56735         lfind prototype.
56736         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56737         declaration to use rlim_t.
56738         (Basic Scheduling Functions): Remove erroneous const from
56739         sched_getparam prototype.  Remove erroneous * from
56740         sched_get_priority_max and sched_get_priority_min prototypes.
56741         (Resource Usage): Fix summary @comment on vtimes to refer to
56742         sys/vtimes.h rather than vtimes.h.
56743         Add missing *s in vtimes prototype.
56744         (Limits on Resources): Fix ulimit prototype to return long int.
56745         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56746         prototypes to use long int rather than double.
56747         (BSD Random): Fix initstate and setstate to use char *, not void *.
56748         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56749         prototype to make second argument 'struct aiocb64 *const[]'.
56750         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56751         (Status of AIO Operations): Remove erroneous const in aio_return and
56752         aio_return64 prototypes.
56753         (Synchronizing I/O): Fix sync prototype to return void.
56754         * manual/startup.texi (Suboptions): Remove an erroneous const in
56755         getsubopt prototype.
56756         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56757         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56758         use size_t rather than int.
56759         (Scanning All Users): Likewise for getpwent_r.
56760         (Setting Groups): Add missing const to setgroups prototype.
56761         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56762         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56763         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56764         'const void *' rather than 'const char *'.
56765         (Host Address Functions): Likewise for inet_ntop.
56766         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56767         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56768         ssize_t for return value.
56769         (Sending Data): Likewise for send, sendto, sendmsg.
56770         (Socket Option Functions): Add a missing const in setsockopt prototype.
56771         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56772         use wchar_t for the argument.
56773         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56774         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56775         take no arguments.
56776         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56777         double/float/long double for second argument.
56778         Fix return types of significand, significandf, significandl.
56779         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56780         argument in fchmod prototype.
56781         (File Owner): Use uid_t and gid_t in fchown prototype.
56782         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56783         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56784         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56785         use 'const struct dirent **' as argument types to CMP function pointer
56786         argument.
56787         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56788         (File Times): Fix summary magic @comment for struct utimbuf and utime
56789         to refer to utime.h, not time.h.
56790         * manual/string.texi (Argz Functions): Add missing const in
56791         argz_extract and argz_next prototypes.
56792         (Finding Tokens in a String): Likewise for basename.
56793         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56794         (Copying and Concatenation): Fix typo in wmemmove prototype.
56795         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56796         (Signal Stack): Remove erroneous const in sigstack prototype.
56797         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56798         prototype.
56799         (Simple Calendar Time): Likewise for stime.
56800         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56801         prototype.
56802         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56803         say sys/sysctl.h instead.
56804         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56805         and vsyslog prototypes.
56807 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56809         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56810         Remove.
56812 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56814         * misc/sys/mman.h: Fix typo in mremap comment.
56816 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56818         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56819         the '\0' terminator.
56821 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56823         [BZ #13550]
56824         * debug/segfault.c: Don't include <bp-checks.h>.
56825         * sysdeps/generic/bp-checks.h: Remove file.
56826         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56827         (__GETDENTS): Don't use CHECK_N.
56828         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56829         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56830         (__getgroups): Don't use CHECK_N.
56831         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56832         (setgroups): Don't use CHECK_N.
56833         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56834         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56835         (__libc_msgrcv): Don't use CHECK_N.
56836         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56837         (__libc_msgsnd): Don't use CHECK_N.
56838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56839         <bp-checks.h>.
56840         (__libc_pread): Don't use CHECK_N.
56841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56842         include <bp-checks.h>.
56843         (__libc_pread64): Don't use CHECK_N.
56844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56845         include <bp-checks.h>.
56846         (__libc_pwrite): Don't use CHECK_N.
56847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56848         include <bp-checks.h>.
56849         (__libc_pwrite64): Don't use CHECK_N.
56850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56851         <bp-checks.h>.
56852         (__libc_pread): Don't use CHECK_N.
56853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56854         include <bp-checks.h>.
56855         (__libc_pread64): Don't use CHECK_N.
56856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56857         include <bp-checks.h>.
56858         (__libc_pwrite): Don't use CHECK_N.
56859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56860         include <bp-checks.h>.
56861         (__libc_pwrite64): Don't use CHECK_N.
56862         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56863         (do_pread): Don't use CHECK_N.
56864         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56865         (do_pread64): Don't use CHECK_N.
56866         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56867         (do_pwrite): Don't use CHECK_N.
56868         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56869         (do_pwrite64): Don't use CHECK_N.
56870         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56871         (__libc_readv): Don't use CHECK_N.
56872         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56873         (semop): Don't use CHECK_N.
56874         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56875         <bp-checks.h>.
56876         (semtimedop): Don't use CHECK_N.
56877         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56878         (__libc_pread): Don't use CHECK_N.
56879         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56880         <bp-checks.h>.
56881         (__libc_pread64): Don't use CHECK_N.
56882         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56883         <bp-checks.h>.
56884         (__libc_pwrite): Don't use CHECK_N.
56885         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56886         <bp-checks.h>.
56887         (__libc_pwrite64): Don't use CHECK_N.
56888         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56889         <bp-checks.h>.
56890         (__libc_msgrcv): Don't use CHECK_N.
56891         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56892         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56893         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56894         (__libc_writev): Don't use CHECK_N.
56896 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56898         * string/strcpy.c: Removed unused variable.
56900         * Makeconfig (+sysdep-includes): Define with := rather than =.
56901         Use an existing include/ subdir of each sysdeps dir before it.
56903 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56905         * nscd/connection.c (register_traced_file): Comment function.
56906         [HAVE_INOTIFY] (union __inev): Define.
56907         [HAVE_INOTIFY] (inotify_check_files): New function.
56908         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56909         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56910         clear_db_cache.
56911         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56913 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56915         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56916         loaded if not already and that a failure is permanent.
56918 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56920         [BZ #15006]
56921         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56922         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56924 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56926         [BZ #13550]
56927         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56928         (CHECK_1_NULL_OK): Likewise.
56929         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56930         (__fxstat): Do not use CHECK_1.
56931         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56932         <bp-checks.h>.
56933         (___fxstat64): Do not use CHECK_1.
56934         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56935         <bp-checks.h>.
56936         (__fxstatat): Do not use CHECK_1.
56937         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56938         <bp-checks.h>.
56939         (__fxstatat64): Do not use CHECK_1.
56940         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56941         <bp-checks.h>.
56942         (__fxstat): Do not use CHECK_1.
56943         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56944         <bp-checks.h>.
56945         (__fxstatat): Do not use CHECK_1.
56946         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56947         <bp-checks.h>.
56948         (__getresgid): Do not use CHECK_1.
56949         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56950         <bp-checks.h>.
56951         (__getresuid): Do not use CHECK_1.
56952         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56953         <bp-checks.h>.
56954         (__lxstat): Do not use CHECK_1.
56955         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56956         <bp-checks.h>.
56957         (__old_msgctl): Do not use CHECK_1.
56958         (__new_msgctl): Likewise.
56959         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56960         <bp-checks.h>.
56961         (__new_setrlimit): Do not use CHECK_1.
56962         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56963         <bp-checks.h>.
56964         (__old_shmctl): Do not use CHECK_1.
56965         (__new_shmctl): Likewise.
56966         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56967         <bp-checks.h>.
56968         (__xstat): Do not use CHECK_1.
56969         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56970         (__lxstat): Do not use CHECK_1.
56971         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56972         <bp-checks.h>.
56973         (___lxstat64): Do not use CHECK_1.
56974         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56975         (__old_msgctl): Do not use CHECK_1.
56976         (__new_msgctl): Likewise.
56977         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56978         <bp-checks.h>.
56979         (__gettimeofday): Do not use CHECK_1.
56980         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56981         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56982         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56983         <bp-checks.h>.
56984         (__gettimeofday): Do not use CHECK_1.
56985         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56986         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56987         (__new_shmctl): Do not use CHECK_1.
56988         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56989         <bp-checks.h>.
56990         (do_sigtimedwait): Do not use CHECK_1.
56991         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56992         <bp-checks.h>.
56993         (do_sigwaitinfo): Do not use CHECK_1.
56994         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56995         <bp-checks.h>.
56996         (msgctl): Do not use CHECK_1.
56997         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56998         <bp-checks.h>.
56999         (shmctl): Do not use CHECK_1.
57000         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57001         (ustat): Do not use CHECK_1.
57002         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57003         <bp-checks.h>.
57004         (__fxstat): Do not use CHECK_1.
57005         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57006         <bp-checks.h>.
57007         (__fxstatat): Do not use CHECK_1.
57008         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57009         <bp-checks.h>.
57010         (__lxstat): Do not use CHECK_1.
57011         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57012         <bp-checks.h>.
57013         (__xstat): Do not use CHECK_1.
57014         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57015         (__xstat): Do not use CHECK_1.
57016         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57017         (___xstat64): Do not use CHECK_1.
57019         [BZ #13550]
57020         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57021         definitions.
57022         (CHECK_BOUNDS_HIGH): Likewise.
57023         * string/strcpy.c: Do not include <bp-checks.h>.
57024         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57026 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57028         * nscd/nscd-client.h (__nscd_drop_map_ref):
57029         Add __attribute__ ((unused)).
57030         * nis/nss-nisplus.h (niserr2nss): Likewise.
57032         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57033         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57035         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57036         Remove inline keyword.
57037         * include/rounding-mode.h (round_away): Likewise.
57038         * libio/wfileops.c (adjust_wide_data): Likewise.
57039         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57040         (__m128i_strloadu_tolower): Likewise.
57041         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57042         (__m128i_strloadu_tolower): Likewise.
57043         * time/mktime.c (ydhms_diff): Likewise.
57044         * locale/elem-hash.h (elem_hash): Likewise.
57045         * locale/setlocale.c (setdata): Likewise.
57046         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57047         (re_string_wchar_at): Likewise.
57048         (bitset_not, bitset_merge, bitset_mask): Likewise.
57049         [!(__GNUC__ > 3)] (inline): Remove macro.
57050         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57051         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57052         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57053         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57054         * string/memcmp.c (memcmp_bytes): Likewise.
57055         * locale/programs/locarchive.c (compute_hashval): Likewise.
57056         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57057         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57058         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57059         * nss/getent.c (print_rpc, print_protocols): Likewise.
57060         (print_passwd, print_group, print_aliases): Likewise.
57061         * nis/nss-nisplus.h (niserr2nss): Likewise.
57062         * nscd/connections.c (restart_p): Likewise.
57063         Change return type to bool.
57065 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57067         * Makeconfig (all-Depend-files): Add existing
57068         $(sorted-subdirs:=/Depend) files.
57069         (all-subdirs): Remove nss.
57070         * sysdeps/unix/inet/Subdirs: Add it here instead.
57071         * hesiod/Depend: New file.
57073         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57074         instead of calling alloca.
57076         * io/lseek.c (__lseek): Rename to __libc_lseek.
57077         Define __lseek as an alias.
57079         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57081 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57083         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57084         else clause and remove check for non-standard endianness.
57086 2013-02-04  David S. Miller  <davem@davemloft.net>
57088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57090 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57092         [BZ #13550]
57093         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57094         (__ubp_memchr): Remove prototype.
57095         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57096         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57097         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57098         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57099         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57100         Remove alias.
57101         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57102         (__ubp_memchr): Likewise.
57103         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57104         (__ubp_memchr): Likewise.
57105         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57106         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57107         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57108         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57109         CHECK_STRING.
57110         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57111         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57112         (__getcwd): Do not use CHECK_STRING.
57113         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57114         <bp-checks.h>.
57115         (__real_chown): Do not use CHECK_STRING.
57116         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57117         <bp-checks.h>.
57118         (fchownat): Do not use CHECK_STRING.
57119         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57120         CHECK_STRING.
57121         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57122         <bp-checks.h>.
57123         (__lchown): Do not use CHECK_STRING.
57124         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57125         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57126         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57127         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57129         include <bp-checks.h>.
57130         (truncate64): Do not use CHECK_STRING.
57131         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57132         <bp-checks.h>.
57133         (__real_chown): Do not use CHECK_STRING.
57134         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57135         <bp-checks.h>.
57136         (__lchown): Do not use CHECK_STRING.
57137         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57138         <bp-checks.h>.
57139         (__chown): Do not use CHECK_STRING.
57140         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57141         <bp-checks.h>.
57142         (truncate64): Do not use CHECK_STRING.
57143         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57144         Likewise.
57145         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57146         (__xmknod): Do not use CHECK_STRING.
57147         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57148         <bp-checks.h>.
57149         (__xmknodat): Do not use CHECK_STRING.
57150         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57151         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57153 2013-02-04  Andreas Schwab  <schwab@suse.de>
57155         [BZ #14142]
57156         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57157         * include/netdb.h: Likewise for h_errno.
57158         * elf/tst-stackguard1.c: Include <tls.h>.
57160 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57162         * elf/link.h (struct link_map): Extend the l_addr comment.
57163         * include/link.h (struct link_map): Likewise.
57165 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57167         [BZ #13550]
57168         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57169         (BOUNDED_1): Remove macro.
57170         * debug/backtrace.c: Don't include <bp-checks.h>.
57171         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57172         (__backtrace): Likewise.
57173         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57174         <bp-checks.h>.
57175         (__backtrace): Don't use BOUNDED_1.
57176         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57177         <bp-checks.h>.
57178         (__backtrace): Don't use BOUNDED_1.
57179         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57180         (__backtrace): Don't use BOUNDED_1.
57181         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57182         (shmat): Don't use BOUNDED_N.
57184 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57186         [BZ #13550]
57187         * sysdeps/generic/bp-start.h: Remove file.
57188         * csu/libc-start.c: Don't include <bp-start.h>.
57189         (LIBC_START_MAIN): Set up __environ directly instead of using
57190         INIT_ARGV_and_ENVIRON.
57191         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57192         <bp-start.h>.
57194         [BZ #13550]
57195         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57196         definitions.
57197         (CHECK_FCNTL): Likewise.
57198         (CHECK_N_PAGES): Likewise.
57200         [BZ #13550]
57201         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57202         definitions.
57203         (CHECK_SIGSET_NULL_OK): Likewise.
57204         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57205         <bp-checks.h>.
57206         (sigpending): Don't use CHECK_SIGSET.
57207         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57208         <bp-checks.h>.
57209         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57210         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57211         <bp-checks.h>.
57212         (do_sigsuspend): Don't use CHECK_SIGSET.
57213         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57214         use CHECK_SIGSET.
57215         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57216         (do_sigwait): Don't use CHECK_SIGSET.
57217         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57218         use CHECK_SIGSET.
57219         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57220         include <bp-checks.h>.
57221         (sigpending): Don't use CHECK_SIGSET.
57222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57223         include <bp-checks.h>.
57224         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57225         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57226         <bp-checks.h>.
57227         (sigpending): Don't use CHECK_SIGSET.
57228         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57229         <bp-checks.h>.
57230         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57232         [BZ #13550]
57233         * sysdeps/generic/bp-semctl.h: Remove file.
57234         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57235         <bp-checks.h> and <bp-semctl.h>.
57236         (__old_semctl): Don't use CHECK_SEMCTL.
57237         (__new_semctl): Likewise.
57238         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57239         and <bp-semctl.h>.
57240         (__old_semctl): Don't use CHECK_SEMCTL.
57241         (__new_semctl): Likewise.
57242         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57243         <bp-checks.h> and <bp-semctl.h>.
57244         (__old_semctl): Don't use CHECK_SEMCTL.
57245         (__new_semctl): Likewise.
57246         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57247         <bp-checks.h> and <bp-semctl.h>.
57248         (semctl): Don't use CHECK_SEMCTL.
57250         [BZ #13550]
57251         * Makerules (elide-bp-thunks): Remove variable.
57252         (elide-routines.oS): Don't use $(elide-bp-thunks).
57253         (elide-routines.os): Likewise.
57254         (elide-routines.o): Likewise.
57255         (elide-routines.op): Likewise.
57256         (elide-routines.og): Likewise.
57257         (objects): Don't use $(bp-thunks).
57258         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57259         include.
57260         (common-generated): Do not add s-proto-bp.d.
57261         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57262         (int): Likewise.
57263         (typ): Likewise.
57264         Do not generate makefile rules for bounded-pointer thunks.
57265         * sysdeps/generic/bp-thunks.h: Remove file.
57266         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57267         * sysdeps/unix/s-proto-bp.S: Likewise.
57269         [BZ #15062]
57270         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57271         parts of result separately when argument is not close to line from
57272         -i to i and one part of argument is small.
57273         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57274         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57275         * math/libm-test.inc (cacos_test): Add more tests.
57276         (casin_test): Likewise.
57277         (casinh_test): Likewise.
57278         * sysdeps/i386/fpu/libm-test-ulps: Update.
57279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57281 2013-01-31  David S. Miller  <davem@davemloft.net>
57283         * po/de.po: Update from translation team.
57285 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57287         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57289 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57291         * configure.in (_AC_PROG_CC_C89): New definition.
57292         * configure: Regenerate.
57294         * configure.in (AC_PROG_CPP): New definition.
57295         * configure: Regenerate.
57297 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57299         * debug/tst-backtrace.h: New file.
57300         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57301         (ret): Remove variable.
57302         (x): Likewise.
57303         (FAIL): Remove macro.
57304         (NO_INLINE): Likewise.
57305         (fn1): Use match function instead of strstr.
57306         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57307         (ret): Remove variable.
57308         (x): Likewise.
57309         (FAIL): Remove macro.
57310         (NO_INLINE): Likewise.
57311         (fn): Use match function instead of strstr.
57312         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57313         (ret): Remove variable.
57314         (x): Likewise.
57315         (FAIL): Remove macro.
57316         (NO_INLINE): Likewise.
57317         (handle_signal): Use match function instead of strstr.
57318         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57319         (ret): Remove variable.
57320         (x): Likewise.
57321         (FAIL): Remove macro.
57322         (NO_INLINE): Likewise.
57323         (handle_signal): Use match function instead of strstr.
57325 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57327         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57329 2013-01-23  David S. Miller  <davem@davemloft.net>
57331         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57332         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57333         argument of CAS if possible.
57334         * sysdeps/sparc/sparc64/bits/atomic.h
57335         (__arch_compare_and_exchange_val_32_acq): Likewise.
57336         (__arch_compare_and_exchange_val_64_acq): Likewise.
57338 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57340         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57341         * sysdeps/posix/ulimit.c: ... this.
57342         Include <limits.h>.
57343         * sysdeps/unix/bsd/ulimit.c: Remove file.
57345 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57347         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57348         (LDFLAGS-tst-array5): Likewise.
57350 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57352         [BZ #15036]
57353         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57354         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57355         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57356         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57358 2013-01-21  David S. Miller  <davem@davemloft.net>
57360         * sysdeps/sparc/backtrace.c: New file.
57361         * sysdeps/sparc/sparc32/backtrace.h: New file.
57362         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57363         * sysdeps/sparc/sparc64/backtrace.h: New file.
57364         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57365         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57366         -funwind-tables.
57368 2013-01-21  Andreas Schwab  <schwab@suse.de>
57370         [BZ #15020]
57371         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57372         closed its stdout.
57374 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57377         "mpa2.h".
57378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57380 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57381             Mark Mitchell  <mark@codesourcery.com>
57382             Tom de Vries  <tom@codesourcery.com>
57383             Paul Pluzhnikov  <ppluzhnikov@google.com>
57385         * debug/tst-backtrace2.c: New file.
57386         * debug/tst-backtrace3.c: Likewise.
57387         * debug/tst-backtrace4.c: Likewise.
57388         * debug/tst-backtrace5.c: Likewise.
57389         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57390         (CFLAGS-tst-backtrace3.c): Likewise.
57391         (CFLAGS-tst-backtrace4.c): Likewise.
57392         (CFLAGS-tst-backtrace5.c): Likewise.
57393         (LDFLAGS-tst-backtrace2): Likewise.
57394         (LDFLAGS-tst-backtrace3): Likewise.
57395         (LDFLAGS-tst-backtrace4): Likewise.
57396         (LDFLAGS-tst-backtrace5): Likewise.
57397         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57398         tst-backtrace4 and tst-backtrace5.
57400 2013-01-18  Anton Blanchard  <anton@samba.org>
57401             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57403         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57404         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57405         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57406         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57408         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57409         "+r" and remove output regs list as redundant.  Add explicit inline
57410         asm to specify register of return val to work around compiler codegen
57411         bug.  Remove (int) cast on return value.  Add return type parameter to
57412         use in macro so that this macro does not truncate return value for
57413         64-bit values.
57414         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57415         pass to INTERNAL_VSYSCALL_NCS.
57416         (INLINE_VSYSCALL): Add 'long int' as return type to
57417         INTERNAL_VSYSCALL_NCS macro invocation.
57418         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57419         INTERNAL_VSYSCALL_NCS macro invocation.
57420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57422 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57424         [BZ #14496]
57425         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57426         Fix application of SIMD FP exception mask.
57428         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57429         mp_no from a power of two.
57430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57431         __mpexp_twomm1.  Use __pow_mp.
57433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57434         multiplication.
57436 2013-01-17  David S. Miller  <davem@davemloft.net>
57438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57440 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57442         [BZ #15023]
57443         * include/complex.h: Condition contents on [!_COMPLEX_H].
57444         (__kernel_casinhf): New prototype.
57445         (__kernel_casinh): Likewise.
57446         (__kernel_casinhl): Likewise.
57447         * math/Makefile (libm_calls): Add k_casinh.
57448         * math/k_casinh.c: New file.
57449         * math/k_casinhf.c: Likewise.
57450         * math/k_casinhl.c: Likewise.
57451         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57452         finite nonzero arguments.
57453         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57454         finite nonzero arguments.
57455         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57456         finite nonzero arguments.
57457         * math/s_casinh.c: Do not include <float.h>.
57458         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57459         * math/s_casinhf.c: Do not include <float.h>.
57460         (__casinhf): Move code for finite nonzero arguments to
57461         k_casinhf.c.
57462         * math/s_casinhl.c: Do not include <float.h>.
57463         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57464         redefine.
57465         (__casinhl): Move code for finite nonzero arguments to
57466         k_casinhl.c.
57467         * math/libm-test.inc (cacos_test): Add more tests.
57468         * sysdeps/i386/fpu/libm-test-ulps: Update.
57469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57471 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57473         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57474         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57475         [!HAVE_MREMAP]: Remove [defined linux] case.
57476         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57478 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57480         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57482 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57484         * elf/elf.h (R_386_SIZE32): New relocation.
57485         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57486         R_386_SIZE32.
57487         (elf_machine_rela): Likewise.
57488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57489         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57491 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57493         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57494         (FP_FAST_FMA): Do not define.
57495         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57496         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57497         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57498         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57499         !_SOFT_FLOAT]: Likewise.
57500         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57501         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57502         value.
57503         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57504         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57505         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57506         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57507         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57508         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57509         file.
57511 2013-01-16  Andreas Schwab  <schwab@suse.de>
57513         [BZ #14327]
57514         * include/stdlib.h (__mktemp): Add declaration.
57515         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57516         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57518 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57520         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57521         definitions.
57522         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57523         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57524         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57525         definitions here.
57526         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57527         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57528         definitions.
57529         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57530         and ONE.
57531         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57532         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57533         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57534         definitions.
57535         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57536         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57537         definitions.
57538         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57540         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57542 2013-01-15  David S. Miller  <davem@davemloft.net>
57544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57545         trunc{,f} to libm-sysdep_routes.
57546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57548         file.
57549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57551         file.
57552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57553         file.
57554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57556         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57557         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57558         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57559         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57560         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57561         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57564         nearbyint{,f} to libm-sysdep_routes.
57565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57567         New file.
57568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57569         file.
57570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57571         New file.
57572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57573         file.
57574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57576         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57577         file.
57578         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57579         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57580         file.
57581         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57582         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57583         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57586         libc_feholdexcept and libc_fesetenv.
57588 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57590         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57592 2013-01-14  David S. Miller  <davem@davemloft.net>
57594         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57595         (SPARC_ASM_VIS2_IFUNC): Likewise.
57596         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57598         use of 'siam' instruction.
57599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57600         Likewise.
57601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57602         Likewise.
57603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57604         Likewise.
57605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57610         file.
57611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57612         file.
57613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57614         file.
57615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57616         file.
57617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57622         new VIS2 routines.
57623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57626         Likewise.
57627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57632         routines to libm-sysdep_routines.
57633         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57636         fdim/fdimf to libm-sysdep_routines.
57637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57638         file.
57639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57641         file.
57642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57645         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57646         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57647         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57648         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57650 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57652         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57653         to optimize copies.
57655         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57660         local variable MPTWO.
57661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57662         Likewise.
57664 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57666         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57667         GLOB_NOESCAPE.
57669 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57671         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57673 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57675         * manual/pattern.texi (glob_t): Document gl_flags.
57676         (glob64_t): Likewise.
57678 2013-01-11  David S. Miller  <davem@davemloft.net>
57680         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57681         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57682         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57683         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57684         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57685         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57686         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57687         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57688         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57689         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57690         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57691         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57692         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57694         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57695         sparc V9 rather than using V8 code.
57696         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57697         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57699         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57700         Move to...
57701         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57702         Here.
57704 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57706         [BZ #14941]
57707         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57708         not in the main loop.
57709         * configure: Regenerated.
57711 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57713         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57714         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57715         to just #else.
57716         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57717         [!__GLIBC_HAVE_LONG_LONG] case.
57718         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57719         condition to just #else.
57720         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57721         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57722         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57723         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57724         unconditional.
57725         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57726         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57727         #elif condition to just #else.
57728         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57729         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57730         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57731         #elif condition to just #else.
57733 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57735         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57736         (EF_MIPS_ARCH_64): Fix value.
57737         (EF_MIPS_ARCH_32R2): New.
57738         (EF_MIPS_ARCH_64R2): New.
57740 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57742         * Makeconfig (+link-pie-before-libc): New.
57743         (+link-pie-after-libc): Likewise.
57744         (+link-pie-tests): Likewise.
57745         (+link-pie): Rewritten.
57746         (link-before-libc): Remove $(config-LDFLAGS).
57747         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57748         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57749         (config-LDFLAGS): Renamed to ...
57750         (rtld-LDFLAGS): This.
57751         (rtld-tests-LDFLAGS): New macro.
57752         (link-libc-rpath-link): Likewise.
57753         (link-libc-tests-rpath-link): Likewise.
57754         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57755         (link-libc): Prepand $(link-libc-rpath-link).
57756         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57757         (test-program-prefix): New macro.
57758         (test-via-rtld-prefix): Likewise.
57759         (test-program-cmd): Likewise.
57760         (host-test-program-cmd): Likewise.
57761         * Makefile ($(common-objpfx)testrun.sh): Replace
57762         $(run-program-prefix) with $(test-program-prefix).
57763         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57764         $(rtld-LDFLAGS).
57765         ($(common-objpfx)shlib.lds): Likewise.
57766         (build-module-helper): Likewise.
57767         ($(common-objpfx)format.lds): Likewise.
57768         * Rules (binaries-pie-tests): New.
57769         (binaries-pie-notests): Likewise.
57770         (binaries-pie): Rewritten.
57771         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57772         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57773         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57774         (make-test-out): Replace $(host-built-program-cmd) with
57775         $(host-test-program-cmd).
57776         * config.make.in (build-hardcoded-path-in-tests): New variable.
57777         * configure.in (--enable-hardcoded-path-in-tests): New configure
57778         option.
57779         (hardcoded_path_in_tests): New AC_SUBST.
57780         * configure: Regenerated.
57781         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57782         $(built-program-cmd) with $(test-program-cmd).
57783         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57784         (test_program_cmd): This.
57785         * elf/Makefile ($(objpfx)order.out): Run test with
57786         $(test-program-prefix).
57787         ($(objpfx)order2.out): Likewise.
57788         ($(objpfx)tst-initorder.out): Likewise.
57789         ($(objpfx)tst-initorder2.out): Likewise.
57790         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57791         $(test-program-cmd).
57792         ($(objpfx)tst-array1-static.out): Likewise.
57793         ($(objpfx)tst-array2.out): Likewise.
57794         ($(objpfx)tst-array3.out): Likewise.
57795         ($(objpfx)tst-array4.out): Likewise.
57796         ($(objpfx)tst-array5.out): Likewise.
57797         ($(objpfx)tst-array5-static.out): Likewise.
57798         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57799         $(test-program-cmd).
57800         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57801         $(run-program-prefix) with $(test-program-prefix).
57802         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57803         (test_program_prefix): This.
57804         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57805         $(run-program-prefix) with $(test-program-prefix).
57806         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57807         (test_program_prefix): This.
57808         * iconvdata/tst-tables.sh: Likewise.
57809         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57810         $(run-program-prefix) with $(test-program-prefix).
57811         ($(objpfx)tst-translit.out): Likewise.
57812         ($(objpfx)tst-gettext2.out): Likewise.
57813         ($(objpfx)tst-gettext4.out): Likewise.
57814         ($(objpfx)tst-gettext6.out): Likewise.
57815         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57816         (test_program_prefix): This.
57817         * intl/tst-gettext2.sh: Likewise.
57818         * intl/tst-gettext4.sh  Likewise.
57819         * intl/tst-gettext6.sh: Likewise.
57820         * intl/tst-translit.sh: Likewise.
57821         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57822         with $(test-program-cmd).
57823         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57824         $(run-program-prefix) with $(test-program-prefix).
57825         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57826         (test_program_prefix): This.
57827         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57828         $(run-program-prefix) with $(test-program-prefix).
57829         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57830         (test_program_prefix): This.
57831         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57832         * posix/Makefile ($(objpfx)globtest.out): Replace
57833         $(run-via-rtld-prefix) and $(test-wrapper) with
57834         $(test-program-prefix) and $(test-via-rtld-prefix).
57835         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57836         $(test-program-prefix).
57837         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57838         $(host-test-program-cmd).
57839         (tst-spawn-ARGS): Likewise.
57840         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57841         $(test-program-prefix).
57842         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57843         (test_via_rtld_prefix): This.
57844         (test_wrapper): Renamed to ...
57845         (test_program_prefix): This.
57846         (run_program_prefix): Replaced by test_program_prefix.
57847         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57848         (test_program_prefix): This.
57849         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57850         with $(host-test-program-cmd).
57851         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57852         $(run-program-prefix) with $(test-program-prefix).
57853         ($(objpfx)tst-printf.out): Likewise.
57854         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57855         $(test-program-cmd).
57856         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57857         (test_program_prefix): This.
57858         * stdio-common/tst-unbputc.sh: Likewise.
57859         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57860         $(run-program-prefix) with $(test-program-prefix).
57861         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57862         (test_program_prefix): This.
57863         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57864         $(built-program-cmd) with $(test-program-cmd).
57866 2013-01-11  Andreas Jaeger  <aj@suse.de>
57868         [BZ #15003]
57869         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57870         value. Sync with Linux 3.7.
57872 2013-01-10  David S. Miller  <davem@davemloft.net>
57874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57878 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57880         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57881         never set.
57882         * configure: Regenerated.
57884 2013-01-10  David S. Miller  <davem@davemloft.net>
57886         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57887         sparc V9 rather than using V8 code.
57888         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57889         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57891 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57893         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57894         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57895         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57896         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57897         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57898         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57899         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57900         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57901         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57902         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57903         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57904         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57905         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57906         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57907         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57908         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57909         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57910         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57911         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57912         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57913         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57914         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57915         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57916         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57917         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57918         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57919         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57921 2013-01-10  David S. Miller  <davem@davemloft.net>
57923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57925 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57927         * posix/Makefile (tests-static): New variable.
57928         (tests): Add $(tests-static).
57929         (tst-exec-static-ARGS): New variable.
57930         (tst-spawn-static-ARGS): Likewise.
57931         * posix/tst-exec-static.c: New file.
57932         * posix/tst-spawn-static.c: Likewise.
57933         * posix/tst-exec.c: Support run directly.
57934         * posix/tst-spawn.c: Likewise.
57936 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57938         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57939         long.
57940         * math/bits/mathcalls.h (llrint): Likewise.
57941         (llround): Likewise.
57942         * stdlib/stdlib.h (struct drand48_data): Likewise.
57943         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57944         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57945         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57946         Likewise.
57947         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57948         Likewise.
57949         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57950         (elf_greg_t): Likewise.
57951         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57952         (__jmp_buf): Likewise.
57953         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57954         definitions.
57955         (llrint): Likewise, for all definitions.
57956         (llrintl): Likewise.
57958         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57959         Remove [__GNUC__] condition.
57960         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57961         condition to just [__USE_ISOC99].
57962         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57964 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57966         [BZ #14200]
57967         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57968         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57969         defined.
57970         (_POSIX_V6_ILP32_OFF32): Likewise.
57971         (_XBS5_ILP32_OFF32): Likewise.
57972         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57973         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57975 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57977         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57980         doubles __mpexp_twomm1.  Adjust usage.
57981         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57982         Remove.
57984 2013-01-10  Andreas Schwab  <schwab@suse.de>
57986         [BZ #14964]
57987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57988         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57990 2013-01-09  David S. Miller  <davem@davemloft.net>
57992         [BZ #15003]
57993         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57994         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57995         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57996         (TCP_FASTOPEN): Define.
57997         (tcp_repair_opt): New structure.
57998         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57999         enum values.
58000         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58001         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58002         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58003         (tcp_cookie_transactions): New structure.
58005 2013-01-09  Anton Blanchard  <anton@samba.org>
58007         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58008         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58010         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58012 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58014         * include/features.h (__USE_ANSI): Remove.
58016 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58018         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58020         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58022 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58024         * sysdeps/s390/fpu/libm-test-ulps: Update.
58026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58028         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58029         (__acr): Likewise.
58030         (__cpy): Likewise.
58031         (norm): Likewise.
58032         (denorm): Likewise.
58033         (__mp_dbl): Likewise.
58034         (__dbl_mp): Likewise.
58035         (add_magnitudes): Likewise.
58036         (sub_magnitudes): Likewise.
58037         (__add): Likewise.
58038         (__sub): Likewise.
58039         (__mul): Likewise.
58040         (__inv): Likewise.
58041         (__dvd): Likewise.
58042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58043         (__acr): Likewise.
58044         (__cpy): Likewise.
58045         (norm): Likewise.
58046         (denorm): Likewise.
58047         (__mp_dbl): Likewise.
58048         (__dbl_mp): Likewise.
58049         (add_magnitudes): Likewise.
58050         (sub_magnitudes): Likewise.
58051         (__add): Likewise.
58052         (__sub): Likewise.
58053         (__mul): Likewise.
58054         (__inv): Likewise.
58055         (__dvd): Likewise.
58056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58057         (__acr): Likewise.
58058         (__cpy): Likewise.
58059         (norm): Likewise.
58060         (denorm): Likewise.
58061         (__mp_dbl): Likewise.
58062         (__dbl_mp): Likewise.
58063         (add_magnitudes): Likewise.
58064         (sub_magnitudes): Likewise.
58065         (__add): Likewise.
58066         (__sub): Likewise.
58067         (__mul): Likewise.
58068         (__inv): Likewise.
58069         (__dvd): Likewise.
58071 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58073         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58074         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58075         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58076         2 && __USE_EXTERN_INLINES]: Likewise.
58078 2013-01-08  Andreas Jaeger  <aj@suse.de>
58080         [BZ# 14985]
58081         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58082         Remove.
58083         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58084         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58086 2013-01-07  Anton Blanchard  <anton@samba.org>
58088         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58089         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58090         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58091         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58092         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58093         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58094         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58095         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58097         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58098         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58099         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58100         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58101         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58102         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58103         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58104         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58105         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58106         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58108         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58109         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58110         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58111         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58112         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58113         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58114         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58115         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58116         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58117         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58118         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58122         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58124         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58125         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58126         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58127         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58128         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58130         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58132 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58134         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58135         (__MALLOC_PMT): Likewise.
58136         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58137         [__GNUC__], only on [_LIBC].
58138         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58139         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58140         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58141         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58142         forward declaration.
58143         (realloc_hook_ini): Likewise.
58144         (memalign_hook_ini): Likewise.
58145         (__libc_memalign): Do not use __MALLOC_PMT in variable
58146         declaration.
58147         (__libc_valloc): Likewise.
58148         (__libc_pvalloc): Likewise.
58149         (__libc_calloc): Likewise.
58150         (__posix_memalign): Likewise.
58152         [BZ #14996]
58153         * math/s_casinh.c: Include <float.h>.
58154         (__casinh): Do not do computation with squaring and square root
58155         for large arguments.
58156         * math/s_casinhf.c: Include <float.h>.
58157         (__casinhf): Do not do computation with squaring and square root
58158         for large arguments.
58159         * math/s_casinhl.c: Include <float.h>.
58160         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58161         (__casinhl): Do not do computation with squaring and square root
58162         for large arguments.
58163         * math/libm-test.inc (casin_test): Add more tests.
58164         (casinh_test): Likewise.
58165         * sysdeps/i386/fpu/libm-test-ulps: Update.
58166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58168 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58170         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58171         (__x86_64_raw_data_cache_size): Likewise.
58172         (__x86_64_data_cache_size_half): Likewise.
58173         (__x86_64_raw_data_cache_size_half): Likewise.
58174         (__x86_64_shared_cache_size): Likewise.
58175         (__x86_64_raw_shared_cache_size): Likewise.
58176         (__x86_64_shared_cache_size_half): Likewise.
58177         (__x86_64_raw_shared_cache_size_half): Likewise.
58178         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58179         to ...
58180         (__x86_data_cache_size): This.
58181         (__x86_64_raw_data_cache_size): Renamed to ...
58182         (__x86_raw_data_cache_size): This.
58183         (__x86_64_data_cache_size_half): Renamed to ...
58184         (__x86_data_cache_size_half): This.
58185         (__x86_64_raw_data_cache_size_half): Renamed to ...
58186         (__x86_raw_data_cache_size_half): This.
58187         (__x86_64_shared_cache_size): Renamed to ...
58188         (__x86_shared_cache_size): This.
58189         (__x86_64_raw_shared_cache_size): Renamed to ...
58190         (__x86_raw_shared_cache_size): This.
58191         (__x86_64_shared_cache_size_half): Renamed to ...
58192         (__x86_shared_cache_size_half): This.
58193         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58194         (__x86_raw_shared_cache_size_half): This.
58195         * sysdeps/x86_64/memcpy.S: Updated.
58196         * sysdeps/x86_64/memset.S: Likewise.
58197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58201 2013-01-04  David S. Miller  <davem@davemloft.net>
58203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58205 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58207         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58208         1 to avoid redefinition warning.
58209         (__USE_GNU): Don't define.
58210         (init_signaling_nan): Protoize.
58212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58214 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58216         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58218         (__cpymn): Likewise.
58219         (norm): Remove commented code.
58220         (denorm): Likewise.
58221         (__mp_dbl): Likewise.
58222         (__inv): Likewise.
58223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58224         (__cpymn): Likewise.
58225         (norm): Remove commented code.
58226         (denorm): Likewise.
58227         (__mp_dbl): Likewise.
58228         (__inv): Likewise.
58230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58231         mp_no value for 1.0 and 2.0.
58232         (norm): Use RADIXI instead of radixi.d.
58233         (denorm): Likewise.
58234         (__mul): Use 0.0 instead of zero.d.
58235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58236         mp_no value for 1.0 and 2.0.
58237         (norm): Use RADIXI instead of radixi.d.
58238         (denorm): Likewise.
58239         (__mul): Use 0.0 instead of zero.d.
58241 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58243         [BZ #14994]
58244         * math/s_casinh.c (__casinh): Reduce finite argument to first
58245         quadrant then set signs of results at the end.
58246         * math/s_casinhf.c (__casinhf): Likewise.
58247         * math/s_casinhl.c (__casinhl): Likewise.
58248         * math/libm-test.inc (casin_test): Add more tests.
58249         (casinh_test): Likewise.
58250         * sysdeps/i386/fpu/libm-test-ulps: Update.
58251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58253 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58255         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58257         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58259         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58260         declarations.
58261         (denorm): Likewise.
58262         (__mp_dbl): Likewise.
58263         (__inv): Likewise.
58265         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58266         and adjust the header comment.
58268         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58269         variable name from declaration.
58271 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58274         Initialize COMMON_CPUID_INDEX_7 element.
58275         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58276         (CPUID_RTM): Likewise.
58277         (HAS_RTM): Likewise.
58278         (COMMON_CPUID_INDEX_7): New enum.
58280 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58282         [BZ #14981]
58283         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58284         size is zero, record memory as freed.
58286 2013-01-03  Andreas Jaeger  <aj@suse.de>
58288         * po/ia.po: Add new Interlingua translation.
58290 2012-01-03  Allan McRae  <allan@archlinux.org>
58292         * locale/programs/localedef.c: Fix description of '--posix' flag.
58294 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58296         * NEWS: Update dates in second copyright notice.
58297         * README: Update copyright dates in example.
58298         * manual/libc.texinfo: Update copyright dates.
58299         * scripts/test-installation.pl: Update copyright date in --version
58300         output.
58302         * hurd/ctty-input.c: Fix copyright notice formatting.
58303         * hurd/ctty-output.c: Likewise.
58304         * hurd/dtable.c: Likewise.
58305         * hurd/hurd-raise.c: Likewise.
58306         * hurd/hurdprio.c: Likewise.
58307         * hurd/msgportdemux.c: Likewise.
58308         * misc/sys/file.h: Likewise.
58309         * misc/sys/ioctl.h: Likewise.
58310         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58311         * sysdeps/mach/hurd/chdir.c: Likewise.
58312         * sysdeps/mach/hurd/fchdir.c: Likewise.
58313         * sysdeps/mach/hurd/rename.c: Likewise.
58314         * sysdeps/mach/hurd/rmdir.c: Likewise.
58315         * sysdeps/mach/hurd/seekdir.c: Likewise.
58316         * sysdeps/mach/hurd/setsid.c: Likewise.
58317         * sysdeps/posix/wait3.c: Likewise.
58319         * All files with FSF copyright notices: Update copyright dates
58320         using scripts/update-copyrights.
58321         * intl/plural.c: Regenerated.
58322         * locale/programs/charmap-kw.h: Likewise.
58323         * locale/programs/locfile-kw.h: Likewise.
58325 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58327         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58328         four values.
58330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58331         calculation loop and add branch prediction.
58333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58334         check access beyond bounds of m1np.
58336         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58337         MPTWO.
58338         (__inv): Remove local variable MPTWO to use the global
58339         constant.
58340         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58342         variable MPTWO.
58343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58344         MP3HALFS static const.
58346 2013-01-01  David S. Miller  <davem@davemloft.net>
58348         * po/ca.po: Update from translation team.
58350 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58352         * scripts/update-copyrights: New file.
58353         * Makeconfig: Reformat copyright notice.
58354         * ctype/ctype.h: Likewise.
58355         * debug/swprintf_chk.c: Likewise.
58356         * elf/dl-cache.c: Likewise.
58357         * elf/dl-debug.c: Likewise.
58358         * elf/dl-object.c: Likewise.
58359         * grp/initgroups.c: Likewise.
58360         * hurd/Makefile: Likewise.
58361         * hurd/hurd/signal.h: Likewise.
58362         * hurd/hurdfault.c: Likewise.
58363         * hurd/hurdioctl.c: Likewise.
58364         * hurd/hurdlookup.c: Likewise.
58365         * hurd/intr-msg.c: Likewise.
58366         * iconv/gconv_open.c: Likewise.
58367         * libio/swprintf.c: Likewise.
58368         * locale/lc-ctype.c: Likewise.
58369         * locale/nl_langinfo.c: Likewise.
58370         * mach/Machrules: Likewise.
58371         * mach/Makefile: Likewise.
58372         * malloc/obstack.h: Likewise.
58373         * manual/Makefile: Likewise.
58374         * manual/tsort.awk: Likewise.
58375         * misc/bits/stab.def: Likewise.
58376         * nis/nis_print_group_entry.c: Likewise.
58377         * nis/nis_table.c: Likewise.
58378         * nis/nss_compat/compat-pwd.c: Likewise.
58379         * nis/nss_compat/compat-spwd.c: Likewise.
58380         * po/Makefile: Likewise.
58381         * posix/fnmatch.c: Likewise.
58382         * posix/regex.h: Likewise.
58383         * resolv/Makefile: Likewise.
58384         * resolv/nss_dns/dns-network.c: Likewise.
58385         * resolv/res_hconf.c: Likewise.
58386         * scripts/gen-sorted.awk: Likewise.
58387         * soft-fp/soft-fp.h: Likewise.
58388         * stdio-common/printf.h: Likewise.
58389         * stdlib/monetary.h: Likewise.
58390         * stdlib/random.c: Likewise.
58391         * stdlib/random_r.c: Likewise.
58392         * sysdeps/generic/Makefile: Likewise.
58393         * sysdeps/gnu/Makefile: Likewise.
58394         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58401         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58404         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58405         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58406         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58407         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58408         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58409         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58410         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58414         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58415         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58416         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58417         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58418         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58419         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58420         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58421         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58422         * sysdeps/mach/hurd/errnos.awk: Likewise.
58423         * sysdeps/mach/hurd/fork.c: Likewise.
58424         * sysdeps/mach/hurd/getcwd.c: Likewise.
58425         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58426         * sysdeps/mach/hurd/mmap.c: Likewise.
58427         * sysdeps/mach/hurd/utimes.c: Likewise.
58428         * sysdeps/mach/hurd/xmknod.c: Likewise.
58429         * sysdeps/posix/profil.c: Likewise.
58430         * sysdeps/posix/readdir_r.c: Likewise.
58431         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58432         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58433         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58434         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58436         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58437         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58438         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58440         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58441         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58442         * sysdeps/pthread/lio_listio.c: Likewise.
58443         * sysdeps/sparc/dl-procinfo.h: Likewise.
58444         * sysdeps/unix/i386/sysdep.S: Likewise.
58445         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58446         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58447         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58448         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58450         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58451         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58452         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58453         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58454         * sysdeps/wordsize-32/divdi3.c: Likewise.
58455         * time/sys/time.h: Likewise.
58456         * wcsmbs/Makefile: Likewise.
58458 2013-01-01  David S. Miller  <davem@davemloft.net>
58460         * po/fr.po: Update from translation team.
58462         * catgets/gencat.c: Update copyright year.
58463         * csu/version.c: Likewise.
58464         * debug/catchsegv.sh: Likewise.
58465         * debug/pcprofiledump.c: Likewise.
58466         * debug/xtrace.sh: Likewise.
58467         * elf/ldconfig.c: Likewise.
58468         * elf/ldd.bash.in: Likewise.
58469         * elf/pldd.c: Likewise.
58470         * elf/sotruss.ksh: Likewise.
58471         * elf/sprof.c: Likewise.
58472         * iconv/iconv_prog.c: Likewise.
58473         * iconv/iconvconfig.c: Likewise.
58474         * locale/programs/locale.c: Likewise.
58475         * locale/programs/localedef.c: Likewise.
58476         * login/programs/pt_chown.c: Likewise.
58477         * malloc/memusage.sh: Likewise.
58478         * malloc/memusagestat.c: Likewise.
58479         * malloc/mtrace.pl: Likewise.
58480         * nscd/nscd.c: Likewise.
58481         * nss/getent.c: Likewise.
58482         * nss/makedb.c: Likewise.
58483         * posix/getconf.c: Likewise.
58485 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58487         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58488         numbers.
58490 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58492         * math/bits/mathcalls.h (modf): Use __nonnull.
58494 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58496         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58497         (split): Use macro CN instead of the bare value.
58498         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58499         could be used.
58500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58501         instead of the bare value.
58502         (power1): Likewise.
58504 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58506         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58507         __ATAN_TWOM.
58508         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58510         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58511         their values.
58512         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58513         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58514         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58515         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58517 2012-12-28  Andreas Jaeger  <aj@suse.de>
58519         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58520         values are from Linux 3.7.
58522         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58523         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58525 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58527         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58528         TRUE case.
58530         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58531         (norm): Likewise.
58532         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58533         variables with preprocessor constants.
58534         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58535         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58536         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58538 2012-12-27  Bruno Haible  <bruno@clisp.org>
58540         [BZ #14317]
58541         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58542         only if needed.
58544 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58547         and use variable directly.
58548         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58550         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58551         MPONE.
58552         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58554         variable MPONE.
58555         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58557         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58558         include directive.  Remove local variable MPONE.
58559         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58560         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58561         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58563 2012-12-25  David S. Miller  <davem@davemloft.net>
58565         * version.h (RELEASE): Set to "development".
58566         (VERSION): Set to "2.17.90".
58567         * NEWS: Add 2.18 section.
58569 2012-12-21  David S. Miller  <davem@davemloft.net>
58571         * po/hr.po: Update from translation team.
58573 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58575         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58577 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58579         * NEWS:  Mention new memcpy for MIPS.
58581 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58583         * manual/contrib.texi (Contributors): Spelling correction.
58585 2012-12-15  David S. Miller  <davem@davemloft.net>
58587         * po/ru.po: Update from translation team.
58589 2012-12-13  David S. Miller  <davem@davemloft.net>
58591         * NEWS: Mention IFUNC testsuite enhancements.
58593         * po/pl.po: Update from translation team.
58594         * po/bg.po: Likewise.
58596         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58597         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58599 2012-12-11  David S. Miller  <davem@davemloft.net>
58601         * po/sv.po: Update from translation team.
58603         * po/vi.po: Update from translation team.
58605         * po/cs.po: Update from translation team.
58607         * po/de.po: Update from translation team.
58608         * po/eo.po: Likewise.
58609         * po/nl.po: Likewise.
58611 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58613         [BZ #14246]
58614         * manual/argp.texi (Argp Helper Functions): Move node to follow
58615         Argp Parsing State.
58617         [BZ #14872]
58618         * manual/conf.texi (Limits on File System Capacity): Mention if
58619         terminating null is included in the max size.
58621 2012-12-10  Andreas Jaeger  <aj@suse.de>
58623         * po/cs.po: Update from translation team.
58625 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58627         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58628         void pointer and cast to uintptr_t.
58629         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58630         path.
58631         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58632         * sysdeps/s390/s390-64/memset.S: Likewise.
58634 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58636         [BZ #14833]
58637         * menual/message.texi (Message Translation): Fix typos.
58638         (Helper programs for gettext): Likewise.
58640 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58642         [BZ #14898]
58643         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58644         Change to -1.
58646 2012-12-07  David S. Miller  <davem@davemloft.net>
58648         * po/libc.pot: Update.
58650 2012-12-07  Richard Henderson  <rth@redhat.com>
58652         [BZ #10114]
58653         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58654         normal/normal case to before the switch.
58655         (_FP_DIV): Likewise.
58657 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58658             Mike Frysinger  <vapier@gentoo.org>
58660         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58661         check for __NR_fadvise64_64.
58663 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58665         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58666         0, not just to plain "0" as a statement.
58667         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58668         with cw.
58670 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58672         * NEWS: Use sourceware.org in Bugzilla URL.
58674 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58677         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58679         * stdio-common/tst-put-error.c (do_test): Add newline to the
58680         padded test to ensure flush.
58682 2012-12-05  Jeff Law  <law@redhat.com>
58684         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58686 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58688         * README: Don't refer to ports add-on as distributed separately.
58689         Mention AArch64 in list of systems supported in the ports add-on.
58691         * LICENSES: Add more non-FSF copyright and license notices.
58693         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58694         ((unused)).
58696         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58698         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58699         10000 as width of padded output.
58701 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58703         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58705         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58706         variable LX with __attribute__ ((unused)).
58707         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58708         Likewise.
58709         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58710         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58712         with __attribute__ ((unused)).
58714 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58716         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58718 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58720         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58721         (CFLAGS-nldbl-acos.c): New variable.
58722         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58723         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58724         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58725         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58726         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58727         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58728         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58729         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58730         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58731         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58732         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58733         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58734         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58735         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58736         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58737         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58738         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58739         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58740         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58741         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58742         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58743         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58744         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58745         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58746         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58747         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58748         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58749         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58750         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58751         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58752         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58753         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58754         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58755         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58756         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58757         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58758         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58759         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58760         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58761         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58762         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58763         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58764         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58765         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58766         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58767         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58768         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58769         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58770         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58771         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58772         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58773         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58774         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58775         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58776         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58777         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58778         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58779         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58780         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58781         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58782         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58783         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58784         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58785         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58786         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58787         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58788         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58789         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58790         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58791         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58792         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58793         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58794         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58795         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58796         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58797         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58798         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58799         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58800         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58801         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58802         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58803         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58804         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58805         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58806         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58807         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58808         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58809         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58810         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58811         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58812         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58813         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58814         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58815         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58816         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58817         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58818         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58821         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58823         [BZ #14914]
58824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58825         whole low double instead of just low 47 bits when splitting values
58826         into two parts.
58828 2012-12-03  Allan McRae  <allan@archlinux.org>
58830         * manual/stdio.texi (Predefined Printf Handlers): Remove
58831         @hsep and @vsep usage.
58833 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58835         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58836         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58838 2012-12-03  Jeff Law  <law@redhat.com>
58840         * time/sys/time.h (settimeofday): Do not mark TV argument
58841         as __nonnull.
58843 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58845         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58846         when currently writing and seek to current position when not.
58847         * libio/Makefile (tests): Remove bug-fclose1.
58848         * libio/bug-fclose1.c: Delete.
58850 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58852         * manual/arith.texi (feenableexcept): Fix typo.
58853         (fedisableexcept): Likewise.
58855 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58857         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58858         second, differently-typed declaration, rather than a cast.
58860 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58862         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58863         * include/rpc/svc.h: ... here.
58865 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58867         [BZ #13013]
58868         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58869         depending n and resplen2 to catch cases where answer
58870         equals answerp2.
58872 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58874         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58875         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58877 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58881 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58883         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58885 2012-11-28  Jeff Law  <law@redhat.com>
58887         [BZ #13761]
58888         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58889         dataset_temporary.  Track alloca usage into alloca_used.
58890         If dataset is large allocate and release it via malloc/free.
58892 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58894         [BZ #14197]
58895         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58897 2012-11-28  David S. Miller  <davem@davemloft.net>
58899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58901 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58903         [BZ #14803]
58904         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58905         of pi/2 rounded to nearest to 64 bits.
58906         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58907         nearest to 64 bits.
58908         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58909         bits.
58911 2012-11-28  Jeff Law <law@redhat.com>
58912             Martin Osvald <mosvald@redhat.com>
58914         [BZ #14889]
58915         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58916         * sunrpc/svc.c: Include time.h.
58917         (__svc_accept_failed): New function.
58918         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58919         any reason other than EINTR, call __svc_accept_failed.
58920         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58921         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58923 2012-11-28  Andreas Schwab  <schwab@suse.de>
58925         * scripts/abilist.awk: Also handle indirect functions in .opd
58926         section.
58928 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58930         [BZ #13881]
58931         * sysdeps/x86/fpu/powl_helper.c: New file.
58932         * sysdeps/x86/fpu/Makefile: Likewise.
58933         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58934         (p3): New object.
58935         (__ieee754_powl): Use __powl_helper for finite arguments except
58936         integer exponents below 8.
58937         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58938         (p3): New object.
58939         (__ieee754_powl): Use __powl_helper for finite arguments except
58940         integer exponents below 8.
58941         * math/libm-test.inc (pow_test): Add more tests and enable some
58942         previously disabled tests.
58943         * sysdeps/i386/fpu/libm-test-ulps: Update.
58944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58946 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58947             Carlos O'Donell  <carlos_odonell@mentor.com>
58949         * nss/makedb.c (is_prime): Assert that input is odd and greater
58950         than 4.  Note that fact in a comment too.
58951         (next_prime): Add 4 to input.
58953 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58955         [BZ #11741]
58956         * libio/Makefile (tests): Add test case tst-fwrite-error.
58957         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58958         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58959         * libio/tst-fwrite-error.c: New test case.
58961 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58963         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58964         before casting to void *.
58965         * include/libc-internal.h (__pointer_type): New macro.
58966         (__integer_if_pointer_type_sub): Likewise.
58967         (__integer_if_pointer_type): Likewise.
58968         (cast_to_integer): Likewise.
58969         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58970         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58971         before casting to atomic64_t.
58972         (atomic_exchange_acq): Likewise.
58973         (__arch_exchange_and_add_body): Likewise.
58974         (__arch_add_body): Likewise.
58975         (atomic_add_negative): Likewise.
58976         (atomic_add_zero): Likewise.
58978 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58980         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58981         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58982         (add_fdes): Likewise.
58983         (linear_search_fdes): Likewise.
58984         (binary_search_unencoded_fdes): Likewise.
58986 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58988         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58990 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58992         * configure.in: Autodetect C++ header directories.
58993         * configure: Regenerated.
58995 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58997         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58999 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59003 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59005         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59006         LDBL_MANT_DIG == 106]: Disable some tests.
59007         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59008         Likewise.
59009         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59010         Likewise.
59012         [BZ #14871]
59013         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59014         input for small inputs.  Return +/- pi/2 for large inputs.
59015         * math/libm-test.inc (atan_test): Add more tests.
59017         * sysdeps/generic/unwind-dw2-fde-glibc.c
59018         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59019         __attribute__ ((unused)).
59021         [BZ #14645]
59022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59023         x * y if x and y are nonzero and z is zero.
59025         [BZ #14811]
59026         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59027         nonzero exponents with absolute value below 0x1p-117 to +/-
59028         0x1p-117.
59030         [BZ #14869]
59031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59032         up arguments below 2**-450, not just those below 2**-500.
59033         * math/libm-test.inc (hypot_test): Add another test.
59035         [BZ #14868]
59036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59037         Return a+b for ratio over 2**120, not 2**60.
59038         * math/libm-test.inc (hypot_test): Add another test.
59040         * math/libm-test.inc (clog_test): Use
59041         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59042         (clog10_test): Likewise.
59044         [BZ #6778]
59045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59047 2012-11-22  Andreas Schwab  <schwab@suse.de>
59049         * sysdeps/i386/fpu/libm-test-ulps: Update.
59051 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59053         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59054         printf output with newline.
59056 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59058         [BZ #14865]
59059         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59060         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59061         -z nodlopen, -z initfirst and -z execstack support.
59062         * configure: Regenerated.
59064         * elf/elf.h (DF_1_NODIRECT): New macro.
59065         (DF_1_IGNMULDEF): Likewise.
59066         (DF_1_NOKSYMS): Likewise.
59067         (DF_1_NOHDR): Likewise.
59068         (DF_1_EDITED): Likewise.
59069         (DF_1_NORELOC): Likewise.
59070         (DF_1_SYMINTPOSE): Likewise.
59071         (DF_1_GLOBAUDIT): Likewise.
59072         (DF_1_SINGLETON): Likewise.
59073         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59074         DT_1_SUPPORTED_MASK bits.
59075         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59077 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59079         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59081 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59083         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59084         macro.
59086         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59087         (sendmmsg): Move declarations...
59088         * socket/sys/socket.h: ... here.
59089         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59090         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59091         include it from...
59092         * socket/recvmmsg.c: ... this new file.
59093         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59094         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59095         definition of __sendmmsg hidden.
59096         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59097         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59098         Move ENOSYS stub into and include it from...
59099         * socket/sendmmsg.c: ... this new file.
59100         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59101         (sysdep_routines): Move recvmmsg and sendmmsg...
59102         * socket/Makefile (routines): ... here.
59103         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59104         (GLIBC_PRIVATE): Add __sendmmsg.
59105         * include/sys/socket.h (__sendmmsg): Add declarations.
59106         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59107         sendmmsg.
59109 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59111         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59112         variable I1 with __attribute__ ((unused)).
59113         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59115 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59117         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59118         DUMMY variables with __attribute__ ((unused)).
59120         * bits/byteswap.h: Include <bits/types.h>.
59121         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59123 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59125         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59126         string_t.  Do not manually set errno.
59127         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59128         length with __strnlen.  Make sure to both set errno and return it on
59129         failure.
59131 2012-11-19  David S. Miller  <davem@davemloft.net>
59133         With help from Joseph Myers.
59134         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59135         very large arguments properly.
59136         * math/libm-test.inc (atan_test): New tests.
59137         (atan2_test): New tests.
59138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59141 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59143         [BZ #14856]
59144         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59145         Define to 3.
59147         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59148         [POSIX] (EADDRNOTAVAIL): Likewise.
59149         [POSIX] (EAFNOSUPPORT): Likewise.
59150         [POSIX] (EALREADY): Likewise.
59151         [POSIX] (ECONNABORTED): Likewise.
59152         [POSIX] (ECONNREFUSED): Likewise.
59153         [POSIX] (ECONNRESET): Likewise.
59154         [POSIX] (EDESTADDRREQ): Likewise.
59155         [POSIX] (EDQUOT): Likewise.
59156         [POSIX] (EHOSTUNREACH): Likewise.
59157         [POSIX] (EIDRM): Likewise.
59158         [POSIX] (EISCONN): Likewise.
59159         [POSIX] (ELOOP): Likewise.
59160         [POSIX] (EMULTIHOP): Likewise.
59161         [POSIX] (ENETDOWN): Likewise.
59162         [POSIX] (ENETUNREACH): Likewise.
59163         [POSIX] (ENOBUFS): Likewise.
59164         [POSIX] (ENODATA): Likewise.
59165         [POSIX] (ENOLINK): Likewise.
59166         [POSIX] (ENOMSG): Likewise.
59167         [POSIX] (ENOPROTOOPT): Likewise.
59168         [POSIX] (ENOSR): Likewise.
59169         [POSIX] (ENOSTR): Likewise.
59170         [POSIX] (ENOTCONN): Likewise.
59171         [POSIX] (ENOTSOCK): Likewise.
59172         [POSIX] (EOPNOTSUPP): Likewise.
59173         [POSIX] (EOVERFLOW): Likewise.
59174         [POSIX] (EPROTO): Likewise.
59175         [POSIX] (EPROTONOSUPPORT): Likewise.
59176         [POSIX] (EPROTOTYPE): Likewise.
59177         [POSIX] (ESTALE): Likewise.
59178         [POSIX] (ETIME): Likewise.
59179         [POSIX] (ETXTBSY): Likewise.
59180         [POSIX] (EWOULDBLOCK): Likewise.
59181         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59182         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59183         [POSIX] (SEEK_CUR): Likewise.
59184         [POSIX] (SEEK_END): Likewise.
59185         [POSIX || UNIX98] (mode_t): Do not require.
59186         [POSIX] (off_t): Likewise.
59187         [POSIX] (pid_t): Likewise.
59188         [POSIX] (sys/stat.h): Do not allow header.
59189         [POSIX] (unistd.h): Likewise.
59190         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59191         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59192         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59193         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59194         require.
59195         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59196         sigevent): Specify elements.
59197         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59198         entry.
59199         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59200         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59202         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59203         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59204         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59205         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59206         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59207         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59208         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59209         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59210         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59211         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59212         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59213         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59214         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59216         Likewise.
59217         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59218         Likewise.
59219         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59220         Likewise.
59221         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59222         Likewise.
59223         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59224         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59225         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59226         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59227         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59228         Specify lower bound on value.
59229         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59230         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59231         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59232         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59233         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59234         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59235         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59236         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59237         value.
59238         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59239         as optional.
59240         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59241         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59242         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59243         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59244         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59245         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59246         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59247         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59248         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59249         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59250         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59251         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59252         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59253         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59254         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59255         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59256         entry.
59257         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59258         optional.
59259         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59260         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59261         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59262         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59263         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59264         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59265         Likewise.
59266         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59267         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59268         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59269         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59270         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59271         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59272         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59273         as optional.
59274         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59275         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59276         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59277         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59278         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59279         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59280         specify as optional.
59281         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59282         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59283         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59284         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59285         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59286         [XPG3] (NL_LANGMAX): Likewise.
59287         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59288         [POSIX || XPG3] (NL_NMAX): Likewise.
59289         [POSIX || XPG3] (NL_SETMAX): Likewise.
59290         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59291         [XPG3] (NZERO): Likewise.
59292         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59293         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59294         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59295         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59296         (REG_ERANGE): Expect.
59297         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59298         optional-constant.
59299         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59300         Use (void) in prototype.
59301         [POSIX] (*_t): Allow.
59302         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59303         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59304         (WRDE_BADVAL): Expect.
59306         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59307         expect.
59308         [XPG3 || XPG4] (O_RSYNC): Likewise.
59309         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59310         Likewise.
59311         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59312         [XPG3 || XPG4] (sigqueue): Likewise.
59313         [XPG3 || XPG4] (sigtimedwait): Likewise.
59314         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59315         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59316         [XPG3 || XPG4] (vsnprintf): Likewise.
59317         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59318         Likewise.
59319         [XPG3 || XPG4] (blksize_t): Likewise.
59320         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59321         Likewise.
59322         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59323         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59324         [XPG3 || XPG4] (struct itimerspec): Likewise.
59325         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59326         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59327         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59328         [XPG3 || XPG4] (clockid_t): Likewise.
59329         [XPG3 || XPG4] (timer_t): Likewise.
59330         [XPG3 || XPG4] (clock_getres): Likewise.
59331         [XPG3 || XPG4] (clock_gettime): Likewise.
59332         [XPG3 || XPG4] (clock_settime): Likewise.
59333         [XPG3 || XPG4] (nanosleep): Likewise.
59334         [XPG3 || XPG4] (timer_create): Likewise.
59335         [XPG3 || XPG4] (timer_delete): Likewise.
59336         [XPG3 || XPG4] (timer_gettime): Likewise.
59337         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59338         [XPG3 || XPG4] (timer_settime): Likewise.
59339         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59340         [XPG3 || XPG4] (getlogin_r): Likewise.
59341         [XPG3 || XPG4] (pread): Likewise.
59342         [XPG3 || XPG4] (pthread_atfork): Likewise.
59343         [XPG3 || XPG4] (pwrite): Likewise.
59345         [BZ #14835]
59346         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59347         <bits/siginfo.h>.
59349 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59351         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59352         finalizing MALLSTREAM.
59354         * sysdeps/mach/hurd/syncfs.c: New file.
59356 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59358         [BZ #14719]
59359         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59360         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59361         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59362         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59363         (_nss_dns_gethostbyname4_r): Likewise.
59364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59365         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59367 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59369         [BZ #13763]
59370         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59372 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59374         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59375         * elf/cache.c (print_entry): Print ",AArch64" for
59376         FLAG_AARCH64_LIB64
59378         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59379         * elf/cache.c (print_entry): Print ",hard-float" for
59380         FLAG_ARM_LIBHF.
59382 2012-11-18  David S. Miller  <davem@davemloft.net>
59384         With help from Joseph Myers.
59385         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59386         cutoff to 2**-13.
59387         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59388         cutoff to 2**-25.
59389         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59390         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59391         small.
59392         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59393         * math/libm-test.inc (y0_test): New tests.
59394         (y1_test): New tests.
59395         * sysdeps/i386/fpu/libm-test-ulps: Update.
59396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59399 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59401         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59402         64-bit targets.
59403         * configure: Regenerated.
59405 2012-11-17  David S. Miller  <davem@davemloft.net>
59407         [BZ #14811]
59408         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59409         nonzero exponents with absolute value below 0x1p-128 to +/-
59410         0x1p-128.
59412 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59414         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59416         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59418         * posix/getconf-speclist.c: New file.
59419         * posix/posix-envs.def: Likewise.
59420         * posix/confstr.c (START_ENV_GROUP): New macro.
59421         (END_ENV_GROUP): Likewise.
59422         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59423         (KNOWN_PRESENT_ENV_STRING): Likewise.
59424         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59425         (UNKNOWN_ENVIRONMENT): Likewise.
59426         (confstr): Include posix-envs.def instead of handling
59427         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59428         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59429         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59430         (END_ENV_GROUP): Likewise.
59431         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59432         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59433         (UNKNOWN_ENVIRONMENT): Likewise.
59434         (__sysconf): Include posix-envs.def instead of handling associated
59435         cases directly here.
59436         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59437         preprocessing getconf-speclist.c rather than running getconf or
59438         generating empty file.
59440 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59442         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59444 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59446         [BZ #14672]
59447         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59449 2012-11-16  David S. Miller  <davem@davemloft.net>
59451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59452         smaller than LDBL_EPSILON/2.0L, just return xm1.
59454 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59456         * elf/tst-array1.c (init): Set constructor priority to 1000.
59457         (fini): Set destructor priority to 1000.
59458         * elf/tst-array2dep.c: Likewise.
59460 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59462         [BZ #11741]
59463         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59464         (_IO_new_file_xsputn): Also return EOF if none of the input
59465         data was written when overflow failed.
59466         * libio/iopadn.c (_IO_padn): Likewise.
59467         * libio/iowpadn.c (_IO_wpadn): Likewise.
59468         * stdio-common/tst-put-error.c: Add copyright notice.
59469         (do_test): Add case for printing padded string.
59470         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59471         _IO_padn returned error.
59472         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59473         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59474         return EOF.
59476 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59478         * libio/libioP.h: Add comment note that the references to C++
59479         bits are now obsolete.
59481 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59483         * math/libm-test.inc (check_complex): Use asprintf.
59485 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59487         * debug/pcprofiledump.c (print_version): Update copyright year.
59488         * malloc/memusagestat.c (print_version): Likewise.
59490 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59492         [BZ #14831]
59493         * elf/Makefile (tests): Add tst-audit8.
59494         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59495         ($(objpfx)tst-audit8.out): New target.
59496         (tst-audit8-ENV): New variable.
59497         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59498         audit if l_reloc_result is NULL.
59499         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59500         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59501         * elf/tst-audit8.c: New file.
59503 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59505         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59506         * misc/Makefile (CFLAGS-select.c): Define.
59507         * posix/Makefile (CFLAGS-pause.c): Define.
59509 2012-11-13  David S. Miller  <davem@davemloft.net>
59511         * crypt/Makefile: Move test targets after toplevel Rules
59512         inclusion.  Grab any necessary sysdep routines when linking.
59513         * crypt/md5.c (md5_process_block): Remove define, we will always
59514         name it __md5_process_block.
59515         (md5_finish_ctx): Update md5_process_block call.
59516         (md5_stream): Likewise.
59517         (md5_process_bytes): Likewise.
59518         (md5_process_block): Rename to __md5_process_block and move to ...
59519         * crypt/md5-block.c: ... here.
59520         * crypt/sha256.c (sha256_process_block): Move to ...
59521         * crypt/sha256-block.c: ... here.
59522         * crypt/sha512.c (sha512_process_block): Move to ...
59523         * crypt/sha512-block.c: ... here.
59524         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59525         path.
59526         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59527         * sysdeps/sparc/sparc64/multiarch/Makefile
59528         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59529         crypt subdir.
59530         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59531         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59532         multiarch changes.
59533         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59534         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59535         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59536         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59537         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59538         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59539         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59540         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59542         file.
59543         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59545         file.
59546         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59548 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59550         * timezone/tzselect.ksh: Update from tzcode git revision
59551         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59552         * timezone/zdump.c: Likewise.
59553         * timezone/zic.c: Likewise.
59554         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59555         in TZVERSION setting, not $(PKGVERSION).
59556         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59557         REPORT_BUGS_TO settings.
59559         [BZ #14838]
59560         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59561         macro.
59563 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59565         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59566         detection to immediately after _FP_ROUND().
59567         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59568         bits are 0.
59570 2012-11-11  David S. Miller  <davem@davemloft.net>
59572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59573         inttypes.h
59574         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59575         __close rather than their public counterparts.
59577 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59579         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59580         file.
59581         [UNIX98] (sem_timedwait): Do not expect.
59582         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59583         [XPG4 || UNIX98] (sockatmark): Do not expect.
59584         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59585         (clock_getcpuclockid): Do not expect.
59586         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59587         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59588         Do not expect.
59589         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59590         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59591         [UNIX98] (vwscanf): Likewise.
59592         [UNIX98] (vswscanf): Likewise.
59594 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59596         * timezone/version.h: Remove file.
59597         * timezone/README: Do not refer to version.h.
59598         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59599         $(objpfx)version.h.
59600         ($(objpfx)zdump.o): Likewise.
59601         ($(objpfx)version.h): New target.
59603         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59604         2012i.
59605         * timezone/README: Don't mention modification to tzselect.ksh.
59606         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59607         work on unmodified tzselect.ksh.  Substitute version numbers in
59608         tzselect.ksh.
59610         * Makefile (format-me): Remove.
59611         (INSTALL): Adjust indentation.  Use commands directly instead of
59612         using $(format-me).
59614         * aclocal.m4 (ACX_PKGVERSION): New macro.
59615         (ACX_BUGURL): Likewise.
59616         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59617         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59618         (REPORT_BUGS_TO): Likewise.
59619         * configure: Regenerated.
59620         * config.h.in (PKGVERSION): New macro.
59621         (REPORT_BUGS_TO): Likewise.
59622         * config.make.in (PKGVERSION): New variable.
59623         (PKGVERSION_TEXI): Likewise.
59624         (REPORT_BUGS_TO): Likewise.
59625         (REPORT_BUGS_TEXI): Likewise.
59626         * Makefile (format-me): Use -I$(common-objpfx)manual.
59627         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59628         ($(common-objpfx)manual/%): New target.
59629         (manual/%): Remove target.
59630         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59631         (print_version): Use PKGVERSION.
59632         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59633         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59634         and REPORT_BUGS_TO.
59635         ($(objpfx)xtrace): Likewise.
59636         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59637         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59638         (print_version): Use PKGVERSION.
59639         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59640         (do_version): Use PKGVERSION.
59641         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59642         REPORT_BUGS_TO.
59643         (common-ldd-rewrite): Likewise.
59644         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59645         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59646         (print_version): Use PKGVERSION.
59647         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59648         * elf/pldd.c (argp_program_bug_address): Remove variable.
59649         (more_help): New function.
59650         (argp): Use more_help.
59651         (print_version): Use PKGVERSION.
59652         * elf/sln.c (main): Use PKGVERSION.
59653         (usage): Use REPORT_BUGS_TO.
59654         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59655         (top level): Use PKGVERSION.
59656         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59657         (print_version): Use PKGVERSION.
59658         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59659         (print_version): Use PKGVERSION.
59660         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59661         (print_version): Use PKGVERSION.
59662         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59663         (print_version): Use PKGVERSION.
59664         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59665         (print_version): Use PKGVERSION.
59666         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59667         (print_version): Use PKGVERSION.
59668         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59669         and BUGURL.
59670         ($(objpfx)memusage): Likewise.
59671         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59672         (do_version): Use PKGVERSION.
59673         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59674         (print_version): Use PKGVERSION.
59675         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59676         ($PKGVERSION): New variable.
59677         ($REPORT_BUGS_TO): Likewise.
59678         (usage): Use $REPORT_BUGS_TO.
59679         (top level): Use $PKGVERSION.
59680         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59681         ($(objpfx)pkgvers.texi): New rule.
59682         ($(objpfx)stamp-pkgvers): Likewise.
59683         * manual/install.texi: Include pkgvers.texi.
59684         (--with-pkgversion): Document new configure option.
59685         (--with-bugurl): Likewise.
59686         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59687         than necessarily for this particular distribution.  Use
59688         REPORT_BUGS_TO for where to report bugs.
59689         * INSTALL: Regenerated.
59690         * manual/libc.texinfo: Include pkgvers.texi.
59691         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59692         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59693         (print_version): Use PKGVERSION.
59694         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59695         (print_version): Use PKGVERSION.
59696         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59697         (print_version): Use PKGVERSION.
59698         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59699         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59700         macro.
59701         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59702         (print_version): Use PKGVERSION.
59703         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59704         (print_version): Use PKGVERSION.
59705         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59706         and PKGVERSION.
59708         * timezone/checktab.awk: Update from tzcode 2012i.
59709         * timezone/ialloc.c: Likewise.
59710         * timezone/private.h: Likewise.
59711         * timezone/scheck.c: Likewise.
59712         * timezone/tzfile.h: Likewise.
59713         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59714         (TZVERSION): Hardcode tzcode version number.
59715         * timezone/zdump.c: Update from tzcode 2012i.
59716         * timezone/zic.c: Likewise.
59717         * timezone/version.h: New file.
59718         * timezone/README: Describe version.h.  Update upstream location.
59720         [BZ #14824]
59721         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59722         (mktemp): Enable declaration.
59723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59727         Likewise.
59728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59729         Likewise.
59730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59731         Likewise.
59732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59733         Likewise.
59734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59735         Likewise.
59736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59737         Likewise.
59739         [BZ #14821]
59740         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59741         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59742         for copies of such integer values.
59743         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59744         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59746 2012-11-09  Andreas Jaeger  <aj@suse.de>
59748         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59749         definitions and declarations that are provided by
59750         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59752 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59754         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59755         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59756         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59757         definition.
59759 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59761         * elf/elf.h: Update comment before AArch64 relocations.
59763 2012-11-07  David S. Miller  <davem@davemloft.net>
59765         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59766         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59767         (__start_context): Declare.
59768         (__makecontext_ret): Delete.
59769         (__makecontext): Hook up __start_context instead of
59770         __makecontext_ret.
59771         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59772         (sysdep_routines): Add __start_context when in stdlib.
59774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59776         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59777         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59778         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59779         hardcoded "nm".
59780         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59781         (READELF): New variable.  Use it instead of hardcoded "readelf".
59783 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59785         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59786         * sysdeps/x86/Makefile: Here.
59787         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59788         * sysdeps/x86/tst-xmmymm.sh: This.
59790 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59792         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59793         expectations.
59794         [UNIX98] (pthread_barrier_t): Do not expect.
59795         [UNIX98] (pthread_barrierattr_t): Likewise.
59796         [UNIX98] (pthread_spinlock_t): Likewise.
59797         [UNIX98] (pthread_barrier_destroy): Likewise.
59798         [UNIX98] (pthread_barrier_init): Likewise.
59799         [UNIX98] (pthread_barrier_wait): Likewise.
59800         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59801         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59802         [UNIX98] (pthread_barrierattr_init): Likewise.
59803         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59804         [UNIX98] (pthread_getcpuclockid): Likewise.
59805         [UNIX98] (pthread_mutex_timedlock): Likewise.
59806         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59807         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59808         [UNIX98] (pthread_sigmask): Likewise.
59809         [UNIX98] (pthread_spin_destroy): Likewise.
59810         [UNIX98] (pthread_spin_init): Likewise.
59811         [UNIX98] (pthread_spin_lock): Likewise.
59812         [UNIX98] (pthread_spin_trylock): Likewise.
59813         [UNIX98] (pthread_spin_unlock): Likewise.
59814         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59815         Do not expect.
59816         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59817         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59818         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59819         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59820         [XPG3 || XPG4] (pthread_key_t): Likewise.
59821         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59822         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59823         [XPG3 || XPG4] (pthread_once_t): Likewise.
59824         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59825         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59826         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59827         [XPG3 || XPG4] (pthread_t): Likewise.
59829         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59830         not expect.
59831         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59833         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59834         Change function return type to int.
59836         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59837         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59838         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59839         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59840         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59841         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59842         [!POSIX] (posix_madvise): Likewise.
59843         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59844         && !UNIX98].
59845         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59846         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59847         (mode_t): Likewise.
59848         (posix_mem_offset): Likewise.
59849         (posix_typed_mem_get_info): Likewise.
59850         (posix_typed_mem_open): Likewise.
59852         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59853         Change condition to [XOPEN2K8].
59855         * conform/conformtest.pl: Preprocess allow-header data with -x c
59856         instead of from stdin.
59857         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59858         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59859         [C99-based standards] (cerfc): Likewise.
59860         [C99-based standards] (cexp2): Likewise.
59861         [C99-based standards] (cexpm1): Likewise.
59862         [C99-based standards] (clog10): Likewise.
59863         [C99-based standards] (clog1p): Likewise.
59864         [C99-based standards] (clog2): Likewise.
59865         [C99-based standards] (clgamma): Likewise.
59866         [C99-based standards] (ctgamma): Likewise.
59867         [C99-based standards] (cerff): Likewise.
59868         [C99-based standards] (cerfcf): Likewise.
59869         [C99-based standards] (cexp2f): Likewise.
59870         [C99-based standards] (cexpm1f): Likewise.
59871         [C99-based standards] (clog10f): Likewise.
59872         [C99-based standards] (clog1pf): Likewise.
59873         [C99-based standards] (clog2f): Likewise.
59874         [C99-based standards] (clgammaf): Likewise.
59875         [C99-based standards] (ctgammaf): Likewise.
59876         [C99-based standards] (cerfl): Likewise.
59877         [C99-based standards] (cerfcl): Likewise.
59878         [C99-based standards] (cexp2l): Likewise.
59879         [C99-based standards] (cexpm1l): Likewise.
59880         [C99-based standards] (clog10l): Likewise.
59881         [C99-based standards] (clog1pl): Likewise.
59882         [C99-based standards] (clog2l): Likewise.
59883         [C99-based standards] (clgammal): Likewise.
59884         [C99-based standards] (ctgammal): Likewise.
59885         * conform/data/inttypes.h-data [C99-based standards]: Include
59886         stdint.h-data.  Remove all expectations for stdint.h contents.
59887         [C99-based standards] (PRI*): Do not allow.
59888         [C99-based standards] (SCN*): Likewise.
59889         [C99-based standards] (*_t): Likewise.
59890         [C99-based-standards] (PRId8): Expect macro.
59891         [C99-based-standards] (PRIi8): Likewise.
59892         [C99-based-standards] (PRIo8): Likewise.
59893         [C99-based-standards] (PRIu8): Likewise.
59894         [C99-based-standards] (PRIx8): Likewise.
59895         [C99-based-standards] (PRIX8): Likewise.
59896         [C99-based-standards] (SCNd8): Likewise.
59897         [C99-based-standards] (SCNi8): Likewise.
59898         [C99-based-standards] (SCNo8): Likewise.
59899         [C99-based-standards] (SCNu8): Likewise.
59900         [C99-based-standards] (SCNx8): Likewise.
59901         [C99-based-standards] (PRIdLEAST8): Likewise.
59902         [C99-based-standards] (PRIiLEAST8): Likewise.
59903         [C99-based-standards] (PRIoLEAST8): Likewise.
59904         [C99-based-standards] (PRIuLEAST8): Likewise.
59905         [C99-based-standards] (PRIxLEAST8): Likewise.
59906         [C99-based-standards] (PRIXLEAST8): Likewise.
59907         [C99-based-standards] (SCNdLEAST8): Likewise.
59908         [C99-based-standards] (SCNiLEAST8): Likewise.
59909         [C99-based-standards] (SCNoLEAST8): Likewise.
59910         [C99-based-standards] (SCNuLEAST8): Likewise.
59911         [C99-based-standards] (SCNxLEAST8): Likewise.
59912         [C99-based-standards] (PRIdFAST8): Likewise.
59913         [C99-based-standards] (PRIiFAST8): Likewise.
59914         [C99-based-standards] (PRIoFAST8): Likewise.
59915         [C99-based-standards] (PRIuFAST8): Likewise.
59916         [C99-based-standards] (PRIxFAST8): Likewise.
59917         [C99-based-standards] (PRIXFAST8): Likewise.
59918         [C99-based-standards] (SCNdFAST8): Likewise.
59919         [C99-based-standards] (SCNiFAST8): Likewise.
59920         [C99-based-standards] (SCNoFAST8): Likewise.
59921         [C99-based-standards] (SCNuFAST8): Likewise.
59922         [C99-based-standards] (SCNxFAST8): Likewise.
59923         [C99-based-standards] (PRId16): Likewise.
59924         [C99-based-standards] (PRIi16): Likewise.
59925         [C99-based-standards] (PRIo16): Likewise.
59926         [C99-based-standards] (PRIu16): Likewise.
59927         [C99-based-standards] (PRIx16): Likewise.
59928         [C99-based-standards] (PRIX16): Likewise.
59929         [C99-based-standards] (SCNd16): Likewise.
59930         [C99-based-standards] (SCNi16): Likewise.
59931         [C99-based-standards] (SCNo16): Likewise.
59932         [C99-based-standards] (SCNu16): Likewise.
59933         [C99-based-standards] (SCNx16): Likewise.
59934         [C99-based-standards] (PRIdLEAST16): Likewise.
59935         [C99-based-standards] (PRIiLEAST16): Likewise.
59936         [C99-based-standards] (PRIoLEAST16): Likewise.
59937         [C99-based-standards] (PRIuLEAST16): Likewise.
59938         [C99-based-standards] (PRIxLEAST16): Likewise.
59939         [C99-based-standards] (PRIXLEAST16): Likewise.
59940         [C99-based-standards] (SCNdLEAST16): Likewise.
59941         [C99-based-standards] (SCNiLEAST16): Likewise.
59942         [C99-based-standards] (SCNoLEAST16): Likewise.
59943         [C99-based-standards] (SCNuLEAST16): Likewise.
59944         [C99-based-standards] (SCNxLEAST16): Likewise.
59945         [C99-based-standards] (PRIdFAST16): Likewise.
59946         [C99-based-standards] (PRIiFAST16): Likewise.
59947         [C99-based-standards] (PRIoFAST16): Likewise.
59948         [C99-based-standards] (PRIuFAST16): Likewise.
59949         [C99-based-standards] (PRIxFAST16): Likewise.
59950         [C99-based-standards] (PRIXFAST16): Likewise.
59951         [C99-based-standards] (SCNdFAST16): Likewise.
59952         [C99-based-standards] (SCNiFAST16): Likewise.
59953         [C99-based-standards] (SCNoFAST16): Likewise.
59954         [C99-based-standards] (SCNuFAST16): Likewise.
59955         [C99-based-standards] (SCNxFAST16): Likewise.
59956         [C99-based-standards] (PRId32): Likewise.
59957         [C99-based-standards] (PRIi32): Likewise.
59958         [C99-based-standards] (PRIo32): Likewise.
59959         [C99-based-standards] (PRIu32): Likewise.
59960         [C99-based-standards] (PRIx32): Likewise.
59961         [C99-based-standards] (PRIX32): Likewise.
59962         [C99-based-standards] (SCNd32): Likewise.
59963         [C99-based-standards] (SCNi32): Likewise.
59964         [C99-based-standards] (SCNo32): Likewise.
59965         [C99-based-standards] (SCNu32): Likewise.
59966         [C99-based-standards] (SCNx32): Likewise.
59967         [C99-based-standards] (PRIdLEAST32): Likewise.
59968         [C99-based-standards] (PRIiLEAST32): Likewise.
59969         [C99-based-standards] (PRIoLEAST32): Likewise.
59970         [C99-based-standards] (PRIuLEAST32): Likewise.
59971         [C99-based-standards] (PRIxLEAST32): Likewise.
59972         [C99-based-standards] (PRIXLEAST32): Likewise.
59973         [C99-based-standards] (SCNdLEAST32): Likewise.
59974         [C99-based-standards] (SCNiLEAST32): Likewise.
59975         [C99-based-standards] (SCNoLEAST32): Likewise.
59976         [C99-based-standards] (SCNuLEAST32): Likewise.
59977         [C99-based-standards] (SCNxLEAST32): Likewise.
59978         [C99-based-standards] (PRIdFAST32): Likewise.
59979         [C99-based-standards] (PRIiFAST32): Likewise.
59980         [C99-based-standards] (PRIoFAST32): Likewise.
59981         [C99-based-standards] (PRIuFAST32): Likewise.
59982         [C99-based-standards] (PRIxFAST32): Likewise.
59983         [C99-based-standards] (PRIXFAST32): Likewise.
59984         [C99-based-standards] (SCNdFAST32): Likewise.
59985         [C99-based-standards] (SCNiFAST32): Likewise.
59986         [C99-based-standards] (SCNoFAST32): Likewise.
59987         [C99-based-standards] (SCNuFAST32): Likewise.
59988         [C99-based-standards] (SCNxFAST32): Likewise.
59989         [C99-based-standards] (PRId64): Likewise.
59990         [C99-based-standards] (PRIi64): Likewise.
59991         [C99-based-standards] (PRIo64): Likewise.
59992         [C99-based-standards] (PRIu64): Likewise.
59993         [C99-based-standards] (PRIx64): Likewise.
59994         [C99-based-standards] (PRIX64): Likewise.
59995         [C99-based-standards] (SCNd64): Likewise.
59996         [C99-based-standards] (SCNi64): Likewise.
59997         [C99-based-standards] (SCNo64): Likewise.
59998         [C99-based-standards] (SCNu64): Likewise.
59999         [C99-based-standards] (SCNx64): Likewise.
60000         [C99-based-standards] (PRIdLEAST64): Likewise.
60001         [C99-based-standards] (PRIiLEAST64): Likewise.
60002         [C99-based-standards] (PRIoLEAST64): Likewise.
60003         [C99-based-standards] (PRIuLEAST64): Likewise.
60004         [C99-based-standards] (PRIxLEAST64): Likewise.
60005         [C99-based-standards] (PRIXLEAST64): Likewise.
60006         [C99-based-standards] (SCNdLEAST64): Likewise.
60007         [C99-based-standards] (SCNiLEAST64): Likewise.
60008         [C99-based-standards] (SCNoLEAST64): Likewise.
60009         [C99-based-standards] (SCNuLEAST64): Likewise.
60010         [C99-based-standards] (SCNxLEAST64): Likewise.
60011         [C99-based-standards] (PRIdFAST64): Likewise.
60012         [C99-based-standards] (PRIiFAST64): Likewise.
60013         [C99-based-standards] (PRIoFAST64): Likewise.
60014         [C99-based-standards] (PRIuFAST64): Likewise.
60015         [C99-based-standards] (PRIxFAST64): Likewise.
60016         [C99-based-standards] (PRIXFAST64): Likewise.
60017         [C99-based-standards] (SCNdFAST64): Likewise.
60018         [C99-based-standards] (SCNiFAST64): Likewise.
60019         [C99-based-standards] (SCNoFAST64): Likewise.
60020         [C99-based-standards] (SCNuFAST64): Likewise.
60021         [C99-based-standards] (SCNxFAST64): Likewise.
60022         [C99-based-standards] (PRIdMAX): Likewise.
60023         [C99-based-standards] (PRIiMAX): Likewise.
60024         [C99-based-standards] (PRIoMAX): Likewise.
60025         [C99-based-standards] (PRIuMAX): Likewise.
60026         [C99-based-standards] (PRIxMAX): Likewise.
60027         [C99-based-standards] (PRIXMAX): Likewise.
60028         [C99-based-standards] (SCNdMAX): Likewise.
60029         [C99-based-standards] (SCNiMAX): Likewise.
60030         [C99-based-standards] (SCNoMAX): Likewise.
60031         [C99-based-standards] (SCNuMAX): Likewise.
60032         [C99-based-standards] (SCNxMAX): Likewise.
60033         [C99-based-standards] (PRIdPTR): Likewise.
60034         [C99-based-standards] (PRIiPTR): Likewise.
60035         [C99-based-standards] (PRIoPTR): Likewise.
60036         [C99-based-standards] (PRIuPTR): Likewise.
60037         [C99-based-standards] (PRIxPTR): Likewise.
60038         [C99-based-standards] (PRIXPTR): Likewise.
60039         [C99-based-standards] (SCNdPTR): Likewise.
60040         [C99-based-standards] (SCNiPTR): Likewise.
60041         [C99-based-standards] (SCNoPTR): Likewise.
60042         [C99-based-standards] (SCNuPTR): Likewise.
60043         [C99-based-standards] (SCNxPTR): Likewise.
60044         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60045         allow.
60046         * conform/data/stdint.h-data: Update comments to clarify
60047         requirements.
60048         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60049         type.
60050         [C99-based standards] (INT8_MAX): Likewise.
60051         [C99-based standards] (INT16_MIN): Likewise.
60052         [C99-based standards] (INT16_MAX): Likewise.
60053         [C99-based standards] (INT32_MIN): Likewise.
60054         [C99-based standards] (INT32_MAX): Likewise.
60055         [C99-based standards] (INT64_MIN): Likewise.
60056         [C99-based standards] (INT64_MAX): Likewise.
60057         [C99-based standards] (UINT8_MAX): Likewise.
60058         [C99-based standards] (UINT16_MAX): Likewise.
60059         [C99-based standards] (UINT32_MAX): Likewise.
60060         [C99-based standards] (UINT64_MAX): Likewise.
60061         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60062         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60063         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60064         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60065         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60066         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60067         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60068         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60069         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60070         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60071         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60072         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60073         [C99-based standards] (INT_FAST8_MIN): Likewise.
60074         [C99-based standards] (INT_FAST8_MAX): Likewise.
60075         [C99-based standards] (INT_FAST16_MIN): Likewise.
60076         [C99-based standards] (INT_FAST16_MAX): Likewise.
60077         [C99-based standards] (INT_FAST32_MIN): Likewise.
60078         [C99-based standards] (INT_FAST32_MAX): Likewise.
60079         [C99-based standards] (INT_FAST64_MIN): Likewise.
60080         [C99-based standards] (INT_FAST64_MAX): Likewise.
60081         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60082         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60083         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60084         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60085         [C99-based standards] (INTPTR_MIN): Likewise.
60086         [C99-based standards] (INTPTR_MAX): Likewise.
60087         [C99-based standards] (UINTPTR_MAX): Likewise.
60088         [C99-based standards] (INTMAX_MIN): Likewise.
60089         [C99-based standards] (INTMAX_MAX): Likewise.
60090         [C99-based standards] (UINTMAX_MAX): Likewise.
60091         [C99-based standards] (PTRDIFF_MIN): Likewise.
60092         [C99-based standards] (PTRDIFF_MAX): Likewise.
60093         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60094         [C99-based standards] (SIZE_MAX): Likewise.
60095         [C99-based standards] (WCHAR_MAX): Likewise.
60096         [C99-based standards] (WINT_MAX): Likewise.
60097         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60098         constraint on value.
60099         [C99-based standards] (WCHAR_MIN): Likewise.
60100         [C99-based standards] (WINT_MIN): Likewise.
60101         [C99-based standards] (*_t): Allow.
60102         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60103         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60104         Include math.h-data and complex.h-data.  Remove all expectations
60105         of math.h and complex.h contents.
60106         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60107         at end of line.
60108         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60109         (struct tm): Expect tag.
60110         [C99-based-standards] (wcstof): Expect function.
60111         [C99-based-standards] (wcstold): Likewise.
60112         [C99-based-standards] (wcstoll): Likewise.
60113         [C99-based-standards] (wcstoull): Likewise.
60114         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60115         macro-int-constant.  Specify type.
60116         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60117         constraint on value.
60118         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60119         Specify type.
60120         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60121         Specify value.
60122         [ISO C standards]: Do not allow headers.
60123         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60124         wcs[abcdefghijklmnopqrstuvwxyz]*.
60125         [ISO C standards] (*_t): Do not allow.
60126         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60127         Expect function.
60128         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60129         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60130         Specify type.
60131         [ISO C standards]: Do not allow headers.
60132         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60133         is[abcdefghijklmnopqrstuvwxyz]*.
60134         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60135         to[abcdefghijklmnopqrstuvwxyz]*.
60136         [ISO C standards] (*_t): Do not allow.
60137         * conform/data/stdalign.h-data: New file.
60138         * conform/data/stdbool.h-data: Likewise.
60139         * conform/data/stdnoreturn.h-data: Likewise.
60141 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60143         [BZ #14815]
60144         * manual/filesys.texi (Directory Entries): Typo fix.
60145         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60147 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60149         * elf/elf.h (EM_AARCH64): New macro.
60150         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60151         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60152         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60153         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60154         (R_AARCH64_TLSDESC): Likewise.
60155         (NT_ARM_TLS): Likewise.
60156         (NT_ARM_HW_BREAK): Likewise.
60157         (NT_ARM_HW_WATCH): Likewise.
60159 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60161         [BZ #14811]
60162         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60163         (__ieee754_powl): Saturate nonzero exponents with absolute value
60164         below 0x1p-79 to +/- 0x1p-79.
60165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60166         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60167         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60168         nonzero exponents with absolute value below 0x1p-32 to +/-
60169         0x1p-32.
60170         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60171         (__ieee754_powl): Saturate nonzero exponents with absolute value
60172         below 0x1p-79 to +/- 0x1p-79.
60173         * math/libm-test.inc (pow_test): Add more tests.
60175 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60177         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60178         _dl_s390_cap_flags with kernel. Increase string length.
60179         (_dl_s390_platforms): Add z196 and zEC12.
60181 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60183         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60184         Change XOPEN21K to XOPEN2K.
60186 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60188         * string/memmove.c: Use memcpy when possible.
60190 2012-11-06  Andreas Jaeger  <aj@suse.de>
60192         * po/eo.po: Update from translation team.
60194 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60196         [BZ #14793]
60197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60198         exponent and small x and y exponents, scale x or y up.  Increase
60199         by 2 the exponent used in scaling up.
60200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60202         * math/libm-test.inc (fma_test): Add more tests.
60203         (fma_test_towardzero): Likewise.
60204         (fma_test_downward): Likewise.
60205         (fma_test_upward): Likewise.
60207 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60209         [BZ #14805]
60210         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60211         fenv_t *.
60213         [BZ #14801]
60214         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60215         namespace for names of struct fields.
60216         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60217         fenv_t fields.
60218         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60219         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60221 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60223         [BZ #3665]
60224         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60226 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60228         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60229         PTR_DEMANGLE.
60231         [BZ #5246]
60232         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60233         PTR_DEMANGLE.
60235 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60237         [BZ #14797]
60238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60239         definitely overflow as x * y not x * y + z.
60240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60242         * math/libm-test.inc (fma_test): Add more tests.
60243         (fma_test_towardzero): Likewise.
60244         (fma_test_downward): Likewise.
60245         (fma_test_upward): Likewise.
60247 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60249         [BZ #157]
60251         * include/stub-tag.h: Remove file.
60252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60253         '#include' of it.
60254         * manual/maint.texi (Porting): Don't reference it.
60255         * Makerules ($(objpfx)stubs): Likewise.
60256         * dirent/closedir.c: Don't include <stub-tag.h>.
60257         * dirent/dirfd.c: Likewise.
60258         * dirent/fdopendir.c: Likewise.
60259         * dirent/getdents.c: Likewise.
60260         * dirent/getdents64.c: Likewise.
60261         * dirent/opendir.c: Likewise.
60262         * dirent/readdir.c: Likewise.
60263         * dirent/readdir64.c: Likewise.
60264         * dirent/readdir64_r.c: Likewise.
60265         * dirent/readdir_r.c: Likewise.
60266         * dirent/rewinddir.c: Likewise.
60267         * dirent/seekdir.c: Likewise.
60268         * dirent/telldir.c: Likewise.
60269         * gmon/profil.c: Likewise.
60270         * grp/setgroups.c: Likewise.
60271         * inet/if_index.c: Likewise.
60272         * io/access.c: Likewise.
60273         * io/chdir.c: Likewise.
60274         * io/chmod.c: Likewise.
60275         * io/chown.c: Likewise.
60276         * io/close.c: Likewise.
60277         * io/dup.c: Likewise.
60278         * io/dup2.c: Likewise.
60279         * io/dup3.c: Likewise.
60280         * io/euidaccess.c: Likewise.
60281         * io/faccessat.c: Likewise.
60282         * io/fchdir.c: Likewise.
60283         * io/fchmod.c: Likewise.
60284         * io/fchmodat.c: Likewise.
60285         * io/fchown.c: Likewise.
60286         * io/fchownat.c: Likewise.
60287         * io/fcntl.c: Likewise.
60288         * io/flock.c: Likewise.
60289         * io/fstatfs.c: Likewise.
60290         * io/fstatfs64.c: Likewise.
60291         * io/fstatvfs.c: Likewise.
60292         * io/fstatvfs64.c: Likewise.
60293         * io/futimens.c: Likewise.
60294         * io/fxstat.c: Likewise.
60295         * io/fxstat64.c: Likewise.
60296         * io/fxstatat.c: Likewise.
60297         * io/fxstatat64.c: Likewise.
60298         * io/getcwd.c: Likewise.
60299         * io/isatty.c: Likewise.
60300         * io/lchmod.c: Likewise.
60301         * io/lchown.c: Likewise.
60302         * io/link.c: Likewise.
60303         * io/linkat.c: Likewise.
60304         * io/lseek.c: Likewise.
60305         * io/lseek64.c: Likewise.
60306         * io/lxstat64.c: Likewise.
60307         * io/mkdir.c: Likewise.
60308         * io/mkdirat.c: Likewise.
60309         * io/mkfifo.c: Likewise.
60310         * io/mkfifoat.c: Likewise.
60311         * io/open.c: Likewise.
60312         * io/open64.c: Likewise.
60313         * io/openat.c: Likewise.
60314         * io/openat64.c: Likewise.
60315         * io/pipe.c: Likewise.
60316         * io/pipe2.c: Likewise.
60317         * io/poll.c: Likewise.
60318         * io/posix_fadvise.c: Likewise.
60319         * io/posix_fadvise64.c: Likewise.
60320         * io/posix_fallocate.c: Likewise.
60321         * io/posix_fallocate64.c: Likewise.
60322         * io/read.c: Likewise.
60323         * io/readlink.c: Likewise.
60324         * io/readlinkat.c: Likewise.
60325         * io/rmdir.c: Likewise.
60326         * io/sendfile.c: Likewise.
60327         * io/sendfile64.c: Likewise.
60328         * io/statfs.c: Likewise.
60329         * io/statfs64.c: Likewise.
60330         * io/statvfs.c: Likewise.
60331         * io/statvfs64.c: Likewise.
60332         * io/symlink.c: Likewise.
60333         * io/symlinkat.c: Likewise.
60334         * io/ttyname.c: Likewise.
60335         * io/ttyname_r.c: Likewise.
60336         * io/umask.c: Likewise.
60337         * io/unlink.c: Likewise.
60338         * io/unlinkat.c: Likewise.
60339         * io/utime.c: Likewise.
60340         * io/utimensat.c: Likewise.
60341         * io/write.c: Likewise.
60342         * io/xmknod.c: Likewise.
60343         * io/xmknodat.c: Likewise.
60344         * io/xstat.c: Likewise.
60345         * io/xstat64.c: Likewise.
60346         * login/getpt.c: Likewise.
60347         * login/grantpt.c: Likewise.
60348         * login/unlockpt.c: Likewise.
60349         * math/e_acoshl.c: Likewise.
60350         * math/e_acosl.c: Likewise.
60351         * math/e_asinl.c: Likewise.
60352         * math/e_atan2l.c: Likewise.
60353         * math/e_atanhl.c: Likewise.
60354         * math/e_coshl.c: Likewise.
60355         * math/e_expl.c: Likewise.
60356         * math/e_fmodl.c: Likewise.
60357         * math/e_gammal_r.c: Likewise.
60358         * math/e_hypotl.c: Likewise.
60359         * math/e_j0l.c: Likewise.
60360         * math/e_j1l.c: Likewise.
60361         * math/e_jnl.c: Likewise.
60362         * math/e_lgammal_r.c: Likewise.
60363         * math/e_log10l.c: Likewise.
60364         * math/e_log2l.c: Likewise.
60365         * math/e_logl.c: Likewise.
60366         * math/e_powl.c: Likewise.
60367         * math/e_rem_pio2l.c: Likewise.
60368         * math/e_sinhl.c: Likewise.
60369         * math/e_sqrtl.c: Likewise.
60370         * math/fclrexcpt.c: Likewise.
60371         * math/fedisblxcpt.c: Likewise.
60372         * math/feenablxcpt.c: Likewise.
60373         * math/fegetenv.c: Likewise.
60374         * math/fegetexcept.c: Likewise.
60375         * math/fegetround.c: Likewise.
60376         * math/feholdexcpt.c: Likewise.
60377         * math/fesetenv.c: Likewise.
60378         * math/fesetround.c: Likewise.
60379         * math/feupdateenv.c: Likewise.
60380         * math/fgetexcptflg.c: Likewise.
60381         * math/fraiseexcpt.c: Likewise.
60382         * math/fsetexcptflg.c: Likewise.
60383         * math/ftestexcept.c: Likewise.
60384         * math/k_cosl.c: Likewise.
60385         * math/k_rem_pio2l.c: Likewise.
60386         * math/k_sinl.c: Likewise.
60387         * math/k_tanl.c: Likewise.
60388         * math/s_asinhl.c: Likewise.
60389         * math/s_atanl.c: Likewise.
60390         * math/s_cbrtl.c: Likewise.
60391         * math/s_erfl.c: Likewise.
60392         * math/s_expm1l.c: Likewise.
60393         * math/s_log1pl.c: Likewise.
60394         * math/s_tanhl.c: Likewise.
60395         * misc/acct.c: Likewise.
60396         * misc/brk.c: Likewise.
60397         * misc/chflags.c: Likewise.
60398         * misc/chroot.c: Likewise.
60399         * misc/fchflags.c: Likewise.
60400         * misc/fgetxattr.c: Likewise.
60401         * misc/flistxattr.c: Likewise.
60402         * misc/fremovexattr.c: Likewise.
60403         * misc/fsetxattr.c: Likewise.
60404         * misc/fsync.c: Likewise.
60405         * misc/ftruncate.c: Likewise.
60406         * misc/futimes.c: Likewise.
60407         * misc/futimesat.c: Likewise.
60408         * misc/getdomain.c: Likewise.
60409         * misc/getdtsz.c: Likewise.
60410         * misc/gethostid.c: Likewise.
60411         * misc/gethostname.c: Likewise.
60412         * misc/getloadavg.c: Likewise.
60413         * misc/getpagesize.c: Likewise.
60414         * misc/getsysstats.c: Likewise.
60415         * misc/getxattr.c: Likewise.
60416         * misc/gtty.c: Likewise.
60417         * misc/ioctl.c: Likewise.
60418         * misc/lgetxattr.c: Likewise.
60419         * misc/listxattr.c: Likewise.
60420         * misc/llistxattr.c: Likewise.
60421         * misc/lremovexattr.c: Likewise.
60422         * misc/lsetxattr.c: Likewise.
60423         * misc/lutimes.c: Likewise.
60424         * misc/madvise.c: Likewise.
60425         * misc/mincore.c: Likewise.
60426         * misc/mlock.c: Likewise.
60427         * misc/mlockall.c: Likewise.
60428         * misc/mmap.c: Likewise.
60429         * misc/mprotect.c: Likewise.
60430         * misc/msync.c: Likewise.
60431         * misc/munlock.c: Likewise.
60432         * misc/munlockall.c: Likewise.
60433         * misc/munmap.c: Likewise.
60434         * misc/preadv.c: Likewise.
60435         * misc/preadv64.c: Likewise.
60436         * misc/ptrace.c: Likewise.
60437         * misc/pwritev.c: Likewise.
60438         * misc/pwritev64.c: Likewise.
60439         * misc/readv.c: Likewise.
60440         * misc/reboot.c: Likewise.
60441         * misc/remap_file_pages.c: Likewise.
60442         * misc/removexattr.c: Likewise.
60443         * misc/revoke.c: Likewise.
60444         * misc/select.c: Likewise.
60445         * misc/setdomain.c: Likewise.
60446         * misc/setegid.c: Likewise.
60447         * misc/seteuid.c: Likewise.
60448         * misc/sethostid.c: Likewise.
60449         * misc/sethostname.c: Likewise.
60450         * misc/setregid.c: Likewise.
60451         * misc/setreuid.c: Likewise.
60452         * misc/setxattr.c: Likewise.
60453         * misc/sstk.c: Likewise.
60454         * misc/stty.c: Likewise.
60455         * misc/swapoff.c: Likewise.
60456         * misc/swapon.c: Likewise.
60457         * misc/sync.c: Likewise.
60458         * misc/syncfs.c: Likewise.
60459         * misc/syscall.c: Likewise.
60460         * misc/truncate.c: Likewise.
60461         * misc/ualarm.c: Likewise.
60462         * misc/usleep.c: Likewise.
60463         * misc/ustat.c: Likewise.
60464         * misc/utimes.c: Likewise.
60465         * misc/vhangup.c: Likewise.
60466         * misc/writev.c: Likewise.
60467         * posix/_exit.c: Likewise.
60468         * posix/alarm.c: Likewise.
60469         * posix/execve.c: Likewise.
60470         * posix/fexecve.c: Likewise.
60471         * posix/fork.c: Likewise.
60472         * posix/fpathconf.c: Likewise.
60473         * posix/getaddrinfo.c: Likewise.
60474         * posix/getegid.c: Likewise.
60475         * posix/geteuid.c: Likewise.
60476         * posix/getgid.c: Likewise.
60477         * posix/getgroups.c: Likewise.
60478         * posix/getlogin.c: Likewise.
60479         * posix/getlogin_r.c: Likewise.
60480         * posix/getpgid.c: Likewise.
60481         * posix/getpid.c: Likewise.
60482         * posix/getppid.c: Likewise.
60483         * posix/getresgid.c: Likewise.
60484         * posix/getresuid.c: Likewise.
60485         * posix/getsid.c: Likewise.
60486         * posix/getuid.c: Likewise.
60487         * posix/glob64.c: Likewise.
60488         * posix/nanosleep.c: Likewise.
60489         * posix/pathconf.c: Likewise.
60490         * posix/pause.c: Likewise.
60491         * posix/posix_madvise.c: Likewise.
60492         * posix/pread.c: Likewise.
60493         * posix/pread64.c: Likewise.
60494         * posix/pwrite.c: Likewise.
60495         * posix/pwrite64.c: Likewise.
60496         * posix/sched_getaffinity.c: Likewise.
60497         * posix/sched_getp.c: Likewise.
60498         * posix/sched_gets.c: Likewise.
60499         * posix/sched_primax.c: Likewise.
60500         * posix/sched_primin.c: Likewise.
60501         * posix/sched_rr_gi.c: Likewise.
60502         * posix/sched_setaffinity.c: Likewise.
60503         * posix/sched_setp.c: Likewise.
60504         * posix/sched_sets.c: Likewise.
60505         * posix/sched_yield.c: Likewise.
60506         * posix/setgid.c: Likewise.
60507         * posix/setlogin.c: Likewise.
60508         * posix/setpgid.c: Likewise.
60509         * posix/setresgid.c: Likewise.
60510         * posix/setresuid.c: Likewise.
60511         * posix/setsid.c: Likewise.
60512         * posix/setuid.c: Likewise.
60513         * posix/sleep.c: Likewise.
60514         * posix/spawni.c: Likewise.
60515         * posix/sysconf.c: Likewise.
60516         * posix/times.c: Likewise.
60517         * posix/wait.c: Likewise.
60518         * posix/wait3.c: Likewise.
60519         * posix/wait4.c: Likewise.
60520         * posix/waitpid.c: Likewise.
60521         * resolv/gai_sigqueue.c: Likewise.
60522         * resource/getpriority.c: Likewise.
60523         * resource/getrlimit.c: Likewise.
60524         * resource/getrusage.c: Likewise.
60525         * resource/nice.c: Likewise.
60526         * resource/setpriority.c: Likewise.
60527         * resource/setrlimit.c: Likewise.
60528         * resource/ulimit.c: Likewise.
60529         * rt/aio_cancel.c: Likewise.
60530         * rt/aio_fsync.c: Likewise.
60531         * rt/aio_read.c: Likewise.
60532         * rt/aio_sigqueue.c: Likewise.
60533         * rt/aio_suspend.c: Likewise.
60534         * rt/aio_write.c: Likewise.
60535         * rt/clock_getres.c: Likewise.
60536         * rt/clock_gettime.c: Likewise.
60537         * rt/clock_nanosleep.c: Likewise.
60538         * rt/clock_settime.c: Likewise.
60539         * rt/lio_listio.c: Likewise.
60540         * rt/mq_close.c: Likewise.
60541         * rt/mq_getattr.c: Likewise.
60542         * rt/mq_notify.c: Likewise.
60543         * rt/mq_open.c: Likewise.
60544         * rt/mq_receive.c: Likewise.
60545         * rt/mq_send.c: Likewise.
60546         * rt/mq_setattr.c: Likewise.
60547         * rt/mq_timedreceive.c: Likewise.
60548         * rt/mq_timedsend.c: Likewise.
60549         * rt/mq_unlink.c: Likewise.
60550         * rt/shm_open.c: Likewise.
60551         * rt/shm_unlink.c: Likewise.
60552         * rt/timer_create.c: Likewise.
60553         * rt/timer_delete.c: Likewise.
60554         * rt/timer_getoverr.c: Likewise.
60555         * rt/timer_gettime.c: Likewise.
60556         * rt/timer_settime.c: Likewise.
60557         * setjmp/__longjmp.c: Likewise.
60558         * setjmp/setjmp.c: Likewise.
60559         * signal/kill.c: Likewise.
60560         * signal/killpg.c: Likewise.
60561         * signal/raise.c: Likewise.
60562         * signal/sigaction.c: Likewise.
60563         * signal/sigaltstack.c: Likewise.
60564         * signal/sigblock.c: Likewise.
60565         * signal/sigignore.c: Likewise.
60566         * signal/sigintr.c: Likewise.
60567         * signal/signal.c: Likewise.
60568         * signal/sigpause.c: Likewise.
60569         * signal/sigpending.c: Likewise.
60570         * signal/sigqueue.c: Likewise.
60571         * signal/sigreturn.c: Likewise.
60572         * signal/sigset.c: Likewise.
60573         * signal/sigsetmask.c: Likewise.
60574         * signal/sigstack.c: Likewise.
60575         * signal/sigsuspend.c: Likewise.
60576         * signal/sigtimedwait.c: Likewise.
60577         * signal/sigvec.c: Likewise.
60578         * signal/sigwait.c: Likewise.
60579         * signal/sigwaitinfo.c: Likewise.
60580         * signal/sysv_signal.c: Likewise.
60581         * socket/accept.c: Likewise.
60582         * socket/accept4.c: Likewise.
60583         * socket/bind.c: Likewise.
60584         * socket/connect.c: Likewise.
60585         * socket/getpeername.c: Likewise.
60586         * socket/getsockname.c: Likewise.
60587         * socket/getsockopt.c: Likewise.
60588         * socket/isfdtype.c: Likewise.
60589         * socket/listen.c: Likewise.
60590         * socket/recv.c: Likewise.
60591         * socket/recvfrom.c: Likewise.
60592         * socket/recvmsg.c: Likewise.
60593         * socket/send.c: Likewise.
60594         * socket/sendmsg.c: Likewise.
60595         * socket/sendto.c: Likewise.
60596         * socket/setsockopt.c: Likewise.
60597         * socket/shutdown.c: Likewise.
60598         * socket/sockatmark.c: Likewise.
60599         * socket/socket.c: Likewise.
60600         * socket/socketpair.c: Likewise.
60601         * stdio-common/ctermid.c: Likewise.
60602         * stdio-common/cuserid.c: Likewise.
60603         * stdio-common/remove.c: Likewise.
60604         * stdio-common/rename.c: Likewise.
60605         * stdio-common/renameat.c: Likewise.
60606         * stdio-common/tempname.c: Likewise.
60607         * stdlib/getcontext.c: Likewise.
60608         * stdlib/makecontext.c: Likewise.
60609         * stdlib/setcontext.c: Likewise.
60610         * stdlib/swapcontext.c: Likewise.
60611         * stdlib/system.c: Likewise.
60612         * streams/fattach.c: Likewise.
60613         * streams/fdetach.c: Likewise.
60614         * streams/getmsg.c: Likewise.
60615         * streams/getpmsg.c: Likewise.
60616         * streams/putmsg.c: Likewise.
60617         * streams/putpmsg.c: Likewise.
60618         * sysdeps/unix/bsd/getpt.c: Likewise.
60619         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60620         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60621         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60623         Likewise.
60624         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60625         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60626         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60627         * sysvipc/msgctl.c: Likewise.
60628         * sysvipc/msgget.c: Likewise.
60629         * sysvipc/msgrcv.c: Likewise.
60630         * sysvipc/msgsnd.c: Likewise.
60631         * sysvipc/semctl.c: Likewise.
60632         * sysvipc/semget.c: Likewise.
60633         * sysvipc/semop.c: Likewise.
60634         * sysvipc/semtimedop.c: Likewise.
60635         * sysvipc/shmat.c: Likewise.
60636         * sysvipc/shmctl.c: Likewise.
60637         * sysvipc/shmdt.c: Likewise.
60638         * sysvipc/shmget.c: Likewise.
60639         * termios/tcdrain.c: Likewise.
60640         * termios/tcflow.c: Likewise.
60641         * termios/tcflush.c: Likewise.
60642         * termios/tcgetattr.c: Likewise.
60643         * termios/tcgetpgrp.c: Likewise.
60644         * termios/tcsendbrk.c: Likewise.
60645         * termios/tcsetattr.c: Likewise.
60646         * termios/tcsetpgrp.c: Likewise.
60647         * time/adjtime.c: Likewise.
60648         * time/clock.c: Likewise.
60649         * time/getitimer.c: Likewise.
60650         * time/gettimeofday.c: Likewise.
60651         * time/setitimer.c: Likewise.
60652         * time/settimeofday.c: Likewise.
60653         * time/stime.c: Likewise.
60654         * time/time.c: Likewise.
60656 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60658         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60659         /usr/old/bin.
60661         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60662         instead of spaces.
60663         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60665 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60667         [BZ #14796]
60668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60669         FE_TONEAREST before applying Dekker multiplication and Knuth
60670         addition.  Clear inexact exceptions and check for exact zero
60671         results afterwards.
60672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60675         * math/libm-test.inc (fma_test): Add more tests.
60676         (fma_test_towardzero): Likewise.
60677         (fma_test_downward): Likewise.
60678         (fma_test_upward): Likewise.
60679         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60680         function.
60681         (libc_fesetround): New macro.
60682         (libc_fesetroundf): Likewise.
60683         (libc_fesetroundl): Likewise.
60684         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60685         function.
60686         (libc_fesetround_387): Likewise.
60687         (libc_fesetroundf): New macro.
60688         (libc_fesetround): Likewise.
60689         (libc_fesetroundl): Likewise.
60690         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60691         function.
60692         (libc_fesetroundf): New macro.
60693         (libc_fesetround): Likewise.
60694         (libc_fesetroundl): Likewise.
60695         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60696         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60697         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60698         libm_hidden_ver.
60699         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60700         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60701         libm_hidden_def.
60702         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60703         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60704         libm_hidden_ver.
60705         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60706         libm_hidden_def.
60708         [BZ #3439]
60709         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60710         integer constant usable in #if and use that to give value to enum
60711         constant.
60712         (FE_DIVBYZERO): Likewise.
60713         (FE_UNDERFLOW): Likewise.
60714         (FE_OVERFLOW): Likewise.
60715         (FE_INVALID): Likewise.
60716         (FE_INVALID_SNAN): Likewise.
60717         (FE_INVALID_ISI): Likewise.
60718         (FE_INVALID_IDI): Likewise.
60719         (FE_INVALID_ZDZ): Likewise.
60720         (FE_INVALID_IMZ): Likewise.
60721         (FE_INVALID_COMPARE): Likewise.
60722         (FE_INVALID_SOFTWARE): Likewise.
60723         (FE_INVALID_SQRT): Likewise.
60724         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60725         (FE_TONEAREST): Likewise.
60726         (FE_TOWARDZERO): Likewise.
60727         (FE_UPWARD): Likewise.
60728         (FE_DOWNWARD): Likewise.
60729         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60730         (FE_DIVBYZERO): Likewise.
60731         (FE_OVERFLOW): Likewise.
60732         (FE_UNDERFLOW): Likewise.
60733         (FE_INEXACT): Likewise.
60734         (FE_TONEAREST): Likewise.
60735         (FE_DOWNWARD): Likewise.
60736         (FE_UPWARD): Likewise.
60737         (FE_TOWARDZERO): Likewise.
60738         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60739         (FE_UNDERFLOW): Likewise.
60740         (FE_OVERFLOW): Likewise.
60741         (FE_DIVBYZERO): Likewise.
60742         (FE_INVALID): Likewise.
60743         (FE_TONEAREST): Likewise.
60744         (FE_TOWARDZERO): Likewise.
60745         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60746         (FE_OVERFLOW): Likewise.
60747         (FE_UNDERFLOW): Likewise.
60748         (FE_DIVBYZERO): Likewise.
60749         (FE_INEXACT): Likewise.
60750         (FE_TONEAREST): Likewise.
60751         (FE_TOWARDZERO): Likewise.
60752         (FE_UPWARD): Likewise.
60753         (FE_DOWNWARD): Likewise.
60754         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60755         (FE_DIVBYZERO): Likewise.
60756         (FE_OVERFLOW): Likewise.
60757         (FE_UNDERFLOW): Likewise.
60758         (FE_INEXACT): Likewise.
60759         (FE_TONEAREST): Likewise.
60760         (FE_DOWNWARD): Likewise.
60761         (FE_UPWARD): Likewise.
60762         (FE_TOWARDZERO): Likewise.
60764 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60766         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60768 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60770         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60771         commands.  Quote $PWD.
60772         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60773         -x" by "export".
60774         (remove_newlines): Remove.
60776 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60778         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60779         * stdlib/stdlib.h (atof): Moved to ...
60780         * include/bits/stdlib-float.h: Here.  New file.
60781         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60782         * stdlib/bits/stdlib-float.h: New file.
60783         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60784         -mno-sse -mno-mmx.
60785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60786         <xmmintrin.h>.
60788 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60790         * conform/conformtest.pl (@headers): Add fenv.h.
60791         * conform/data/fenv.h-data: New file.
60792         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60793         include of <math/fenv.h>.
60795         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60796         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60797         && !UNIX98].  Enables tests for XOPEN2K8.
60798         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60799         POSIX2008]: Likewise.
60801         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60802         (struct rusage): Do not expect type or its members.
60804         [BZ #3439]
60805         * math/math.h (FP_NAN): Define macro to integer constant usable in
60806         #if and use that to give value to enum constant.
60807         (FP_INFINITE): Likewise.
60808         (FP_ZERO): Likewise.
60809         (FP_SUBNORMAL): Likewise.
60810         (FP_NORMAL): Likewise.
60812 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60814         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60815         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60816         arguments.
60818 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60820         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60821         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60822         autoconf-time if not.
60823         * configure.in: Remove AC_PREREQ.
60825 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60827         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60828         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60829         of the internal implementation.
60831 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60833         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60834         except include of <misc/sys/syslog.h>.
60836 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60839         function returns with a NULL context exit with zero.
60841 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60843         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60845 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60847         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60848         (run_program_cmd): This.
60849         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60850         (tst_langinfo): New variable.  Use it.
60852 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60854         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60855         floating point opcodes.
60857 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60859         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60860         variable.
60862         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60864         * sysdeps/mach/hurd/powerpc: Remove directory.
60865         * sysdeps/mach/powerpc: Likewise.
60867 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60869         * scripts/check-local-headers.sh: Ignore c++ headers.
60871 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60873         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60874         __libc_cleanup_region_start argument.
60876 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60878         [BZ #14784]
60879         [BZ #14785]
60880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60881         x * y using scaling, not as x * y + z.
60882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60884         * math/libm-test.inc (fma_test): Add more tests.
60885         (fma_test_towardzero): Likewise.
60886         (fma_test_downward): Likewise.
60887         (fma_test_upward): Likewise.
60889 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60891         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60893 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60895         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60896         New variable.
60898 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60900         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60902 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60905         Fix sort order.
60906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60907         Likewise.
60909 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60912         Fix the order of the list for glibc 2.17.
60913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60914         Likewise.
60916 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60920 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60922         [BZ #14610]
60923         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60924         for low part of x being zero before using __atanl (y).
60925         * math/libm-test.inc (atan2_test): Add another test.
60927         * manual/install.texi (Configuring and compiling): Document
60928         general use of test-wrapper and test-wrapper-env.
60929         * INSTALL: Regenerated.
60931         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60932         (__fma): Do not extract and scale down low bits on after-rounding
60933         systems when result rounded to normal precision would have normal
60934         exponent.
60935         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60936         (__fmal): Do not extract and scale down low bits on after-rounding
60937         systems when result rounded to normal precision would have normal
60938         exponent.
60939         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60940         (__fmal): Do not extract and scale down low bits on after-rounding
60941         systems when result rounded to normal precision would have normal
60942         exponent.
60943         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60944         macro.
60945         (fma_test): Add more tests.
60946         (fma_test_towardzero): Likewise.
60947         (fma_test_downward): Likewise.
60948         (fma_test_upward): Likewise.
60950 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60952         * sysdeps/i386/tininess.h: Renamed to ...
60953         * sysdeps/x86/tininess.h: This.
60954         * sysdeps/x86_64/tininess.h: Removed.
60956 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60958         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60959         input.  Use $(build-program-cmd).
60960         ($(objpfx)tst-array1-static.out): Likewise.
60961         ($(objpfx)tst-array2.out): Likewise.
60962         ($(objpfx)tst-array3.out): Likewise.
60963         ($(objpfx)tst-array4.out): Likewise.
60964         ($(objpfx)tst-array5.out): Likewise.
60965         ($(objpfx)tst-array5-static.out): Likewise.
60967 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60969         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60970         if defined.
60972         * nss/nsswitch.h (nss_interface_function): Provide new
60973         macro for use with NSS functions.
60974         * grp/initgroups.c: Use new macro.
60975         * nss/getXXbyYY.c: Likewise.
60976         * nss/getXXbyYY_r.c: Likewise.
60977         * nss/getXXent.c: Likewise.
60978         * nss/getXXent_r.c: Likewise.
60979         * sysdeps/posix/getaddrinfo.c: Likewise.
60981 2012-10-30  Andreas Jaeger  <aj@suse.de>
60983         * po/ru.po: Update Russion translation from translation project.
60985 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60987         [BZ #14152]
60988         [BZ #14783]
60989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60990         result and shift together with sticky bit instead of replicating
60991         round-to-nearest rounding.
60992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60994         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60995         missing underflow exceptions.
60996         (fma_test_towardzero): Add more tests.
60997         (fma_test_downward): Likewise.
60998         (fma_test_upward): Likewise.
61000         [BZ #14047]
61001         * sysdeps/generic/tininess.h: New file.
61002         * sysdeps/i386/tininess.h: Likewise.
61003         * sysdeps/sh/tininess.h: Likewise.
61004         * sysdeps/x86_64/tininess.h: Likewise.
61005         * stdlib/tst-strtod-underflow.c: Likewise.
61006         * stdlib/tst-tininess.c: Likewise.
61007         * stdlib/strtod_l.c: Include <tininess.h>.
61008         (round_and_return): Do not set errno for exact underflow cases.
61009         Force an underflow exception when setting errno for underflow.
61010         Determine underflow based on rounding to normal precision if
61011         TININESS_AFTER_ROUNDING.
61012         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61013         ERANGE for exact underflow cases.
61014         * stdlib/Makefile (tests): Add tst-tininess and
61015         tst-strtod-underflow.
61016         ($(objpfx)tst-tininess): Use $(link-libm).
61017         ($(objpfx)tst-strtod-underflow): Likewise.
61019 2012-10-30  Andreas Jaeger  <aj@suse.de>
61021         [BZ#14767]
61022         * elf/Makefile (tests): Remove conditional for have-initfini-array
61023         since this is now always required and the variable does not exist
61024         anymore.
61025         (tests-static): Likewise.
61026         (modules-names): Likewise.
61028         * po/eo.po: Add Esperanto translation from translation project.
61030         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61031         merged with constructor/destructor.
61032         (init_array): Likewise.
61033         * elf/tst-array2dep.c (fini_array): Likewise.
61034         (init_array): Likewise.
61036 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61038         * manual/message.texi: Delete @cartouche tags.
61040 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61042         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61043         EOPNOTSUPP.
61044         * sysdeps/mach/hurd/fsync.c: Likewise.
61046         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61047         [_POSIX_REALTIME_SIGNALS]: Change condition to
61048         [_POSIX_REALTIME_SIGNALS > 0].
61050 2012-10-27  Andreas Jaeger  <aj@suse.de>
61052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61053         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61054         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61055         [__WORDSIZE != 64]: Likewise.
61057 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61059         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61060         *  iconvdata/tst-tables.sh: Likewise.
61062 2012-10-25  David S. Miller  <davem@davemloft.net>
61064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61065         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61066         of strtoull.
61068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61069         ifunc-impl-list.c
61070         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61071         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61072         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61073         file.
61075 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61078         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61079         __getdirentries.
61081 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61082             Jim Blandy  <jimb@codesourcery.com>
61084         * scripts/cross-test-ssh.sh: New file.
61085         * manual/install.texi (Configuring and compiling): Document use of
61086         cross-test-ssh.sh.
61087         * INSTALL: Regenerated.
61089 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61091         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61092         EOPNOTSUPP.
61094 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61096         * Makeconfig (run-program-prefix): Fix comment.
61098 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61099             Jim Blandy  <jimb@codesourcery.com>
61101         * Makeconfig (test-wrapper): New variable,
61102         (test-wrapper-env): Likewise.
61103         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61104         (run-built-tests): Define to yes.
61105         (run-program-prefix): Use $(test-wrapper).
61106         (built-program-cmd): Likewise.
61107         * Rules (make-test-out): Use $(test-wrapper-env) and
61108         $(host-built-program-cmd).
61109         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61110         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61111         tst-pathopt.sh.
61112         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61113         $(test-wrapper-env) to tst-rtld-load-self.sh.
61114         ($(objpfx)order2.out): Use $(test-wrapper).
61115         ($(objpfx)tst-initorder.out): Likewise.
61116         ($(objpfx)tst-initorder2.out): Likewise.
61117         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61118         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61119         (test_wrapper_env): New variable.  Use it to run ld.so.
61120         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61121         Use it to run ld.so.
61122         (test_wrapper_env): Likewise.
61123         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61124         $(test-wrapper) to run-iconv-test.sh.
61125         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61126         (ICONV): Use $test_wrapper.
61127         * posix/Makefile ($(objpfx)globtest.out): Pass
61128         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61129         globtest.sh, not $(run-program-prefix).
61130         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61131         (test_wrapper): Likewise.
61132         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61133         set together with run_via_rtld_prefix.
61134         (run_program_prefix): Define in terms of test_wrapper and
61135         run_via_rtld_prefix.
61137 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61139         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61140         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61141         Targets removed.
61143         [BZ #14743]
61144         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61145         Declare __clock_getres, __clock_gettime, __clock_settime,
61146         __clock_nanosleep, and __clock_getcpuclockid.
61147         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61148         Remove librt_hidden_def (clock_gettime).
61149         * sysdeps/unix/clock_gettime.c: Likewise.
61150         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61152         * rt/clock_getres.c: Define __clock_getres as an alias.
61153         * sysdeps/posix/clock_getres.c: Likewise.
61154         * rt/clock_settime.c: Define __clock_settime as an alias.
61155         * sysdeps/unix/clock_settime.c: Likewise.
61156         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61157         * sysdeps/unix/clock_nanosleep.c: Likewise.
61158         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61159         * rt/clock-compat.c: New file.
61160         * rt/Makefile (librt-routines): Add clock-compat and move
61161         $(clock-routines) to ...
61162         (routines): ... here, new variable.
61163         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61164         Don't add get_clockfreq here.
61165         * rt/Versions (libc: GLIBC_2.17): New version set.
61166         Add clock_* symbols here.
61167         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61169         (GLIBC_2.17): Add clock_* symbols.
61170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61174         Likewise.
61175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61176         Likewise.
61177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61181         * NEWS: Mention the move.
61183         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61184         Use __open, __read, __close rather than their public counterparts.
61185         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61186         (__get_clockfreq_via_cpuinfo): Likewise.
61187         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61188         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61190         * config.h.in (HAVE_IFUNC): New #undef.
61191         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61192         was successful.
61193         * configure: Regenerated.
61195 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61197         * configure.in: Move READELF check to start of file.
61198         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61199         libc_cv_asm_gnu_indirect_function in the process.
61200         * configure: Regenerated.
61202 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61204         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61205         send the output to /dev/null.
61206         (libc_cv_cc_with_libunwind): Likewise.
61207         (libc_cv_as_noexecstack): Likewise.
61208         * configure: Regenerate.
61210 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61212         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61214         * posix/globtest.sh (TMPDIR): Do not set.
61215         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61216         (testout): Likewise.
61218 2012-10-24  Andreas Jaeger  <aj@suse.de>
61220         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61221         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61222         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61223         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61224         posix_fadvise64, posix_fallocate64.
61226         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61227         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61228         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61229         Likewise.
61230         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61231         Likewise.
61232         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61235         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61236         <bits/fcntl-linux.h>.
61237         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61239         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61240         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61241         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61242         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61243         [__WORDSIZE != 64]: Likewise.
61245 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61247         * Makeconfig (run-built-tests): New variable.
61248         * Rules [$(cross-compiling) = yes]: Change condition to
61249         [$(run-built-tests) = no].
61250         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61251         to [$(run-built-tests) = yes].
61252         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61253         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61254         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61255         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61256         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61257         * io/Makefile [$(cross-compiling) = no]: Likewise.
61258         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61259         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61260         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61261         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61262         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61263         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61264         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61265         * string/Makefile [$(cross-compiling) = no]: Likewise.
61267         * posix/Makefile ($(objpfx)globtest.out): Pass
61268         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61269         $(rtld-installed-name).
61270         * posix/globtest.sh (elf_objpfx): Remove variable.
61271         (rtld_installed_name): Likewise.
61272         (library_path): Likewise.
61273         (run_program_prefix): New variable.  Use for running globtest
61274         binary.
61276 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61277             Joseph Myers  <joseph@codesourcery.com>
61279         * Makeconfig (host-built-program-cmd): New variable.
61280         * elf/Makefile (tst-stackguard1-ARGS): Use
61281         $(host-built-program-cmd).
61282         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61283         (tst-spawn-ARGS): Likewise.
61284         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61286 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61287             Jim Blandy  <jimb@codesourcery.com>
61289         * Makeconfig (run-via-rtld-prefix): New variable.
61290         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61291         (built-program-cmd): Likewise.
61293 2012-10-22  Andreas Jaeger  <aj@suse.de>
61295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61296         __O_RSYNC if it exists, otherwise to O_SYNC.
61298 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61299             Joseph Myers  <joseph@codesourcery.com>
61301         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61302         /dev/null.
61303         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61304         from /dev/null
61305         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61306         /dev/null.
61308 2012-10-22  Andreas Jaeger  <aj@suse.de>
61310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61311         Define always.
61312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61315         bits/fcntl-linux.h.
61317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61318         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61321         to __O_LARGEFILE.
61322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61323         to __O_LARGEFILE.
61325 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61326             Joseph Myers  <joseph@codesourcery.com>
61328         * config.make.in (NM): New variable.
61330 2012-10-21  Andreas Jaeger  <aj@suse.de>
61332         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61333         definitions and declarations that are provided by
61334         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61336 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61338         [BZ #14683]
61339         * elf/Makefile (tests-static): Add tst-leaks1-static.
61340         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61341         ($(objpfx)tst-leaks1-static): New rule.
61342         ($(objpfx)tst-leaks1-static-mem): Likewise.
61343         (tst-leaks1-static-ENV): New macro.
61344         * elf/dl-open.c (dl_open_worker): Check the main application
61345         only if SHARED is defined.
61346         * elf/tst-leaks1-static.c: New file.
61348 2012-10-20  Andreas Jaeger  <aj@suse.de>
61350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61351         generic values for Linux.
61352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61353         and declarations that are provided by <bits/fcntl-linux.h> and
61354         include <bits/fcntl-linux.h>.
61355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61356         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61358 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61360         * io/fcntl.h: Move include of <bits/types.h> to the top and
61361         include it unconditionally.
61363 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61365         * wcsmbs/Makefile (tests-ifunc): New variable.
61366         (tests): Add $(tests-ifunc).
61367         * wcsmbs/test-wcschr-ifunc.c: New file.
61368         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61369         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61370         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61371         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61372         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61374         * string/Makefile (tests-ifunc): New variable.
61375         (tests): Add $(tests-ifunc).
61376         * string/test-memccpy.c (TEST_NAME): New macro.
61377         * string/test-memchr.c (TEST_NAME): Likewise.
61378         * string/test-memcmp.c (TEST_NAME): Likewise.
61379         * string/test-memcpy.c (TEST_NAME): Likewise.
61380         * string/test-memmem.c (TEST_NAME): Likewise.
61381         * string/test-memmove.c (TEST_NAME): Likewise.
61382         * string/test-memset.c (TEST_NAME): Likewise.
61383         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61384         * string/test-stpcpy.c (TEST_NAME): Likewise.
61385         * string/test-stpncpy.c (TEST_NAME): Likewise.
61386         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61387         * string/test-strcasestr.c (TEST_NAME): Likewise.
61388         * string/test-strcat.c (TEST_NAME): Likewise.
61389         * string/test-strchr.c (TEST_NAME): Likewise.
61390         * string/test-strcmp.c(TEST_NAME): Likewise.
61391         * string/test-strcpy.c (TEST_NAME): Likewise.
61392         * string/test-strcspn.c (TEST_NAME): Likewise.
61393         * string/test-strlen.c (TEST_NAME): Likewise.
61394         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61395         * string/test-strncmp.c (TEST_NAME): Likewise.
61396         * string/test-strncpy.c (TEST_NAME): Likewise.
61397         * string/test-strnlen.c (TEST_NAME): Likewise.
61398         * string/test-strpbrk.c (TEST_NAME): Likewise.
61399         * string/test-strrchr.c (TEST_NAME): Likewise.
61400         * string/test-strspn.c (TEST_NAME): Likewise.
61401         * string/test-strstr.c (TEST_NAME): Likewise.
61402         * string/test-bcopy-ifunc.c: New file.
61403         * string/test-bzero-ifunc.c: Likewise.
61404         * string/test-memccpy-ifunc.c: Likewise.
61405         * string/test-memchr-ifunc.c: Likewise.
61406         * string/test-memcmp-ifunc.c: Likewise.
61407         * string/test-memcpy-ifunc.c: Likewise.
61408         * string/test-memmem-ifunc.c: Likewise.
61409         * string/test-memmove-ifunc.c: Likewise.
61410         * string/test-mempcpy-ifunc.c: Likewise.
61411         * string/test-memset-ifunc.c: Likewise.
61412         * string/test-rawmemchr-ifunc.c: Likewise.
61413         * string/test-stpcpy-ifunc.c: Likewise.
61414         * string/test-stpncpy-ifunc.c: Likewise.
61415         * string/test-strcasecmp-ifunc.c: Likewise.
61416         * string/test-strcasestr-ifunc.c: Likewise.
61417         * string/test-strcat-ifunc.c: Likewise.
61418         * string/test-strchr-ifunc.c: Likewise.
61419         * string/test-strchrnul-ifunc.c: Likewise.
61420         * string/test-strcmp-ifunc.c: Likewise.
61421         * string/test-strcpy-ifunc.c: Likewise.
61422         * string/test-strcspn-ifunc.c: Likewise.
61423         * string/test-strlen-ifunc.c: Likewise.
61424         * string/test-strncasecmp-ifunc.c: Likewise.
61425         * string/test-strncat-ifunc.c: Likewise.
61426         * string/test-strncmp-ifunc.c: Likewise.
61427         * string/test-strncpy-ifunc.c: Likewise.
61428         * string/test-strnlen-ifunc.c: Likewise.
61429         * string/test-strpbrk-ifunc.c: Likewise.
61430         * string/test-strrchr-ifunc.c: Likewise.
61431         * string/test-strspn-ifunc.c: Likewise.
61432         * string/test-strstr-ifunc.c: Likewise.
61434         * debug/Makefile (tests-ifunc): New variable.
61435         (tests): Add $(tests-ifunc).
61436         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61437         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61438         * debug/test-stpcpy_chk-ifunc.c: New file.
61439         * debug/test-strcpy_chk-ifunc.c: Likewise.
61441 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61443         [BZ #13601]
61444         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61445         header is not read in.
61447 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61449         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61450         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61451         directly.  Pass built executable to script as
61452         $(built-program-cmd).
61453         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61454         $testprogram without using LD_LIBRARY_PATH and $ldso.
61456         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61457         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61458         $(rtld-installed-name).
61459         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61460         (rtld_installed_name): Likewise.
61461         (library_path): Likewise.
61462         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61463         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61464         $(run-program-prefix) to tst-tables.sh.
61465         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61466         it to run tst-table-from and tst-table-to.
61467         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61468         Pass it to tst-table.sh.
61469         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61470         $(run-program-prefix) to tst-gettext.sh.
61471         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61472         tst-translit.sh.
61473         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61474         tst-gettext2.sh.
61475         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61476         to run tst-gettext.
61477         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61478         to run tst-gettext2.
61479         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61480         to run tst-translit.
61481         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61482         $(run-program-prefix) to tst-mtrace.sh.
61483         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61484         to run tst-mtrace.
61485         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61486         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61487         $(rtld-installed-name).
61488         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61489         (rtld_installed_name): Likewise.
61490         (run_program_prefix): New variable.  Use it to run wordexp-test.
61492         * Makeconfig (ARCH): Remove all definitions.
61493         (machine): Likewise.
61494         [ARCH]: Remove conditional code.
61495         [!objdir]: Give error.
61496         [!objdir] (objpfx): Remove.
61497         [!objdir] (common-objpfx): Likewise.
61498         [!objdir] (common-objdir): Likewise.
61499         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61500         AC_CONFIG_FILES call.
61501         * configure: Regenerated.
61503         [BZ #13888]
61504         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61505         or TMPDIR.
61506         (testout): Likewise.
61508         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61509         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61510         $(rtld-installed-name).
61511         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61512         (rtld_installed_name): Likwise.
61513         (runit): Remove function.
61514         (run_getconf): New variable,  Use it for running getconf binary.
61516 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61518         [BZ #14716]
61519         * string/test-memmem.c (check_result): New function.
61520         (do_one_test): Use it.
61521         (check1): New function.
61522         (test_main): Use it.
61524 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61526         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61528 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61530         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61531         (_G_LSEEK64): Likewise.
61532         (_G_MMAP64): Likewise.
61533         (_G_FSTAT64): Likewise.
61534         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61535         (_G_LSEEK64): Likewise.
61536         (_G_MMAP64): Likewise.
61537         (_G_FSTAT64): Likewise.
61538         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61539         unconditional.  Call __mmap64 directly.
61540         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61541         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61542         __lseek64 directly.
61543         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61544         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61545         __mmap64 directly.
61546         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61547         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61548         __lseek64 directly.
61549         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61550         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61551         __lseek64 directly.
61552         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61553         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61554         __lseek64 directly.
61555         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61556         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61557         __fxstat64 directly.
61558         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61559         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61560         unconditional.
61561         (freopen64) [!_G_OPEN64]: Remove conditional code.
61562         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61563         unconditional.
61564         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61565         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61566         unconditional.
61567         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61568         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61569         unconditional.
61570         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61571         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61572         unconditional.
61573         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61574         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61575         unconditional.
61576         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61577         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61578         unconditional.
61579         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61580         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61581         unconditional.
61582         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61584 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61586         [BZ #12140]
61587         * manual/memory.texi (Malloc Tunable Parameters): Add note
61588         about free list pointers overwriting some perturb bytes.
61589         Wording suggested by Roland McGrath.
61591 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61593         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61594         (lgamma_test): Likewise.
61595         (tgamma_test): Likewise.
61597 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61599         [BZ #14700]
61600         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61601         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61603 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61605         * NEWS: Mention BZ #14716.
61606         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61607         when removing AVAILABLE1_USES_J macro.
61609 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61611         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61612         (__bswap_64): __uint64_t for unsigned 64-bit int.
61614 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61616         * include/string.h (memmem): Declare libc hidden alias.
61617         * string/memmem.c (memmem): Define libc hidden alias.
61618         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61619         __read, __close instead of open, read, close.
61621 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61624         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61625         global and hidden.
61626         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61627         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61628         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61629         Likewise.
61630         (__rawmemchr_sse2): Likewise.
61631         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61632         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61633         (__strchr_sse2): Likewise.
61634         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61635         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61636         (__strcasecmp_sse2): Likewise.
61637         (__strncasecmp_sse2): Likewise.
61638         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61639         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61640         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61641         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61642         (__strrchr_sse2): Likewise.
61643         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61644         ifunc-impl-list.c.
61645         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61647         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61648         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61649         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61650         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61651         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61652         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61653         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61654         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61655         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61656         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61657         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61658         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61659         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61660         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61661         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61662         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61663         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61664         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61665         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61666         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61667         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61668         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61669         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61670         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61671         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61672         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61673         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61674         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61676         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61677         global and hidden.
61678         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61679         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61680         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61681         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61682         Likewise.
61683         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61684         Likewise.
61685         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61686         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61687         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61688         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61689         ifunc-impl-list.c.
61690         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61691         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61692         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61699         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61700         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61701         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61702         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61703         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61704         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61705         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61706         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61707         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61708         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61709         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61710         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61711         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61712         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61713         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61714         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61715         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61716         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61717         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61718         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61719         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61720         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61723         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61724         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61725         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61726         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61727         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61728         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61729         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61730         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61732         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61733         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61734         * include/ifunc-impl-list.h: New file.
61735         * misc/ifunc-impl-list.c: Likewise.
61736         * misc/Makefile (routines): Add ifunc-impl-list.
61737         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61738         * string/test-string.h: Include <ifunc-impl-list.h>.
61739         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61740         TEST_NAME]: New variables.
61741         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61742         are defined.
61743         (test_init): Call __libc_ifunc_impl_list to initialize
61744         func_list if TEST_IFUNC and TEST_NAME are defined.
61746         * string/Makefile (strop-tests): Add bcopy and bzero.
61747         * string/test-bcopy.c: New file.
61748         * string/test-bzero.c: Likewise.
61749         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61750         defined.
61751         * string/test-memset.c: Support bzero test if TEST_BZERO is
61752         defined.
61753         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61754         __libc_memmove.
61755         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61756         __libc_memset.
61757         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61758         of memset.
61760 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61762         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61763         * configure: Regenerated.
61765         * Makeconfig (+link-static-before-libc): Don't include
61766         $(link-static-libc).
61768         * libio/libio.h (_IO_pos_t): Remove.
61770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61772         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61773         McGrath.
61775 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61777         * crypt/crypt-entry.c: Include fips-private.h.
61778         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61779         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61780         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61781         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61783 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61785         * crypt/crypt-private.h: Include stdbool.h.
61786         (_ufc_setup_salt_r): Return bool.
61787         * crypt/crypt-entry.c: Include errno.h.
61788         (__crypt_r): Return NULL with EINVAL for bad salt.
61789         * crypt/crypt_util.c (bad_for_salt): New.
61790         (_ufc_setup_salt_r): Check that salt is long enough and within
61791         the specified alphabet.
61792         * crypt/badsalttest.c: New file.
61793         * crypt/Makefile (tests): Add it.
61794         ($(objpfx)badsalttest): New.
61796 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61798         * NEWS: Add entry for BZ #14602.
61800 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61802         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61803         type-generic.
61804         * math/libm-test.inc: Update comment listing what functions and
61805         macros are tested.
61806         (isgreater_test): New function.
61807         (isgreaterequal_test): Likewise.
61808         (isless_test): Likewise.
61809         (islessequal_test): Likewise.
61810         (islessgreater_test): Likewise.
61811         (isunordered_test): Likewise.
61812         (main): Call the new functions.
61814 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61816         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61817         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61818         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61819         * sysdeps/i386/configure: Regenerated.
61820         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61821         * sysdeps/mach/configure: Regenerated.
61822         * sysdeps/mach/hurd/configure: Regenerated.
61823         * sysdeps/powerpc/configure: Regenerated.
61824         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61825         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61826         * sysdeps/s390/s390-32/configure: Regenerated.
61827         * sysdeps/s390/s390-64/configure: Regenerated.
61828         * sysdeps/sh/configure: Regenerated.
61829         * sysdeps/sparc/configure: Regenerated.
61830         * sysdeps/unix/sysv/linux/configure: Regenerated.
61831         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61832         * sysdeps/x86_64/configure: Regenerated.
61834         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61835         defined.  Don't check if MAP is NULL.
61837 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61839         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61840         (_G_stat64): Likewise.
61841         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61842         (_G_stat64): Likewise.
61843         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61844         instead of struct _G_stat64.
61845         * libio/fileops.c (mmap_remap_check): Likewise.
61846         (decide_maybe_mmap): Likewise.
61847         (_IO_new_file_seekoff): Likewise.
61848         (_IO_file_stat): Likewise.
61849         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61850         _G_off64_t.
61851         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61852         instead of struct _G_stat64.
61853         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61855 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61857         [BZ #14602]
61858         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61859         Replace with ...
61860         (CHECK_EOL): New macro.
61861         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61862         CHECK_EOL.
61863         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61864         Replace with CHECK_EOL.
61865         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61866         Replace with CHECK_EOL.
61868 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61870         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61871         type-generic.
61872         * math/libm-test.inc: Update comment listing what functions and
61873         macros are tested.
61874         (finite_test): New function.
61875         (isinf_test): Likewise.
61876         (isnan_test): Likewise.
61877         (fpclassify_test): Test subnormal input.
61878         (isfinite_test): Likewise.
61879         (isnormal_test): Likewise.
61880         (main): Call the new functions.
61882 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61884         [BZ #14660]
61885         * Makerules (%.dynsym): Force C locale when running
61886         $(OBJDUMP) --dynamic-syms.
61888 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61890         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61891         <stdint.h>.
61893 2012-10-06  David S. Miller  <davem@davemloft.net>
61895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61896         upper 32-bits of the length value in %o2 since we use branch-on-register
61897         tests which consider the entire 64-bit register.
61899 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61901         * string/test-strstr.c (check2): Add a test for page boundary.
61903 2012-10-05  David S. Miller  <davem@davemloft.net>
61905         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61906         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61907         file.
61908         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61909         sysdep_routines.
61910         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61911         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61912         and bzero when HWCAP_SPARC_CRYPTO is present.
61914 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61916         [BZ #14602]
61917         * string/test-strstr.c (check2): New function.
61918         (test_main): Call check2.
61920         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61921         and bug-strchr1.
61922         * string/bug-strcasestr1.c (do_test): Moved to ...
61923         * string/test-strcasestr.c (check1): Here.  New function.
61924         (do_one_test): Break out result checking code into ...
61925         (check_result): This.  New function.
61926         (do_one_test): Call check_result.
61927         (test_main): Call check1.
61928         * string/bug-strchr1.c (do_test): Moved to ...
61929         * string/test-strchr.c (check1): Here.  New function.
61930         (do_one_test): Break out result checking code into ...
61931         (check_result): This.  New function.
61932         (do_one_test): Call check_result.
61933         (test_main): Call check1.
61934         * string/bug-strstr1.c (main): Moved to ...
61935         * string/test-strstr.c (check1): Here.  New function.
61936         (do_one_test): Break out result checking code into ...
61937         (check_result): This.  New function.
61938         (do_one_test): Call check_result.
61939         (test_main): Call check1.
61940         * string/bug-strcasestr1.c: Removed.
61941         * string/bug-strchr1.c: Likewise.
61942         * string/bug-strstr1.c: Likewise.
61944         * elf/Makefile (dl-routines): Add hwcaps.
61945         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61946         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61947         (_dl_important_hwcaps): Moved to ...
61948         * elf/dl-hwcaps.c: Here.  New file.
61949         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61951         [BZ #14557]
61952         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61953         if IS_IN_rtld isn't defined.
61955         * elf/dl-support.c (_dl_sysinfo_map): New.
61956         Include "get-dynamic-info.h" and "setup-vdso.h".
61957         (_dl_non_dynamic_init): Call setup_vdso.
61958         * elf/dynamic-link.h: Don't include <assert.h>.
61959         (elf_get_dynamic_info): Moved to ...
61960         * elf/get-dynamic-info.h: Here.  New file.
61961         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61962         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61963         * elf/setup-vdso.h: Here.  New file.
61964         * elf/rtld.c: Include "setup-vdso.h".
61965         (dl_main): Call setup_vdso.
61967 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61969         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61970         creal in comment listing functions tested.  List finite, isinf,
61971         isnan, isless, islessequal, isgreater, isgreaterequal,
61972         islessgreater, isunordered, lgamma_r and pow10 as functions and
61973         macros not tested.  Mention which functions not tested are aliases
61974         for other functions.  Fix typo.  Note that signs of NaNs are not
61975         tested.
61977         * scripts/config.guess: Update from config.git.
61978         * scripts/config.sub: Likewise.
61980 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61982         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61983         * misc/madvise.c (madvise): Renamed to __madvise.
61984         Make madvise a weak alias.
61985         * include/sys/mman.h: Declare __madvise.
61986         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61987         * sysdeps/unix/syscalls.list
61988         (madvise): Make __madvise the strong name, and madvise a weak alias.
61989         * sysdeps/unix/sysv/linux/syscalls.list
61990         (madvise, mmap): Remove redundant entries.
61991         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61992         * malloc/malloc.c (mtrim): Likewise.
61993         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61995 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61997         * sysdeps/mach/hurd/dl-cache.c: File removed.
61998         * config.h.in (USE_LDCONFIG): New #undef.
61999         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62000         * configure: Regenerated.
62001         * elf/Makefile (dl-routines): Add dl-cache only under
62002         [$(use-ldconfig) = yes].
62003         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62004         cache on [USE_LDCONFIG].
62005         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62006         [USE_LDCONFIG].
62007         * elf/rtld.c (dl_main): Likewise.
62009 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62011         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62012         _SC_LEVEL4_CACHE_LINESIZE.
62014 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62016         * sysdeps/unix/bsd/confstr.h: File removed.
62018 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62020         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62021         sys/sdt-config.h.
62023 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62025         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62026         Make 'mapoff' field ElfW(Off) rather than off_t.
62028 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62030         * nscd/Makefile: Remove nscd-cflags and all its users.
62031         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62032         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62034         [BZ #10631]
62035         * malloc.c (malloc_printerr): Clarify error message.
62037 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62039         [BZ #14648]
62040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62041         Set bit_FMA_Usable if FMA is supported.
62042         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62043         macro.
62044         (bit_FMA4_Usable): Updated.
62045         (index_FMA_Usable): New macro.
62046         (CPUID_FMA): Likewise.
62047         (HAS_FMA): Defined with bit_FMA_Usable.
62049 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62051         * bits/types.h (__swblk_t): Type removed.
62052         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62053         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62055         (__SWBLK_T_TYPE): Likewise.
62056         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62057         (__SWBLK_T_TYPE): Likewise.
62058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62059         (__SWBLK_T_TYPE): Likewise.
62060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62061         (__SWBLK_T_TYPE): Likewise.
62063 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62064             Honza Horak <hhorak@redhat.com>
62066         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62067         (xdr_mapname): Use YPMAXMAP as maxsize.
62068         (xdr_peername): Use YPMAXPEER as maxsize.
62069         (xdr_keydat): Use YPAXRECORD as maxsize.
62070         (xdr_valdat): Use YPMAXRECORD as maxsize.
62072 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62074         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62076         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62077         * csu/init-first.c: ... here.
62078         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62079         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62080         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62081         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62082         * sysdeps/i386/init-first.c: File removed.
62083         * sysdeps/sh/init-first.c: File removed.
62085 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62087         [BZ #14645]
62088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62089         if x * y might underflow to zero and z is zero.
62090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62091         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62092         * math/libm-test.inc (min_subnorm_value): New variable.
62093         (fma_test): Add more tests.
62094         (fma_test_towardzero): Likewise.
62095         (fma_test_downward): Likewise.
62096         (fma_test_upward): Likewise.
62097         (initialize): Set min_subnorm_value.
62099 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62101         [BZ #14638]
62102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62103         0 + 0.
62104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62105         mode for addition resulting in exact zero.
62106         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62108         exact 0 + 0.
62109         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62111         * math/libm-test.inc (fma_test): Add more tests.
62112         (fma_test_towardzero): New function.
62113         (fma_test_downward): Likewise.
62114         (fma_test_upward): Likewise.
62115         (main): Call the new functions.
62117 2012-09-28  David S. Miller  <davem@davemloft.net>
62119         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62121 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62123         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62124         instead of SIGALRM.
62126         * sysdeps/gnu/_G_config.h: Moved to ...
62127         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62128         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62129         * sysdeps/generic/_G_config.h: ... here.
62131         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62133         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62135         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62136         Conditionalize target on [libnss_test1.so-version].
62138         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62140         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62141         (elfobjdir): Move out of conditionals.
62143         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62144         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62145         (__nss_lookup_function): Conditionalize label remove_from_tree on
62146         [!DO_STATIC_NSS || SHARED], matching its only use.
62148 2012-09-28  David S. Miller  <davem@davemloft.net>
62150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62151         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62152         file.
62153         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62154         sysdep_routines.
62155         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62156         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62157         when HWCAP_SPARC_CRYPTO is present.
62159 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62161         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62163 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62165         [BZ #6530]
62166         * stdio-common/vfprintf.c (process_string_arg): Revert
62167         2000-07-22 change.
62169 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62171         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62172         for testcase.
62173         * stdio-common/tst-sprintf.c: Include <locale.h>
62174         (main): Test sprintf's handling of incomplete multibyte
62175         characters.
62177 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62179         * elf/dl-runtime.c (VERSYMIDX): Removed.
62180         * elf/dl-version.c (VERSYMIDX): Likewise.
62181         * elf/do-rel.h (VERSYMIDX): Likewise.
62182         (VALIDX): Likewise.
62183         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62184         * elf/rtld.c (VALIDX): Likewise.
62185         (ADDRIDX): Likewise.
62186         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62187         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62188         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62189         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62190         (VALIDX): Likewise.
62191         (ADDRIDX): Likewise.
62193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62195         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62197 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62199         [BZ #11438]
62200         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62201         to global scope.
62202         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62203         addresses are in the same scope as 192.0.2/24.
62204         * posix/gai.conf: Document new scope table defaults.
62206 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62208         [BZ #5298]
62209         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62210         for ftell.  Compute offsets from write pointers instead.
62211         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62213 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62215         [BZ #14543]
62216         * libio/Makefile (tests): New test case tst-fseek.
62217         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62218         combination works in wide mode.
62219         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62220         state when the external buffer state changes.
62222 2012-09-27  David S. Miller  <davem@davemloft.net>
62224         [BZ #14376]
62225         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62226         pass reloc->r_addend in as the 'high' argument to
62227         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62231 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62233         * rt/tst-aio2.c: Include <pthread.h>.
62234         * rt/tst-aio3.c: Likewise.
62236 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62238         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62240 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62242         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62243         contents on [SHARED].
62245 2012-09-26  Marek Polacek  <polacek@redhat.com>
62247         [BZ #14530]
62248         [BZ #13741]
62249         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62250         for C++ and GCC <4.3 as well as for non GCC compilers.
62252 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62256 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62258         * Makefile.in (all, install): Declare with .PHONY.
62259         Reported by Michael Hope <michael.hope@linaro.org>.
62261 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62263         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62264         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62265         system header.
62266         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62267         Likewise.
62268         (sydep_routines): Add the new and the internal functions.
62269         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62270         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62272         (GLIBC_2.17): Add the new function.
62273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62274         (GLIBC_2.17): Likewise.
62275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62276         (GLIBC_2.17): Likewise.
62277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62278         (GLIBC_2.17): Likewise.
62279         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62281 2012-09-25  Alan Modra  <amodra@gmail.com>
62283         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62284         Add release barrier before setting once_control to say
62285         initialisation is done.  Add hints on lwarx.  Use macro in
62286         place of isync.
62287         (clear_once_control): Add release barrier.
62289 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62291         [BZ #13629]
62292         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62293         specially.
62294         * math/s_clog10.c (__clog10): Likewise.
62295         * math/s_clog10f.c (__clog10f): Likewise.
62296         * math/s_clog10l.c (__clog10l): Likewise.
62297         * math/s_clogf.c (__clogf): Likewise.
62298         * math/s_clogl.c (__clogl): Likewise.
62299         * math/Makefile (libm-calls): Add x2y2m1.
62300         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62301         (__x2y2m1): Likewise.
62302         (__x2y2m1l): Likewise.
62303         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62304         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62305         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62306         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62307         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62308         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62309         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62310         * sysdeps/i386/fpu/libm-test-ulps: Update.
62311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62313         [BZ #14621]
62314         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62315         int as type of variable DEPTH.
62316         (glob): Use size_t instead of int as type of variables NEWCOUNT
62317         and OLD_PATHC.
62319 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62321         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62322         Add s_sincosf-sse2.
62323         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62324         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62325         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62326         macros for using routine as __sincosf_ia32.
62327         Use macro for function declaration and weak_alias.
62328         * sysdeps/i386/fpu/libm-test-ulps: Update.
62330         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62333         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62334         subnormal argument.
62335         * math/s_cexpf.c (__cexpf): Likewise.
62336         * math/s_csinf.c (__csinf): Likewise.
62337         * math/s_csinhf.c (__csinhf): Likewise.
62338         * math/s_ctanf.c (__ctanf): Likewise.
62339         * math/s_ctanhf.c (__ctanhf): Likewise.
62340         * math/s_ccosh.c (__ccoshf): Likewise.
62341         * math/s_cexp.c (__cexpl): Likewise.
62342         * math/s_csin.c (__csin): Likewise.
62343         * math/s_csinh.c (__csinh): Likewise.
62344         * math/s_ctan.c (__ctan): Likewise.
62345         * math/s_ctanh.c (ctanh): Likewise.
62346         * math/s_ccoshl.c (__ccoshl): Likewise.
62347         * math/s_cexpl.c (__cexpl): Likewise.
62348         * math/s_csinl.c (__csinl): Likewise.
62349         * math/s_csinhl.c (__csinhl): Likewise.
62350         * math/s_ctanl.c (__ctanl): Likewise.
62351         * math/s_ctanhl.c (__ctanhl): Likewise.
62353 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62355         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62356         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62357         (_IO_off_t): Define to __off_t, not _G_off_t.
62358         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62359         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62360         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62361         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62362         type of __dummy and __dummy2 fields.
62363         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62364         (_G_ssize_t): Likewise.
62365         (_G_off_t): Likewise.
62366         (_G_pid_t): Likewise.
62367         (_G_uid_t): Likewise.
62368         (_G_wchar_t): Likewise.
62369         (_G_wint_t): Likewise.
62370         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62371         (_G_ssize_t): Likewise.
62372         (_G_off_t): Likewise.
62373         (_G_pid_t): Likewise.
62374         (_G_uid_t): Likewise.
62375         (_G_wchar_t): Likewise.
62376         (_G_wint_t): Likewise.
62377         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62378         (_G_ssize_t): Likewise.
62379         (_G_off_t): Likewise.
62380         (_G_pid_t): Likewise.
62381         (_G_uid_t): Likewise.
62382         (_G_wchar_t): Likewise.
62383         (_G_wint_t): Likewise.
62385 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62387         * malloc/arena.c: Include malloc-sysdep.h.
62388         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62389         is sufficient to shrink the heap or an unmap is needed.
62390         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62391         new function check_may_shrink_heap.
62392         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62393         new function check_may_shrink_heap.
62395 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62397         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62398         comments.
62400 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62402         * catgets/test-gencat.sh: Add "set -e".
62403         * elf/tst-pathopt.sh: Likewise.
62404         * grp/tst_fgetgrent.sh: Likewise.
62405         * iconvdata/run-iconv-test.sh: Likewise.
62406         * intl/tst-gettext.sh: Likewise.
62407         * intl/tst-gettext2.sh: Likewise.
62408         * intl/tst-gettext4.sh: Likewise.
62409         * intl/tst-gettext6.sh: Likewise.
62410         * intl/tst-translit.sh: Likewise.
62411         * io/ftwtest-sh: Likewise.
62412         * libio/test-freopen.sh: Likewise.
62413         * malloc/tst-mtrace.sh: Likewise.
62414         * posix/globtest.sh: Likewise.
62415         * posix/tst-getconf.sh: Likewise.
62416         * posix/wordexp-tst.sh: Likewise.
62417         * stdio-common/tst-printf.sh: Likewise.
62418         * stdio-common/tst-unbputc.sh: Likewise.
62419         * stdlib/tst-fmtmsg.sh: Likewise.
62420         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62421         * catgets/Makefile: Do not specify -e option when running
62422         testsuite shell scripts.
62423         * elf/Makefile: Likewise.
62424         * grp/Makefile: Likewise.
62425         * iconvdata/Makefile: Likewise.
62426         * intl/Makefile: Likewise.
62427         * io/Makefile: Likewise.
62428         * libio/Makefile: Likewise.
62429         * malloc/Makefile: Likewise.
62430         * posix/Makefile: Likewise.
62431         * stdio-common/Makefile: Likewise.
62432         * stdlib/Makefile: Likewise.
62433         * sysdeps/x86_64/Makefile: Likewise.
62435         * io/ftwtest-sh: Add copyright header.
62436         * posix/globtest.sh: Likewise.
62437         * posix/tst-getconf.sh: Likewise.
62438         * posix/wordexp-tst.sh: Likewise.
62439         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62441 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62443         [BZ #13679]
62444         * Makeconfig (+link): Defined as $(+link-static) if
62445         $(build-shared) isn't yes.
62446         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62447         isn't yes.
62448         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62450         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62452         [BZ #14562]
62453         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62454         new chunk size with MALLOC_ALIGN_MASK.
62456 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62458         [BZ #5044]
62459         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62460         <rounding-mode.h>.
62461         (__printf_fphex): Determine rounding using get_rounding_mode and
62462         round_away.
62463         * stdio-common/tst-printf-round.c (struct hex_test): New
62464         structure.
62465         (hex_tests): New variable.
62466         (test_hex_in_one_mode): New function.
62467         (do_test): Also run tests for hex float output.
62469 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62471         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62472         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62473         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62474         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62475         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62476         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62477         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62478         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62480 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62482         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62483         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62484         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62485         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62487 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62489         [BZ #14579]
62490         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62491         mode only.
62492         * elf/tst-rtld-load-self.sh: New test.
62493         * elf/Makefile: Run it.
62495 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62497         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62498         (tst-writev-ENV): Remove.
62499         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62501 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62503         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62505 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62507         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62508         unconditional.
62509         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62510         Likewise.
62511         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62512         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62513         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62514         Likewise.
62516 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62518         [BZ #14587]
62519         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62520         * config.make.in (have-cpp-asm-debuginfo): Removed.
62521         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62522         * configure: Regenerated.
62524 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62526         [BZ #5044]
62527         * stdio-common/printf_fp.c: Include <stdbool.h> and
62528         <rounding-mode.h>.
62529         (___printf_fp): Determine rounding using get_rounding_mode and
62530         round_away.
62531         * stdio-common/tst-printf-round.c: New file.
62532         * stdio-common/Makefile (tests): Add tst-printf-round.
62533         (link-libm): New variable.
62534         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62536 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62538         [BZ #14576]
62539         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62540         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62541         Likewise.
62542         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62543         Likewise.
62545 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62547         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62548         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62549         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62550         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62552 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62554         [BZ #14518]
62555         * include/rounding-mode.h: New file.
62556         * sysdeps/generic/get-rounding-mode.h: Likewise.
62557         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62558         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62559         (MAX_VALUE): New macro.
62560         (MIN_VALUE): Likewise.
62561         (overflow_value): New function.
62562         (underflow_value): Likewise.
62563         (round_and_return): Use overflow_value and underflow_value to
62564         determine return values in overflow and underflow cases.  Use
62565         round_away to determine rounding depending on rounding mode.
62566         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62567         determine return values in overflow and underflow cases.
62568         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62569         (struct test_results): New structure.
62570         (struct test): Use struct test_results to store expected results
62571         for all rounding modes.
62572         (TEST): Include expected results for all rounding modes.
62573         (test_in_one_mode): New function.
62574         (do_test): Use test_in_one_mode to compute and check results.
62575         Check results for all rounding modes.
62576         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62577         $(link-libm).
62579 2012-12-09  Allan McRae  <allan@archlinux.org>
62581         * sysdeps/i386/fpu/libm-test-ulps: Update
62583 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62585         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62586         (_G_int32_t): Likewise.
62587         (_G_uint16_t): Likewise.
62588         (_G_uint32_t): Likewise.
62589         (_G_HAVE_BOOL): Likewise.
62590         (_G_HAVE_ATEXIT): Likewise.
62591         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62592         (_G_HAVE_IO_FILE_OPEN): Likewise.
62593         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62594         (_G_int32_t): Likewise.
62595         (_G_uint16_t): Likewise.
62596         (_G_uint32_t): Likewise.
62597         (_G_HAVE_BOOL): Likewise.
62598         (_G_HAVE_ATEXIT): Likewise.
62599         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62600         (_G_HAVE_IO_FILE_OPEN): Likewise.
62601         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62602         (_G_int32_t): Likewise.
62603         (_G_uint16_t): Likewise.
62604         (_G_uint32_t): Likewise.
62605         (_G_HAVE_BOOL): Likewise.
62606         (_G_HAVE_ATEXIT): Likewise.
62607         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62608         (_G_HAVE_IO_FILE_OPEN): Likewise.
62610 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62612         * csu/libc-tls.c: Update copyright years.
62614 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62616         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62617         [!_G_USING_THUNKS]: Remove conditional code.
62618         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62619         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62621         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62622         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62623         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62624         (_G_VTABLE_LABEL_PREFIX): Likewise.
62625         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62626         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62627         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62628         (_G_VTABLE_LABEL_PREFIX): Likewise.
62629         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62630         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62631         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62632         (_G_VTABLE_LABEL_PREFIX): Likewise.
62633         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62635 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62637         * libio/Makefile: Include ../Makeconfig before tests.
62638         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62639         only if $(build-shared) is yes.
62641         * iconv/gconv_db.c: Update copyright years.
62643 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62645         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62646         unwind info if defined PIC. Fix special cases description.
62647         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62649         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62650         DP_HI_MASK entry.
62651         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62653 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62655         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62657         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62658         is NULL.
62660         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62661         (LDLIBS-tst-chk4): This.
62662         (LDFLAGS-tst-chk5): Renamed to ...
62663         (LDLIBS-tst-chk5): This.
62664         (LDFLAGS-tst-chk6): Renamed to ...
62665         (LDLIBS-tst-chk6): This.
62666         (LDFLAGS-tst-lfschk4): Renamed to ...
62667         (LDLIBS-tst-lfschk4): This.
62668         (LDFLAGS-tst-lfschk5): Renamed to ...
62669         (LDLIBS-tst-lfschk5): This.
62670         (LDFLAGS-tst-lfschk6): Renamed to ...
62671         (LDLIBS-tst-lfschk6): This.
62673         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62674         on $(common-objpfx)soversions.mk.
62676 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62678         [BZ #10014]
62679         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62680         example host name.
62682 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62684         * malloc/arena.c (arena_get_retry): New function that gets
62685         another arena for the caller to try its request on.
62686         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62687         current arena cannot fulfill the request.
62688         (__libc_memalign): Likewise.
62689         (__libc_memalign): Likewise.
62690         (__libc_pvalloc): Likewise.
62691         (__libc_calloc): Likewise.
62693 2012-09-05  John Tobey  <john.tobey@gmail.com>
62695         [BZ #13542]
62696         * manual/arith.texi (Operations on Complex): Fix description
62697         of carg branch cut.
62699 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62701         [BZ #10014]
62702         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62703         host name.
62705         [BZ #10038]
62706         * manual/memory.texi (Memory): Make order of menu items match
62707         order of sections.
62709 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62711         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62712         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62713         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62715 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62717         * csu/libc-tls.c (static_dtv): Renamed to ...
62718         (_dl_static_dtv): This.  Make it global.
62719         (_dl_initial_dtv): Removed.
62720         (__libc_setup_tls): Updated.
62721         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62722         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62723         DL_INITIAL_DTV.
62725 2012-09-06  Petr Machata  <pmachata@redhat.com>
62727         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62728         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62729         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62730         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62732 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62734         [BZ #14545]
62735         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62736         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62737         freeing dtv[-1].
62739 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62741         [BZ #14544]
62742         * Makeconfig (link-static-before-libc): Replace $(+prector)
62743         with $(+prectorT).
62744         (link-static-after-libc): Replace $(+postctor) with
62745         $(+postctorT).
62746         (link-bounded): Replace $(+prector)/$(+postctor) with
62747         $(+prectorT)/$(+postctorT).
62748         (+prectorT): New macro.
62749         (+postctorT): Likewise.
62751 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62753         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62754         (round_str): Handle values above the maximum for IBM long double
62755         as inexact.
62756         * stdlib/tst-strtod-round.c (tests): Regenerated.
62758 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62760         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62761         assembler flag.
62762         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62763         zarch_nohighgprs around the zarch optimized routines.
62764         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62765         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62766         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62767         for zarch.
62769 2012-09-05  David S. Miller  <davem@davemloft.net>
62771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62773         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62774         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62775         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62776         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62777         entries.
62779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62781         * malloc/arena.c: Fold copyright years.
62782         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62784 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62786         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62790         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62794         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62795         change internal state upon failure.
62797 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62799         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62800         * malloc/memusage.c (mmap): Likewise.
62801         (mmap64, mremap): Likewise.  Adjust name in comment.
62803 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62805         * libio/fileops.c: Fix typos in comments.
62806         * libio/oldfileops.c: Likewise.
62807         * libio/wfileops.c: Likewise.
62809 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62811         [BZ #1349]
62812         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62813         (tst-malloc-usable-ENV): Set environment for test case.
62814         * malloc/hooks.c (malloc_check_get_size): New function to get
62815         requested size.
62816         * malloc/malloc.c (musable): Use malloc_check_get_size.
62817         * malloc/tst-malloc-usable.c: New test case.
62819 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62821         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62823 2012-09-05  Allan McRae  <allan@archlinux.org>
62825         [BZ #13966]
62826         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62827         determine header location.
62828         * configure: Regenerated.
62830 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62832         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62833         float format.
62834         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62835         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62836         format.
62837         (test): Regenerate.
62839 2012-09-04  David S. Miller  <davem@davemloft.net>
62841         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62842         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62843         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62845 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62847         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62848         failures.
62850         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62852 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62854         [BZ #9914]
62855         * libio/iogetdelim.c: Include <limits.h>.
62856         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62857         + len + 1 would overflow.
62859 2012-09-03  Andreas Jaeger  <aj@suse.de>
62861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62862         * sysdeps/i386/fpu/libm-test-ulps: Update.
62864 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62866         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62867         Add s_sinf-sse2, s_conf-sse2.
62869         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62870         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62871         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62872         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62874         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62875         for using routine as __sinf_ia32.
62876         Use macro for function declaration and weak_alias.
62877         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62878         for using routine as __cosf_ia32.
62879         Use macro for function declaration and weak_alias.
62881         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62882         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62884         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62885         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62888         * math/libm-test.inc (cos_test): Add more test cases.
62889         (sin_test): Likewise.
62890         (sincos_test): Likewise.
62892 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62894         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62895         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62896         hidden.
62897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62899 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62901         [BZ #14538]
62902         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62903         first element of the GOT.
62904         (elf_machine_load_address): Return the difference between
62905         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62907 2012-09-01  Allan McRae  <allan@archlinux.org>
62909         [BZ #13412]
62910         * configure.in (AWK): Require gawk version 3.0 or later.
62911         * configure: Regenerated.
62913 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62915         * sysdeps/unix/sysv/linux/kernel-features.h
62916         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62917         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62918         [__NR_clock_getres]: Make code unconditional.
62919         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62920         (clock_getcpuclockid): Remove code left unreachable by removal of
62921         conditionals.
62922         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62923         code unconditional.
62924         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62925         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62926         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62927         Make code unconditional.
62928         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62929         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62930         * sysdeps/unix/sysv/linux/clock_settime.c
62931         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62932         conditional code.
62933         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62934         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62936 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62938         [BZ #14476]
62939         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62940         scripts/test-installation.pl.
62942         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62943         and $ld_so_version if it is set.
62945 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62947         [BZ #14516]
62948         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62949         failure if reading from procfs failed.
62950         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62952 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62954         * sysdeps/unix/sysv/linux/kernel-features.h
62955         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62956         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62957         Remove conditional code.
62958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62959         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62960         Remove conditional code.
62961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62962         * sysdeps/unix/sysv/linux/i386/fxstat.c
62963         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62965         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62966         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62968         * sysdeps/unix/sysv/linux/i386/lxstat.c
62969         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62971         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62972         Remove conditional code.
62973         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62974         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62975         Remove conditional code.
62976         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62977         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62978         <kernel-features.h>.
62979         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62980         Remove.
62981         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62982         Remove conditional code.
62983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62984         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62985         Remove conditional.
62987 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62989         [BZ #5400]
62990         * NEWS: Add fixed bug number.
62992 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62994         [BZ #14519]
62995         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62996         underflowing exponent in case of negative sign.
62997         * stdlib/tst-strtod-round-data: Add more tests.
62998         * stdlib/tst-strtod-round.c (tests): Regenerated.
63000         [BZ #3479]
63001         * stdlib/strtod_l.c (NDIG): Remove.
63002         (HEXNDIG): Likewise.
63003         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63004         smallest representable value.
63005         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63006         lie within an exact representation of 1/2 ulp of the result.
63007         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63008         unconditionally.
63009         (TENS_P9_IDX): Define unconditionally.
63010         (TENS_P9_SIZE): Likewise.
63011         (TENS_P10_IDX): Likewise.
63012         (TENS_P10_SIZE): Likewise.
63013         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63014         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63015         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63016         entries for 10^2^13 and 10^2^14.
63017         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63018         (TENS_P13_IDX): Define.
63019         (TENS_P13_SIZE): Likewise.
63020         (TENS_P14_IDX): Likewise.
63021         (TENS_P14_SIZE): Likewise.
63022         (_fpioconst_pow10): Change array size to
63023         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63024         unconditional.
63025         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63026         1024]: Add entries for 10^2^13 and 10^2^14.
63027         [LAST_POW10 > _LAST_POW10]: Remove #error.
63028         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63029         (_fpioconst_pow10): Change array size to
63030         FPIOCONST_POW10_ARRAY_SIZE.
63031         * stdlib/gen-fpioconst.c: New file.
63032         * stdlib/gen-tst-strtod-round.c: Likewise.
63033         * stdlib/tst-strtod-round-data: Likewise.
63034         * stdlib/tst-strtod-round.c: Likewise.
63035         * stdlib/Makefile (tests): Add tst-strtod-round.
63037         [BZ #14459]
63038         * stdlib/strtod_l.c: Include <stdint.h>.
63039         (NDEBUG): Do not define.
63040         (round_and_return): Change EXPONENT parameter to type intmax_t.
63041         Rearrange calculations to avoid internal overflow possibilities.
63042         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63043         Rearrange calculations to avoid internal overflow possibilities.
63044         Assert that number fits inside MPNSIZE limbs.
63045         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63046         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63047         calculations and add assertions to avoid internal overflow
63048         possibilities.  Add casts to avoid signed/unsigned operations.
63049         * stdlib/tst-strtod-overflow.c: New file.
63050         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63052 2012-08-25  Marek Polacek  <polacek@redhat.com>
63054         * time/time.h: Fix some typos in comments.
63056 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63058         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63059         * posix/tst-rfc3484-2.c: Likewise.
63060         * posix/tst-rfc3484-3.c: Likewise.
63062 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63064         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63065         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63067 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63069         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63070         #include of fxstatat64.c.
63072 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63074         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63075         * shadow/getspent_r.c: Likewise.
63076         * shadow/getspnam.c: Likewise.
63077         * shadow/getspnam_r.c: Likewise.
63078         * gshadow/getsgent.c: Likewise.
63079         * gshadow/getsgent_r.c: Likewise.
63080         * gshadow/getsgnam.c: Likewise.
63081         * gshadow/getsgnam_r.c: Likewise.
63082         * inet/getnetbyad.c: Likewise.
63083         * inet/getnetbyad_r.c: Likewise.
63084         * inet/getnetbynm.c: Likewise.
63085         * inet/getnetbynm_r.c: Likewise.
63086         * inet/getnetent.c: Likewise.
63087         * inet/getnetent_r.c: Likewise.
63088         * inet/getproto.c: Likewise.
63089         * inet/getproto_r.c: Likewise.
63090         * inet/getprtent.c: Likewise.
63091         * inet/getprtent_r.c: Likewise.
63092         * inet/getprtname.c: Likewise.
63093         * inet/getprtname_r.c: Likewise.
63094         * inet/getrpcbyname.c: Likewise.
63095         * inet/getrpcbyname_r.c: Likewise.
63096         * inet/getrpcbynumber.c: Likewise.
63097         * inet/getrpcbynumber_r.c: Likewise.
63098         * inet/getrpcent.c: Likewise.
63099         * inet/getrpcent_r.c: Likewise.
63100         * inet/getaliasent.c: Likewise.
63101         * inet/getaliasent_r.c: Likewise.
63102         * inet/getaliasname.c: Likewise.
63103         * inet/getaliasname_r.c: Likewise.
63104         * nscd/getgrgid_r.c: Likewise.
63105         * nscd/getgrnam_r.c: Likewise.
63106         * nscd/gethstbyad_r.c: Likewise.
63107         * nscd/gethstbynm3_r.c: Likewise.
63108         * nscd/getpwnam_r.c: Likewise.
63109         * nscd/getpwuid_r.c: Likewise.
63110         * nscd/getsrvbynm_r.c: Likewise.
63111         * nscd/getsrvbypt_r.c: Likewise.
63112         * nscd/gai.c: Likewise.
63114         * configure.in (build_nscd): New substituted variable, set
63115         by --disable-build-nscd and defaults to $use_nscd.
63116         * configure: Regenerated.
63117         * config.make.in (build-nscd): New substituted variable.
63118         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63119         Change conditional to require [$(build-nscd) = yes] as well.
63120         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63122         [BZ# 13696]
63123         * configure.in (use_nscd): New substituted variable, set by
63124         --disable-nscd.  If enabled, define USE_NSCD.
63125         * configure: Regenerated.
63126         * config.h.in: Add USE_NSCD.
63127         * config.make.in (use-nscd): New substituted variable.
63128         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63129         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63130         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63131         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63132         (CFLAGS-getgrnam_r.c): Likewise.
63133         (CFLAGS-initgroups.c): Likewise.
63134         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63135         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63136         Variables removed.
63137         * inet/getnetgrent_r.c
63138         (nscd_setnetgrent): New function, broken out of ...
63139         (setnetgrent): ... here.  Call it.
63140         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63141         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63142         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63143         * nscd/Makefile (routines, aux): Move definitions after include of
63144         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63145         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63146         Conditionalize on [USE_NSCD].
63147         (is_nscd, nscd_init_cb): Likewise.
63148         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63149         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63150         * nss/nss_db/db-init.c: Likewise.
63151         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63152         [USE_NSCD].
63153         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63154         (make_request): Use it.
63155         (cache_valid_p): New function.
63156         (__check_pf): Use it.
63157         * NEWS: Add item for --disable-nscd.
63159 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63161         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63162         to support sed >= 4.2.1-20-ga9bf076.
63163         * configure: Regenerated.
63165 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63167         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63168         Conditionalize whole body on [IREL].
63170 2012-08-22  Jeff Law <law@redhat.com>
63172         [BZ #14505]
63173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63174         if the family is PF_UNSPEC.
63176 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63178         * Makerules (lib-version): Rename from V.
63179         (install-lib-nosubdir): Change V to lib-version.
63181 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63183         [BZ #14252]
63184         * powerpc32/power6/wcschr.c: New file.
63185         * powerpc32/power6/wcscpy.c: New file.
63186         * powerpc32/power6/wcsrchr.c: New file.
63187         * powerpc64/power6/wcschr.c: New file.
63188         * powerpc64/power6/wcscpy.c: New file.
63189         * powerpc64/power6/wcsrchr.c: New file.
63191 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63193         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63194         (two_way_short_needle): Use it.
63195         * string/strstr.c (AVAILABLE1_USES_J): Define.
63196         * string/strcasestr.c: Likewise.
63198         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63199         array references.
63200         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63202         [BZ #11607]
63203         * NEWS: Add an entry.
63204         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63205         define their defaults.
63206         (two_way_short_needle): Detect end-of-string on-the-fly.
63207         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63208         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63209         * string/bug-strcasestr1.c: New test.
63210         * string/Makefile: Run it.
63212 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63214         [BZ #11607]
63215         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63216         the first character.
63218 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63220         * csu/elf-init.c (__libc_csu_irel): Function removed.
63221         * csu/libc-start.c (apply_irel): New function.
63222         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63224 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63226         * sysdeps/unix/sysv/linux/kernel-features.h
63227         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63228         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63229         <kernel-features.h>.
63230         [__NR_fadvise64_64]: Make code unconditional.
63231         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63232         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63233         !__NR_fadvise64_64)]: Likewise.
63234         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63235         !__NR_fadvise64_64))]: Likewise.
63236         [__NR_fadvise64]: Make code unconditional.
63237         [!__NR_fadvise64]: Remove conditional code.
63238         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63239         <kernel-features.h>.
63240         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63241         unconditional.
63242         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63243         conditional code.
63244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63245         not include <kernel-features.h>.
63246         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63247         unconditional.
63248         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63249         conditional code.
63250         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63251         include <kernel-features.h>.
63252         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63253         unconditional.
63254         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63255         conditional code.
63257 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63260         slight instruction rearrangements per scrollpipe analysis.
63261         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63263 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63265         * manual/syslog.texi (syslog; vsyslog, closelog):
63266         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63267         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63269         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63270         DSOCAPS to match condition on defining it.
63272 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63274         * sysdeps/unix/sysv/linux/kernel-features.h
63275         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63277         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63278         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63280         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63281         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63283         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63284         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63286         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63287         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63289         * sysdeps/unix/sysv/linux/kernel-features.h
63290         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63291         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63292         unconditional.
63293         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63294         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63295         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63296         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63297         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63298         Make code unconditional.
63299         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63300         (__mmap64) [!__NR_mmap2]: Likewise.
63301         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63302         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63303         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63305         [__NR_mmap2]: Make code unconditional.
63306         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63307         (__mmap64) [!__NR_mmap2]: Likewise.
63309 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63311         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63313 2012-08-18  Andreas Jaeger  <aj@suse.de>
63315         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63317 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63319         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63320         * include/unistd.h (__have_sock_cloexec): Likewise.
63321         (__have_pipe2): Likewise.
63322         (__have_dup3): Likewise.
63324 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63326         [BZ #9685]
63327         * include/unistd.h (__have_pipe2): Change define into an extern int.
63328         (__have_dup3): Likewise.
63329         * socket/have_sock_cloexec.c: Include fcntl.h.
63330         (__have_pipe2): New variable.
63331         (__have_dup3): Likewise.
63333 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63335         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63337 2012-08-17  Marek Polacek  <polacek@redhat.com>
63339         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63340         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63342 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63344         * configure.in: Add AC_SUBST for sysheaders.
63345         * configure: Regenerated.
63346         * config.make.in (sysheaders): New substituted variable.
63348         * sysdeps/unix/mkfifo.c: Moved ...
63349         * sysdeps/posix/mkfifo.c: ... here.
63350         * sysdeps/unix/mkfifoat.c: Moved ...
63351         * sysdeps/posix/mkfifoat.c: ... here.
63353         * sysdeps/unix/utime.c: Moved ...
63354         * sysdeps/posix/utime.c: ... here.
63356         * sysdeps/unix/time.c: Moved ...
63357         * sysdeps/posix/time.c: ... here.
63358         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63359         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63361         * sysdeps/unix/nice.c: Moved ...
63362         * sysdeps/posix/nice.c: ... here.
63364         * sysdeps/unix/alarm.c: Moved ...
63365         * sysdeps/posix/alarm.c: ... here.
63367         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63369 2012-08-17  Jeff Law <law@redhat.com>
63371         * intl/Makefile (codeset_mo): New variable.
63372         ($(codeset_mo)): New target.
63373         (tst-codeset.out): Depend on that.  Remove explicit rule.
63374         (tst-gettext3.out, tst-gettext5.out): Likewise.
63375         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63376         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63377         * intl/tst-codeset.sh: Remove.
63378         * intl/tst-gettext3.sh: Likewise.
63379         * intl/tst-gettext5.sh: Likewise.
63381 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63383         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63384         * sysdeps/unix/syscalls.list: ... here.
63386         * sysdeps/posix/getaddrinfo.c
63387         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63388         (gaiconf_init, gaiconf_reload): Use them.
63389         [!_STATBUF_ST_NSEC]
63390         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63391         Define using time_t rather than struct timespec.
63393         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63394         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63395         Macros removed.
63396         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63397         [!NO_THREADS].
63398         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63399         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63400         Likewise.
63402         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63403         __libc_cleanup_push argument.
63405         * bits/param.h: New file.
63406         * misc/sys/param.h: New file.
63407         * include/sys/param.h: New file.
63408         * misc/Makefile (headers): Add bits/param.h.
63409         * sysdeps/generic/sys/param.h: File removed.
63410         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63411         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63412         * sysdeps/mach/hurd/bits/param.h: New file.
63413         * sysdeps/mach/hurd/sys/param.h: File removed.
63415         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63416         last change.
63418         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63419         [_IO_MTSAFE_IO].
63420         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63421         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63422         New macros.
63424         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63425         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63426         rather than -D_IO_MTSAFE_IO conditionally.
63427         * stdio-common/Makefile (CPPFLAGS): Likewise.
63428         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63429         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63430         Use $(libio-mtsafe).
63431         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63432         of -D_IO_MTSAFE_IO.
63433         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63434         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63435         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63436         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63437         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63438         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63439         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63440         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63441         (CFLAGS-fread_u_chk.c): Likewise.
63442         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63443         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63444         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63445         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63446         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63447         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63448         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63449         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63450         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63452         * libio/Makefile: Test [$(libc-reentrant) = yes]
63453         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63455         * Makeconfig
63456         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63457         * sysdeps/pthread/configure: File removed.
63458         * sysdeps/pthread/Makeconfig: New file.
63459         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63460         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63462 2012-08-16  Gary Benson  <gbenson@redhat.com>
63464         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63465         unmapping the first object in a namespace.
63467 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63469         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63470         (__internal_setnetgrent): ... this.  Add internal_function to
63471         definition.  Add libc_hidden_def.
63472         (setnetgrent): Update caller.
63473         (internal_endnetgrent): Renamed to ...
63474         (__internal_endnetgrent): ... this.  Add internal_function to
63475         definition.  Add libc_hidden_def.
63476         (endnetgrent): Update caller.
63477         (internal_getnetgrent_r): Renamed to ...
63478         (__internal_getnetgrent_r): ... this.  Add internal_function to
63479         definition.  Add libc_hidden_def.
63480         (__getnetgrent_r): Update caller.
63481         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63483 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63485         * stdlib/longlong.h: Update from GCC.
63487 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63489         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63490         on _QL, which is set by umul_ppmm but never used.
63491         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63492         variables, which are set by GMP macros but never used.
63493         * stdio-common/_itowa.c (_itowa): Likewise.
63494         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63495         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63497 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63499         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63500         struct La_sh_regs is not constant.
63501         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63502         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63503         and struct La_sparc64_regs are not constant.
63505 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63507         * sysdeps/unix/sysv/linux/kernel-features.h
63508         (__ASSUME_POSIX_TIMERS): Remove.
63509         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63511         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63512         Make code unconditional.
63513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63514         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63515         Make code unconditional.
63516         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63517         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63518         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63519         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63520         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63521         Make code unconditional.
63522         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63523         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63524         (__libc_missing_posix_timers): Remove.
63526 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63528         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63529         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63531         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63533         * elf/dl-sym.c: Include <stdlib.h>.
63535         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63536         constants, which avoids warnings in 32-bit builds.
63538         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63539         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63541         * misc/lseek.c: File moved to ...
63542         * io/lseek.c: ... here.
63544         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63546         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63547         shifting LEN more than 31 bits at once.
63549 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63551         [BZ #14195]
63552         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63553         segmentation fault for a case of two empty input strings.
63554         * string/test-strncasecmp.c (check1): Renamed to...
63555         (bz12205): ...this.
63556         (bz14195): Add new testcase for two empty input strings and N > 0.
63557         (test_main): Call new testcase, adapt for renamed function.
63559 2012-08-15  Andreas Jaeger  <aj@suse.de>
63561         [BZ #14090]
63562         * crypt/md5test2.c: New test, based on test supplied by Serge
63563         Belyshev <belyshev@depni.sinp.msu.ru>.
63564         * crypt/Makefile (xtests): Add md5test-giant..
63565         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63567 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63569         [BZ #14090]
63570         * crypt/md5.c (md5_process_block): Don't assume the buffer
63571         length is less than 2**32.
63572         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63573         length is less than 2**64.
63575 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63577         * string/str-two-way.h: Include <sys/param.h>.
63578         (MAX): Macro removed.
63580         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63581         Move #define and #undef of memmove to just before and after
63582         including <string.h>.
63584         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63585         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63586         and after including <string.h>.  Move declarations of
63587         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63588         to before #include "string/memmove.c".
63590         * include/dirent.h: Declare __getdirentries.
63592         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63593         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63595 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63597         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63598         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63599         * sysdeps/i386/configure: Regenerated.
63600         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63601         STABS_CURRENT_FILE, and STABS_FUN.
63602         (END): Remove call to STABS_FUN_END.
63603         (STABS_CURRENT_FILE1): Delete.
63604         (STABS_CURRENT_FILE): Likewise.
63605         (STABS_FUN): Likewise.
63606         (STABS_FUN_END): Likewise.
63607         (STABS_FUN2): Likewise.
63608         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63609         * sysdeps/x86_64/configure: Regenerated.
63611 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63613         * elf/dl-open.c: Include <atomic.h>.
63614         * elf/dl-lookup.c: Likewise.
63616 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63618         * sysdeps/unix/sysv/linux/kernel-features.h
63619         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63620         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63621         unconditionally.
63622         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63623         unconditionally.
63624         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63625         condition on __ASSUME_CLONE_THREAD_FLAGS.
63627 2012-08-14  Andreas Jaeger  <aj@suse.de>
63629         * sysdeps/i386/fpu/libm-test-ulps: Update.
63631 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63633         * include/atomic.h (atomic_exchange_and_add): Split into ...
63634         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63635         New atomic macros.
63637 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63641 2012-08-13  Jeff Law <law@redhat.com>
63643         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63644         null byte in the output string.
63646 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63648         * sysdeps/unix/sysv/linux/kernel-features.h
63649         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63650         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63651         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63652         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63653         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63654         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63655         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63657 2012-08-09  Jeff Law <law@redhat.com>
63659         [BZ #13939]
63660         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63661         When avoid_arena is set, don't retry in the that arena.  Pick the
63662         next one, whatever it might be.
63663         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63664         (arena_lock): Pass in new parameter to arena_get2.
63665         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63666         arena_get2.
63667         (__libc_malloc): Unify retrying after main arena failure with
63668         __libc_memalign version.
63669         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63671 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63673         [BZ #14166]
63674         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63675         to __redirect_strstr.
63676         (__strstr_sse42): Use typeof __redirect_strstr.
63677         (__strstr_ia32): Likewise.
63678         (__libc_strstr): New prototype.
63679         (strstr): Renamed to ...
63680         (__libc_strstr): This.
63681         (strstr): New strong alias of __libc_strstr.
63682         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63683         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63684         __redirect_time.
63685         Include <time.h>.
63686         (__libc_time): New prototype.
63687         (time_ifunc): Replace time with __libc_time.
63688         (time): New strong alias and hidden definition of __libc_time.
63689         (__GI_time): Remove strong alias.
63690         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63691         Include <stddef.h>.
63692         (memmove): Redefined to __redirect_memmove.
63693         (__memmove_sse2): Use typeof __redirect_memmove.
63694         (__memmove_ssse3): Likewise.
63695         (__memmove_ssse3_back): Likewise.
63696         (__libc_memmove): New prototype.
63697         (memmove): Renamed to ...
63698         (__libc_memmove): This.
63699         (memmove): New strong alias of __libc_memmove.
63701 2012-08-08  Mark Salter  <msalter@redhat.com>
63703         * elf/elf.h
63704         (R_MN10300_TLS_GD): Define.
63705         (R_MN10300_TLS_LD): Likewise.
63706         (R_MN10300_TLS_LDO): Likewise.
63707         (R_MN10300_TLS_GOTIE): Likewise.
63708         (R_MN10300_TLS_IE): Likewise.
63709         (R_MN10300_TLS_LE): Likewise.
63710         (R_MN10300_TLS_DTPMOD): Likewise.
63711         (R_MN10300_TLS_DTPOFF): Likewise.
63712         (R_MN10300_TLS_TPOFF): Likewise.
63713         (R_MN10300_SYM_DIFF): Likewise.
63714         (R_MN10300_ALIGN): Likewise.
63715         (R_MN10300_NUM): Update.
63717 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63720         Remove.
63722 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63724         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63726         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63727         sysdeps/unix -> sysdeps/posix move.
63728         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63730 2012-08-07      Allan McRae     <allan@archlinux.org>
63732         [BZ #14303]
63733         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63734         (SUNOS_CPP): Likewise.
63735         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63736         not found.
63737         (open_input): Call CPP using execvp.
63739 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63741         * sysdeps/unix/sysv/linux/kernel-features.h
63742         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63743         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63744         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63745         (__ASSUME_WAITID_SYSCALL): Likewise.
63746         * sysdeps/unix/sysv/linux/dl-execstack.c
63747         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63748         code unconditional.
63749         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63750         conditional code.
63751         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63752         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63753         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63754         code.
63755         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63756         unconditional.
63757         [__ASSUME_WAITID_SYSCALL]: Likewise.
63758         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63760 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63762         * sysdeps/unix/closedir.c: Renamed to ...
63763         * sysdeps/posix/closedir.c: ... here.
63764         * sysdeps/unix/dirfd.c: Renamed to ...
63765         * sysdeps/posix/dirfd.c: ... here.
63766         * sysdeps/unix/dirstream.h: Renamed to ...
63767         * sysdeps/posix/dirstream.h: ... here.
63768         * sysdeps/unix/fdopendir.c: Renamed to ...
63769         * sysdeps/posix/fdopendir.c: ... here.
63770         * sysdeps/unix/opendir.c: Renamed to ...
63771         * sysdeps/posix/opendir.c: ... here.
63772         * sysdeps/unix/readdir.c: Renamed to ...
63773         * sysdeps/posix/readdir.c: ... here.
63774         * sysdeps/unix/readdir_r.c: Renamed to ...
63775         * sysdeps/posix/readdir_r.c: ... here.
63776         * sysdeps/unix/rewinddir.c: Renamed to ...
63777         * sysdeps/posix/rewinddir.c: ... here.
63778         * sysdeps/unix/seekdir.c: Renamed to ...
63779         * sysdeps/posix/seekdir.c: ... here.
63780         * sysdeps/unix/telldir.c: Renamed to ...
63781         * sysdeps/posix/telldir.c: ... here.
63782         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63783         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63784         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63785         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63787         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63788         * bits/fcntl.h: ... here.
63790         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63791         not 0.
63792         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63793         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63794         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63795         (struct flock): Move l_start, l_len to the beginning.
63796         Use __pid_t for l_pid.
63797         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63798         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63799         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63800         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63801         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63802         [__USE_LARGEFILE64] (struct flock64): New type.
63803         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63805         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63806         * bits/dirent.h: ... here.
63808         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63809         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63811 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63813         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63814         Change from 2.6.0 to 2.6.16.
63815         * sysdeps/unix/sysv/linux/configure: Regenerated.
63816         * sysdeps/unix/sysv/linux/kernel-features.h
63817         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63818         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63819         version.
63820         (__ASSUME_UTIMES): Likewise.
63821         (__ASSUME_CLONE_STOPPED): Remove.
63822         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63823         architectures, not kernel version.
63824         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63825         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63826         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63827         (__ASSUME_WAITID_SYSCALL): Likewise.
63828         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63829         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63830         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63831         refer to older versions.
63833 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63835         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63836         Define alphasort64 as an alias.
63837         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63838         Define versionsort64 as an alias.
63839         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63840         Define scandir64 as an alias.
63841         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63842         Define scandirat64 as an alias.
63843         * dirent/alphasort64.c (alphasort64):
63844         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63845         * dirent/versionsort64.c: Likewise.
63846         * dirent/scandir64.c: Likewise.
63847         * dirent/scandirat64.c: Likewise.
63848         * sysdeps/wordsize-64/alphasort.c: File removed.
63849         * sysdeps/wordsize-64/alphasort64.c: File removed.
63850         * sysdeps/wordsize-64/scandir.c: File removed.
63851         * sysdeps/wordsize-64/scandir64.c: File removed.
63852         * sysdeps/wordsize-64/scandirat.c: File removed.
63853         * sysdeps/wordsize-64/scandirat64.c: File removed.
63854         * sysdeps/wordsize-64/versionsort.c: File removed.
63855         * sysdeps/wordsize-64/versionsort64.c: File removed.
63856         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63857         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63858         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63859         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63860         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63861         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63862         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63863         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63865         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63867         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63869         [defined __arch64__ || defined __sparcv9]
63870         (__INO_T_MATCHES_INO64_T): New macro.
63871         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63872         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63873         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63874         * sysdeps/unix/sysv/linux/bits/dirent.h
63875         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63876         (_DIRENT_MATCHES_DIRENT64): New macro.
63878         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63879         Define lockf64 as an alias.
63880         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63881         Define fseeko64 as an alias.
63882         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63883         Define ftello64 as an alias.
63884         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63885         Define _IO_fgetpos64 and fgetpos64 as aliases.
63886         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63887         Define _IO_fsetpos64 and fsetpos64 as aliases.
63888         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63889         Conditionalize body on this.
63890         * libio/fseeko64.c: Likewise.
63891         * libio/ftello64.c: Likewise.
63892         * libio/iofgetpos64.c: Likewise.
63893         * libio/iofsetpos64.c: Likewise.
63894         * sysdeps/wordsize-64/lockf.c: File removed.
63895         * sysdeps/wordsize-64/lockf64.c: File removed.
63896         * sysdeps/wordsize-64/fseeko.c: File removed.
63897         * sysdeps/wordsize-64/fseeko64.c: File removed.
63898         * sysdeps/wordsize-64/ftello.c: File removed.
63899         * sysdeps/wordsize-64/ftello64.c: File removed.
63900         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63901         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63902         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63903         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63904         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63905         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63906         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63907         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63908         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63909         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63910         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63911         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63912         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63913         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63915         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63917         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63919         [defined __arch64__ || defined __sparcv9]
63920         (__OFF_T_MATCHES_OFF64_T): New macro.
63921         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63922         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63924         (__OFF_T_MATCHES_OFF64_T): New macro.
63926 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63928         * stdlib/secure-getenv.c (__secure_getenv): Replace
63929         GLIBC_2_16 with GLIBC_2_17.
63931 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63933         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63936 2012-08-03  David S. Miller  <davem@davemloft.net>
63938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63940 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63943         Remove.
63944         (__ASSUME_CORRECT_SI_PID): Likewise.
63945         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63946         (__ASSUME_TMPFS_NAME): Likewise.
63947         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63948         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63949         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63950         (HAVE_AUX_SECURE): Make definition unconditional.
63951         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63952         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63954 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63956         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63957         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63958         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63959         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63960         __eloop_threshold instead of SYMLOOP_MAX.
63962         * sysdeps/generic/eloop-threshold.h: New file.
63963         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63964         of MAXSYMLINKS.
63965         * elf/chroot_canon.c (chroot_canon): Likewise.
63967 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63969         [BZ #13717]
63970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63971         Change to 2.6.0 everywhere.
63972         * sysdeps/unix/sysv/linux/configure: Regenerated.
63973         * sysdeps/unix/sysv/linux/kernel-features.h
63974         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63975         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63976         kernel versions.
63977         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63978         (__ASSUME_FUTEX_REQUEUE): Remove.
63979         (__ASSUME_STATFS64): Define unconditionally.
63980         (__ASSUME_AT_SECURE): Likewise.
63981         (__ASSUME_CORRECT_SI_PID): Likewise.
63982         (__ASSUME_TGKILL): Define without depending on kernel version for
63983         i386.
63984         (__ASSUME_UTIMES): Likewise.
63985         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63986         kernel version.
63987         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63988         (__ASSUME_TMPFS_NAME): Likewise.
63989         * README: Update reference to Linux kernel versions.
63991 2012-08-02  Marek Polacek  <polacek@redhat.com>
63993         [BZ# 14150]
63994         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63995         libc_cv_asm_type_prefix with %.
63996         * configure: Regenerated.
63997         * include/libc-symbols.h: Remove comment about
63998         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63999         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64000         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64001         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64002         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64003         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64004         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64005         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64006         * elf/tst-unique2mod1.c: Likewise.
64007         * elf/tst-unique1mod2.c: Likewise.
64008         * elf/tst-unique1mod1.c: Likewise.
64009         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64010         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64011         Replace ASM_TYPE_DIRECTIVE with .type.
64012         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64013         * sysdeps/i386/sysdep.h: Likewise.
64014         * sysdeps/x86_64/sysdep.h: Likewise.
64015         * sysdeps/sh/sysdep.h: Likewise.
64016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64017         Do not define ASM_TYPE_DIRECTIVE.
64018         * sysdeps/powerpc/sysdep.h: Likewise.
64019         * sysdeps/powerpc/powerpc32/sysdep.h:
64020         Replace ASM_TYPE_DIRECTIVE with .type.
64021         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64023         * sysdeps/i386/fpu/e_powf.S: Likewise.
64024         * sysdeps/i386/fpu/e_expl.S: Likewise.
64025         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64026         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64027         * sysdeps/i386/fpu/e_pow.S: Likewise.
64028         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64029         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64030         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64031         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64032         * sysdeps/i386/fpu/e_log2.S: Likewise.
64033         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64034         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64035         * sysdeps/i386/fpu/e_powl.S: Likewise.
64036         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64037         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64038         * sysdeps/i386/fpu/e_logl.S: Likewise.
64039         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64040         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64041         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64042         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64043         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64044         * sysdeps/i386/fpu/e_log.S: Likewise.
64045         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64046         * sysdeps/i386/fpu/e_logf.S: Likewise.
64047         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64048         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64049         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64050         * sysdeps/i386/fpu/e_log10.S: Likewise.
64051         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64052         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64053         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64054         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64055         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64056         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64057         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64058         * sysdeps/i386/i686/strtok.S: Likewise.
64059         * sysdeps/i386/i386-mcount.S: Likewise.
64060         * sysdeps/i386/strtok.S: Likewise.
64061         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64062         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64063         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64065         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64066         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64067         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64068         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64069         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64070         * sysdeps/x86_64/_mcount.S: Likewise.
64071         * sysdeps/x86_64/strtok.S: Likewise.
64072         * sysdeps/sh/_mcount.S: Likewise.
64074 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64076         * libio/iofopen.c: Include <fcntl.h>.
64077         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64078         (_IO_fopen64, fopen64): Define as aliases.
64079         * libio/iofopen64.c: Include <fcntl.h>.
64080         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64081         Conditionalize body on this.
64082         * sysdeps/wordsize-64/iofopen.c: File removed.
64083         * sysdeps/wordsize-64/iofopen64.c: File removed.
64085 2012-08-01  Marek Polacek  <polacek@redhat.com>
64087         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64088         Use dlfcn directly instead of a variable.
64089         (binfmt-subdir): Do not define.
64090         (dlfcn): Likewise.
64092 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64095         Remove all definitions.
64096         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64097         <kernel-features.h>.
64098         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64099         (miss_F_GETOWN_EX): Remove all definitions.
64100         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64101         macro definition.
64102         [!__ASSUME_FCNTL64]: Remove conditional code.
64103         [__ASSUME_FCNTL64]: Make code unconditional.
64104         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64105         <kernel-features.h>.
64106         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64107         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64108         (lockf64) [__NR_fcntl64]: Make code unconditional.
64109         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64111         * sysdeps/unix/sysv/linux/kernel-features.h
64112         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64113         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64114         Make code unconditional.
64115         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64116         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64118         [__NR_vfork]: Make code unconditional.
64119         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64120         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64122         [__NR_vfork]: Make code unconditional.
64123         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64124         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64126 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64128         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64129         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64131         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64132         Define mkstemp64 as an alias.
64133         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64134         Define mkstemps64 as an alias.
64135         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64136         Define mkostemp64 as an alias.
64137         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64138         Define mkostemps64 as an alias.
64139         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64140         Conditionalize body on this.
64141         * misc/mkostemp64.c: Likewise.
64142         * misc/mkostemps64.c: Likewise.
64143         * misc/mkstemps64.c: Likewise.
64144         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64145         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64146         * sysdeps/wordsize-64/mkostemp.c: File removed.
64147         * sysdeps/wordsize-64/mkstemp.c: File removed.
64148         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64149         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64150         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64153         [BZ #14138]
64154         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64155         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64156         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64157         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64159         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64160         compat_symbol macros from <shlib-compat.h> rather than the underlying
64161         default_symbol_version and symbol_version macros, so that DEFAULT
64162         lines in shlib-versions are respected.
64163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64165 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64167         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64168         Declare with warn_unused_result.
64169         (setgid, setregid, setegid, setresgid): Likewise.
64170         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64171         Likewise.
64172         * WUR-REPORT: Remove set*id functions.
64174 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64176         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64178 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64180         [BZ #10191]
64181         * include/sys/socket.h (__libc_accept, __libc_accept4):
64182         Add attribute_hidden.
64183         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64185         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64186         use of PTR_MANGLE.
64187         * inet/getnetgrent_r.c (setup): Likewise.
64189         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64191 2012-07-31  David S. Miller  <davem@davemloft.net>
64193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64195 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64197         [BZ #13629]
64198         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64199         value between 1.0 and 2.0 and smaller part has absolute value less
64200         than 1.0.
64201         * math/s_clog10.c (__clog10): Likewise.
64202         * math/s_clog10f.c (__clog10f): Likewise.
64203         * math/s_clog10l.c (__clog10l): Likewise.
64204         * math/s_clogf.c (__clogf): Likewise.
64205         * math/s_clogl.c (__clogl): Likewise.
64206         * math/libm-test.inc (clog_test): Add more tests.
64207         (clog10_test): Likewise.
64208         * sysdeps/i386/fpu/libm-test-ulps: Update.
64209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64211 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64213         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64214         Exit with zero in case no suitable GID is found, and write a
64215         message to standard error.
64217 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64219         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64220         rather than to 1.
64221         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64222         (MAXPATHLEN): Removed.
64223         (NOGROUP, NODEV): New macros.
64224         (setbit, clrbit, isset, isclr): New macros.
64225         (howmany, roundup, powerof2): New macros.
64226         (DEV_BSIZE): New macro.
64228         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64229         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64231         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64232         definition on [!__NO_LONG_DOUBLE_MATH].
64234         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64235         PTR_MANGLE and PTR_DEMANGLE.
64237         * socket/accept4.c (accept4): Rename to __libc_accept4.
64238         Define accept4 as a weak alias.
64240         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64241         on [_DIRENT_HAVE_D_TYPE].
64242         * io/ftw.c (ftw_dir): Likewise.
64244         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64246         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64248         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64249         Use the BSD numbers rather than the arbitrary ones we had.
64250         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64251         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64252         (SIGXCPU, SIGXFSZ): New macros.
64253         (_NSIG): Now 32.
64255         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64256         initializer on [_LIBC_REENTRANT].
64258         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64259         definitions inside [_POSIX_MAPPED_FILES].
64261         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64263         * dirent/opendir.c: Include <fcntl.h>.
64265         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64266         (__libc_getspecific): Likewise.
64267         (__libc_key_create): Likewise.
64269         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64270         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64271         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64272         (tmpfile64): Define as alias.
64273         * sysdeps/wordsize-64/tmpfile.c: File removed.
64274         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64275         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64278         * stdio-common/vfscanf.c: Include <stdbool.h>.
64279         * nss/makedb.c: Likewise.
64280         * stdio-common/_i18n_number.h: Likewise.
64281         * argp/argp-help.c: Likewise.
64282         * posix/wordexp.c: Likewise.
64283         * sysdeps/posix/spawni.c: Likewise.
64284         * nss/nss_files/files-initgroups.c: Likewise.
64285         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64286         * nss/nss_files/files-initgroups.c: Likewise.
64287         * nss/nss_db/db-netgrp.c: Likewise.
64288         * nss/nss_db/db-initgroups.c: Likewise.
64289         * io/fchmodat.c: Include <sys/stat.h>.
64291         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64292         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64294         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64295         [HAVE_MMAP].
64297         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64298         Add multiple inclusion protection.
64300 2012-07-27  David S. Miller  <davem@davemloft.net>
64302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64304 2012-07-27  Gary Benson  <gbenson@redhat.com>
64306         [BZ #14298]
64307         * elf/rtld.c: Include <stap-probe.h>.
64308         (dl_main): Added static probes "init_start" and "init_complete".
64309         * elf/dl-load.c: Include <stap-probe.h>.
64310         (lose): Take new parameter "nsid".
64311         Added static probe "map_failed".
64312         (_dl_map_object_from_fd): Pass namespace id to lose.
64313         Added static probe "map_start".
64314         (open_verify): Pass namespace id to lose.
64315         * elf/dl-open.c: Include <stap-probe.h>.
64316         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64317         and "reloc_complete".
64318         * elf/dl-close.c: Include <stap-probe.h>.
64319         (_dl_close_worker): Added static probes "unmap_start" and
64320         "unmap_complete".
64321         * elf/rtld-debugger-interface.txt: New file documenting the above.
64323 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64325         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64326         rather than a string variable.
64327         * sunrpc/rpc_main.c (h_output): Likewise.
64328         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64330 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64332         * inet/check_native.c: New file.
64334 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64336         [BZ #13629]
64337         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64338         if larger part has absolute value 1.0.
64339         * math/s_clog10.c (__clog10): Likewise.
64340         * math/s_clog10f.c (__clog10f): Likewise.
64341         * math/s_clog10l.c (__clog10l): Likewise.
64342         * math/s_clogf.c (__clogf): Likewise.
64343         * math/s_clogl.c (__clogl): Likewise.
64344         * math/libm-test.inc (clog_test): Add more tests.
64345         (clog10_test): Likewise.
64346         * sysdeps/i386/fpu/libm-test-ulps: Update.
64347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64349         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64350         (pltexit): Likewise.
64351         (La_regs): Likewise.
64352         (La_retval): Likewise.
64353         (int_retval): Likewise.
64354         Update #error for removed macros to refer only to definitions in
64355         tst-audit.h.
64356         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64357         macro.
64358         (pltexit): Likewise.
64359         (La_regs): Likewise.
64360         (La_retval): Likewise.
64361         (int_retval): Likewise.
64362         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64363         macro.
64364         (pltexit): Likewise.
64365         (La_regs): Likewise.
64366         (La_retval): Likewise.
64367         (int_retval): Likewise.
64368         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64369         macro.
64370         (pltexit): Likewise.
64371         (La_regs): Likewise.
64372         (La_retval): Likewise.
64373         (int_retval): Likewise.
64374         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64375         macro.
64376         (pltexit): Likewise.
64377         (La_regs): Likewise.
64378         (La_retval): Likewise.
64379         (int_retval): Likewise.
64380         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64381         macro.
64382         (pltexit): Likewise.
64383         (La_regs): Likewise.
64384         (La_retval): Likewise.
64385         (int_retval): Likewise.
64386         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64387         macro.
64388         (pltexit): Likewise.
64389         (La_regs): Likewise.
64390         (La_retval): Likewise.
64391         (int_retval): Likewise.
64392         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64393         macro definitions in tst-audit.h.
64394         * sysdeps/i386/tst-audit.h: New file.
64395         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64396         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64397         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64398         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64399         * sysdeps/sh/tst-audit.h: Likewise.
64400         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64401         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64402         * sysdeps/x86_64/tst-audit.h: Likewise.
64404 2012-07-26  Andreas Jaeger  <aj@suse.de>
64406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64407         ptrace.
64409         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64410         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64411         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64412         PTRACE_O_MASK.
64413         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64414         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64415         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64417         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64418         value.
64420         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64421         _sigsys.
64422         (si_call_addr, si_syscall, si_arch): Define new macro.
64423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64424         _sigsys.
64425         (si_call_addr, si_syscall, si_arch): Define new marcro.
64426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64427         _sigsys.
64428         (si_call_addr, si_syscall, si_arch): Define new macro.
64429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64430         _sigsys.
64431         (si_call_addr, si_syscall, si_arch): Define new macro.
64433 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64435         [BZ #13717]
64436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64437         Change to 2.4.21 where previously 2.4.1.
64438         * sysdeps/unix/sysv/linux/configure: Regenerated.
64439         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64440         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64441         Linux kernel version.
64442         (__ASSUME_STD_AUXV): Remove.
64443         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64444         kernel version.
64445         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64446         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64447         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64448         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64449         (__ASSUME_NETLINK_SUPPORT): Likewise.
64450         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64451         (__no_netlink_support): Remove conditional definition.
64452         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64453         Remove.
64454         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64455         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64456         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64457         (if_nameindex_ioctl): Remove.
64458         (if_nameindex_netlink): Do not handle __no_netlink_support.
64459         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64460         code.
64461         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64462         Remove conditional code.
64463         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64464         code.
64465         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64466         unconditional.
64467         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64468         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64469         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64470         Remove.
64471         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64472         [!__ASSUME_STD_AUXV]: Remove conditional code.
64473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64474         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64475         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64477         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64478         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64479         code.
64480         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64482         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64483         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64484         conditional code.
64485         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64487         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64488         code.
64489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64490         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64491         conditional code.
64492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64493         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64494         code unconditional.
64495         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64496         conditional code.
64497         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64498         unconditional.
64499         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64500         conditional code.
64501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64502         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64503         unconditional.
64504         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64505         conditional code.
64506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64507         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64508         code unconditional.
64509         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64510         conditional code.
64511         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64512         unconditional.
64513         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64514         conditional code.
64515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64516         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64517         code unconditional.
64518         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64519         conditional code.
64520         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64521         unconditional.
64522         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64523         conditional code.
64525 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64527         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64528         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64529         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64530         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64531         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64532         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64533         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64534         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64535         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64536         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64537         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64538         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64539         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64540         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64541         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64542         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64543         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64545         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64547         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64548         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64549         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64551 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64553         * Versions.def: Add GLIBC_2.17.
64554         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64555         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64556         Introduce __libc_secure_getenv.
64557         * stdlib/Versions (2.17): Add secure_getenv
64558         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64559         * stdlib/secure-getenv.c: Rename __secure_getenv to
64560         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64561         symbol __secure_getenv for GLIBC_2.0.
64562         * stdlib/tst-secure-getenv.c: New.
64563         * stdlib/Makefile (tests): Add testcase.
64564         * manual/startup.texi (Environment Access): Document
64565         secure_getenv.
64566         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64567         __libc_secure_getenv.
64568         * inet/ruserpass.c (ruserpass): Likewise.
64569         * malloc/mtrace.c (mtrace): Likewise.
64570         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64571         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64572         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64573         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64574         HAVE_SECURE_GETENV.
64575         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64576         __secure_getenv to __libc_secure_getenv.
64577         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64579         Likewise.
64580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64581         Likewise.
64582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64590 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64592         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64593         (struct La_i86_retval): Likewise.
64594         (struct La_x86_64_regs): Likewise.
64595         (struct La_x86_64_retval): Likewise.
64596         (struct La_x32_regs): Likewise.
64597         (struct La_x32_retval): Likewise.
64598         (struct La_ppc32_regs): Likewise.
64599         (struct La_ppc32_retval): Likewise.
64600         (struct La_ppc64_regs): Likewise.
64601         (struct La_ppc64_retval): Likewise.
64602         (struct La_sh_regs): Likewise.
64603         (struct La_sh_retval): Likewise.
64604         (struct La_s390_32_regs): Likewise.
64605         (struct La_s390_32_retval): Likewise.
64606         (struct La_s390_64_regs): Likewise.
64607         (struct La_s390_64_retval): Likewise.
64608         (struct La_sparc32_regs): Likewise.
64609         (struct La_sparc32_retval): Likewise.
64610         (struct La_sparc64_regs): Likewise.
64611         (struct La_sparc64_retval): Likewise.
64612         (struct audit_ifaces): Remove architecture-specific pltenter and
64613         pltexit members.
64614         * sysdeps/i386/ldsodefs.h: New file.
64615         * sysdeps/powerpc/ldsodefs.h: Likewise.
64616         * sysdeps/s390/ldsodefs.h: Likewise.
64617         * sysdeps/sh/ldsodefs.h: Likewise.
64618         * sysdeps/sparc/ldsodefs.h: Likewise.
64619         * sysdeps/x86_64/ldsodefs.h: Likewise.
64621 2012-07-25  Marek Polacek  <polacek@redhat.com>
64623         [BZ #6808]
64624         * math/libm-test.inc (yn_test): Add another test.
64625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64626         to ERANGE when the result is +-Inf.
64627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64628         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64629         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64630         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64632 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64634         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64635         equal to 0.
64636         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64637         clock_t.
64638         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64640 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64642         * configure.in <sysdeps resolving>: Correct printing
64643         Implies_before.
64644         * configure: Regenerate.
64646 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64648         * math/w_ilogb.c: Include <limits.h>.
64649         * math/w_ilogbl.c: Likewise.
64651 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64653         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64654         va_copy.  Document allowing for unavailable va_copy only as
64655         pre-C99 compatibility.
64656         * manual/string.texi (Copying and Concatenation): Use va_copy
64657         instead of __va_copy in concat example.
64659 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64661         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64662         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64663         it if not null.
64665         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64666         with O_NOLINK passed to __file_name_lookup.
64668         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64669         with O_NOLINK passed to __file_name_lookup.
64671         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64672         negative N or less than NGIDS.
64674         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64675         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64676         enough.  Use memcpy instead of strncpy.
64678 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64680         * elf/Makefile (check-data): Remove.
64681         (localplt.data): New vpath directive.
64682         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64683         instead of $(check-data).
64684         * scripts/data/localplt-generic.data: Move to ...
64685         * sysdeps/generic/localplt.data: ... here.
64686         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64687         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64688         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64690         ... here.
64691         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64693         ... here.
64694         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64696         ... here.
64697         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64699         ... here.
64700         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64702         ... here.
64703         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64705         ... here.
64707 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64709         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64710         PPC32 and PPC64 files.
64711         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64712         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64714 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64716         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64717         __makecontext_ret to ...
64718         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64719         ... here and call exit if uc_link is NULL.  New file.
64720         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64721         __makecontext_ret.S.
64722         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64723         __makecontext_ret to ...
64724         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64725         ... here and call exit if uc_link is NULL.  New file.
64726         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64727         __makecontext_ret.S.
64729 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64731         * elf/elf.h (R_390_IRELATIVE): New definition.
64732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64733         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64734         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64736         (elf_machine_lazy_rel): Likewise.
64737         * sysdeps/s390/dl-irel.h: New file.
64738         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64739         * sysdeps/s390/s390-64/memset.S: New asm code.
64740         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64741         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64742         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64743         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64744         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64745         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64746         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64747         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64748         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64749         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64750         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64751         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64752         * sysdeps/s390/s390-32/memset.S: New asm code.
64753         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64755 2012-07-17  Marek Polacek  <polacek@redhat.com>
64757         [BZ #14349]
64758         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64759         * sysdeps/s390/s390-64/configure.in: Likewise.
64760         * sysdeps/sparc/configure.in: Likewise.
64761         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64762         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64763         * sysdeps/i386/configure.in: Likewise.
64764         * sysdeps/x86_64/configure.in: Likewise.
64765         * sysdeps/sh/configure.in: Likewise.
64766         * sysdeps/s390/s390-32/configure: Regenerated.
64767         * sysdeps/s390/s390-64/configure: Likewise.
64768         * sysdeps/x86_64/configure: Likewise.
64769         * sysdeps/sh/configure: Likewise.
64770         * sysdeps/powerpc/powerpc64/configure: Likewise.
64771         * sysdeps/powerpc/powerpc32/configure: Likewise.
64772         * sysdeps/sparc/configure: Likwise.
64773         * sysdeps/i386/configure: Likewise.
64775         * elf/dl-open.c: Comment fixes.
64777 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64779         * Makefile [CXX] (check-data): Remove.
64780         [CXX] (c++-types.data): New vpath directive.
64781         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64782         vpath.  Do not allow for C++ type data being missing.
64783         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64784         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64785         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64786         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64787         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64788         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64789         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64791         ... here.
64792         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64794         ... here.
64795         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64797         ... here.
64798         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64800         ... here.
64801         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64803         ... here.
64804         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64806         ... here.
64807         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64809         ... here.
64810         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64813         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64814         definitions to architecture-specific files.
64815         (TLS_IE): Likewise.
64816         (TLS_LD): Likewise.
64817         (TLS_GD): Likewise.
64818         * sysdeps/i386/tls-macros.h: New file.
64819         * sysdeps/powerpc/tls-macros.h: Likewise.
64820         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64821         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64822         * sysdeps/sh/tls-macros.h: Likewise.
64823         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64824         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64825         * sysdeps/x86_64/tls-macros.h: Likewise.
64827 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64829         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64830         zero value for regular exit case.
64832         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64833         (__start_context): Preserve zero value for regular exit case.
64835 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64836             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64838         * manual/setjmp.texi (setcontext): Clarify normal process
64839         termination when uc_link is the null pointer.
64840         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64841         exit call.
64843 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64845         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64846         preprocessor.  Test for each exception mask separately.
64848 2012-07-16  Andreas Jaeger  <aj@suse.de>
64850         * po/ru.po: Update from translation team.
64852 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64854         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64855         equal to 0.
64856         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64857         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64858         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64859         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64860         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64862 2012-07-13  Andreas Jaeger  <aj@suse.de>
64864         * po/fr.po: Update from translation team.
64866 2012-07-12  Marek Polacek  <polacek@redhat.com>
64868         [BZ #14173]
64869         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64871         loop condition.
64873 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64875         [BZ #13717]
64876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64877         Change to 2.4.1 where previously 2.4.0.
64878         * sysdeps/unix/sysv/linux/configure: Regenerated.
64879         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64880         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64881         version.
64882         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64883         (__ASSUME_AT_CLKTCK): Remove.
64884         (__ASSUME_AT_PAGESIZE): Likewise.
64885         (__ASSUME_AT_XID): Likewise.
64886         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64887         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64888         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64889         unconditionally.
64890         (HAVE_AUX_PAGESIZE): Likewise.
64891         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64892         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64893         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64895 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64897         [BZ #14307]
64898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64899         the temporary buffer used to invoke __gethostbyname2_r,
64900         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64901         host_data / struct gaih_addrtuple.
64902         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64903         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64904         header file nss/nsswitch.h.
64905         * nss/nsswitch.h (global scope): Add definition of implementation
64906         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64907         resolv/nss_dns/dns-host.c).
64909 2012-07-11  Andreas Jaeger  <aj@suse.de>
64911         * po/fr.po: Update from translation team.
64913         * po/sv.po: Update from translation team
64914         * po/fr.po: Another update from translation team.
64916 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64918         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64919         for subnormals or multiply small sinh result by itself.
64920         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64923 2012-07-11  David S. Miller  <davem@davemloft.net>
64925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64927 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64929         [BZ #14347]
64930         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64931         (INTERNAL_MARK): Shift it here.
64933 2012-07-10  Marek Polacek  <polacek@redhat.com>
64935         [BZ #14151]
64936         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64937         libc_cv_asm_global_directive with .globl.
64938         * configure: Regenerated.
64939         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64940         with .globl.
64941         * sysdeps/i386/configure: Regenerated.
64942         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64943         with .globl.
64944         * sysdeps/x86_64/configure: Regenerated.
64945         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64946         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64947         * elf/tst-unique2mod2.c: Likewise.
64948         * elf/tst-unique2mod1.c: Likewise.
64949         * elf/tst-unique1mod2.c: Likewise.
64950         * elf/tst-unique1mod1.c: Likewise.
64951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64952         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64953         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64954         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64955         * sysdeps/mach/sysdep.h: Likewise.
64956         * sysdeps/i386/sysdep.h: Likewise.
64957         * sysdeps/i386/i386-mcount.S: Likewise.
64958         * sysdeps/x86_64/_mcount.S: Likewise.
64959         * sysdeps/x86_64/sysdep.h: Likewise.
64960         * sysdeps/sh/_mcount.S: Likewise.
64961         * sysdeps/sh/sysdep.h: Likewise.
64962         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64963         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64964         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64966         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64967         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64968         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64969         * locale/localeinfo.h: Likewise.
64970         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64971         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64973 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64975         [BZ #14336]
64976         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64977         system".
64978         * manual/message.texi (The Uniforum approach): Likewise.
64979         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64980         (glibc iconv Implementation): Likewise.
64982 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64984         [BZ #14337]
64985         * math/s_clog.c (__clog): Avoid scaling a value down where that
64986         could result in underflow.
64987         * math/s_clog10.c (__clog10): Likewise.
64988         * math/s_clog10f.c (__clog10f): Likewise.
64989         * math/s_clog10l.c (__clog10l): Likewise.
64990         * math/s_clogf.c (__clogf): Likewise.
64991         * math/s_clogl.c (__clogl): Likewise.
64992         * math/libm-test.inc (clog_test): Add more tests.
64993         (clog10_test): Likewise.
64994         * sysdeps/i386/fpu/libm-test-ulps: Update.
64995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64997 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64999         [BZ #14283]
65000         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65001         by 7 not 8 to examine high bit of fractional part.
65003         [BZ #14042]
65004         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65005         for call to __mcount_internal.
65006         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65007         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65008         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65010 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65012         [BZ #14154]
65013         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65014         approximation for values within 0x1p-13f of an odd multiple of
65015         pi/4.
65016         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65017         exception.  Add more tests.
65018         * sysdeps/i386/fpu/libm-test-ulps: Update.
65020         [BZ #6778]
65021         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65022         inputs and return -1 for them.  Do not check for +Inf in case not
65023         reachable for +Inf.
65024         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65025         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65026         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65027         and return -1 for them.  Do not check for +Inf in case not
65028         reachable for +Inf.
65029         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65030         define.
65031         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65032         and return -1 for them.  Do not check for +Inf in case not
65033         reachable for +Inf.
65034         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65035         spurious underflow.
65036         * sysdeps/i386/fpu/libm-test-ulps: Update.
65037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65039 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65041         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65043 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65045         [BZ #14157]
65046         [BZ #14331]
65047         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65048         could result in spurious underflow.  Scale down values above
65049         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65050         * math/s_csqrtf.c (__csqrtf): Likewise.
65051         * math/s_csqrtl.c (__csqrtl): Likewise.
65052         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65053         spurious underflow.
65054         * sysdeps/i386/fpu/libm-test-ulps: Update.
65055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65057 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65059         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65060         xopen-msg.sed.
65061         * catgets/xopen-msg.awk: New file.
65062         * catgets/xopen-msg.sed: Removed.
65064         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65065         po2text.sed.
65066         * intl/po2test.awk: New file.
65067         * intl/po2test.sed: Removed.
65069 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65071         [BZ #14328]
65072         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65073         or multiply small sinh result by itself.
65074         * math/s_ctanf.c (__ctanf): Likewise.
65075         * math/s_ctanh.c (__ctanh): Likewise.
65076         * math/s_ctanhf.c (__ctanhf): Likewise.
65077         * math/s_ctanhl.c (__ctanhl): Likewise.
65078         * math/s_ctanl.c (__ctanl): Likewise.
65079         * math/libm-test.inc (ctan_test_tonearest): New function.
65080         (ctan_test_towardzero): Likewise.
65081         (ctan_test_downward): Likewise.
65082         (ctan_test_upward): Likewise.
65083         (ctanh_test_tonearest): Likewise.
65084         (ctanh_test_towardzero): Likewise.
65085         (ctanh_test_downward): Likewise.
65086         (ctanh_test_upward): Likewise.
65087         (main): Call these new functions.
65088         * sysdeps/i386/fpu/libm-test-ulps: Update.
65089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65091 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65093         * .gitignore: Delete /ports entry.
65095 2012-07-03  Andreas Jaeger  <aj@suse.de>
65097         * po/bg.po: Update from translation team.
65098         * po/cs.po: Likewise.
65099         * po/de.po: Likewise.
65100         * po/hr.po: Likewise.
65101         * po/nl.pl: Likewise.
65102         * po/pl.po: Likewise.
65103         * po/vi.po: Likewise.
65105 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65107         * Makeconfig [!+link] (+link-before-libc): New variable.
65108         [!+link] (+link-after-libc): Likewise.
65109         [!+link] (+link-tests): Likewise.
65110         [!+link] (+link): Define in terms of $(+link-before-libc) and
65111         $(+link-after-libc).
65112         [!+link-static] (+link-static-before-libc): New variable.
65113         [!+link-static] (+link-static-after-libc): Likewise.
65114         [!+link-static] (+link-static-tests): Likewise.
65115         [!+link-static] (+link-static): Define in terms of
65116         $(+link-static-before-libc) and $(+link-static-after-libc).
65117         [build-shared] (link-libc-before-gnulib): New variable.
65118         [build-shared] (link-libc-tests): Likewise.
65119         [build-shared] (link-libc): Define in terms of
65120         $(link-libc-before-gnulib).
65121         [!build-shared] (link-libc-tests): New variable.
65122         (link-libc-static-tests): New variable.
65123         [!gnulib] (gnulib-arch): New variable.
65124         [!gnulib] (gnulib-tests): Likewise.
65125         [!gnulib] (static-gnulib-arch): Likewise.
65126         [!gnulib] (static-gnulib-tests): Likewise.
65127         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65128         Define with "=" instead of ":=".
65129         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65130         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65131         * Rules (binaries-all-notests): New variable.
65132         (binaries-all-tests): Likewise.
65133         (binaries-static-notests): Likewise.
65134         (binaries-static-tests): Likewise.
65135         (binaries-all): Define using $(binaries-all-notests) and
65136         $(binaries-all-tests).
65137         (binaries-static): Define using $(binaries-static-notests) and
65138         $(binaries-static-tests).
65139         (binaries-shared-tests): New variable.
65140         (binaries-shared-notests): Likewise.
65141         (binaries-shared): Remove variable.
65142         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65143         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65144         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65145         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65146         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65147         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65148         * elf/Makefile (sln-modules): New variable.
65149         (extra-objs): Add $(sln-modules:=.o).
65150         (ldconfig-modules): Add static-stubs.
65151         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65152         * elf/static-stubs.c: New file.
65154         [BZ #14283]
65155         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65156         by 7 not 8 to examine high bit of fractional part.  Use volatile
65157         variables when splitting into final array of floats if
65158         __FLT_EVAL_METHOD__ != 0.
65159         * math/libm-test.inc (cos_test): Add another test.
65160         (sin_test): Likewise.
65161         * sysdeps/i386/fpu/libm-test-ulps: Update.
65163         [BZ #14273]
65164         * math/libm-test.inc (cosh_test): Add more tests.
65166         * version.h (RELEASE): Set to "development".
65167         (VERSION): Set to "2.16.90".
65169 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65171         * NEWS: Update copyright. Remove last-updated date.
65172         Mention math library bug fixes and timezone data changes.
65173         * README: Mention GNU/Hurd, x32, and HPPA support status.
65175 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65177         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65179 2012-06-27  Andreas Jaeger  <aj@suse.de>
65181         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65183 2012-06-25  Andreas Jaeger  <aj@suse.de>
65185         * sysdeps/s390/fpu/libm-test-ulps: Update.
65187 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65188             Thomas Schwinge  <thomas@codesourcery.com>
65190         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65191         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65193         fanotify_mark.
65195 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65197         * sysdeps/mach/start.c: Remove file.
65198         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65199         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65200         * sysdeps/sh/init-first.c: Likewise.
65202         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65203         registers for frame unwinding purposes, add CFI directives.
65204         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65205         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65206         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65207         Likewise.
65209         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65210         __fortify_fail returning.
65211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65213         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65214         sysdeps/sh/____longjmp_chk.S.
65215         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65216         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65217         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65218         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65220         * sysdeps/sh/abort-instr.h: New file.
65221         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65222         process in case exit returns.
65224         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65225         initialize the GOT register before use.
65227         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65228         calculation of ARGC > 4.
65230         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65231         meaningful names to some local labels.
65233 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65234             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65236         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65237         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65238         (__arch_compare_and_exchange_val_16_acq): Likewise.
65239         (__arch_compare_and_exchange_val_32_acq): Likewise.
65240         (atomic_exchange_and_add): Fix gUSA sequence.
65241         (atomic_add): Likewise.
65242         (atomic_add_negative): Likewise.
65243         (atomic_add_zero): Likewise.
65244         (atomic_bit_test_set): Likewise.
65246 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65248         [BZ #13579]
65249         * include/link.h (struct link_map): Add l_free_initfini.
65250         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65251         l_initfini.
65252         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65253         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65254         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65255         set.
65257 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65259         * configure.in: Use AC_LANG_SOURCE.
65260         * configure: Regenerate.
65262 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65264         * configure.in (libc_cv_localstatedir): New substituted variable.
65265         * configure: Regenerated.
65266         * config.make.in (localstatedir): New variable, substituted from
65267         libc_cv_localstatedir.
65268         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65269         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65270         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65271         * sysdeps/gnu/configure: Regenerated.
65273 2012-06-21  Jeff Law  <law@redhat.com>
65275         [BZ #14277]
65276         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65277         free.  Simplify list management for _LIBC case.
65279 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65281         [BZ #14273]
65282         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65283         Clear sign bit of 64-bit integer value before comparing against
65284         overflow value.
65286         * sysdeps/mach/configure: Regenerated.
65288 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65290         [BZ #14278]
65291         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65293 2012-06-21  Jeff Law  <law@redhat.com>
65295         [BZ #13882]
65296         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65297         uint16_t for elements in the "seen" array to avoid char overflows.
65298         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65299         * elf/dl-open.c (dl_open_worker): Likewise.
65301 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65303         * scripts/list-sources.sh: Scan PORTS for translations.
65304         * po/libc.pot: Regenerated.
65306 2012-06-21  Andreas Jaeger  <aj@suse.de>
65308         [BZ #12194]
65309         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65310         warning.
65311         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65312         * bits/byteswap-16.h (__bswap_16): Likewise.
65313         * bits/byteswap.h (__bswap_constant_16): Likewise.
65315 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65317         [BZ #14117]
65318         * sysdeps/i386/fpu_control.h: Removed.
65319         * sysdeps/x86_64/fpu_control.h: Moved to ...
65320         * sysdeps/x86/fpu_control.h: Here.
65322         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65323         (_FPU_SETCW): Likewise.
65325 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65327         [BZ #14117]
65328         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65329         * sysdeps/x86/fpu/bits/mathinline.h: This.
65330         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65332         [BZ #14050]
65333         [BZ #14117]
65334         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65335         functions if __x86_64__ is defined.
65337 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65339         * string/endian.h: Add !__ASSEMBLER__ condition for including
65340         conversion interfaces.
65342 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65344         [BZ #14241]
65345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65346         of ABS(x) in calculating zero to negative powers other than odd
65347         integers.
65348         * math/libm-test.inc (pow_test): Add more tests.
65350 2012-06-15  Andreas Jaeger  <aj@suse.de>
65352         * manual/contrib.texi (Contributors): Update entry of Liubov
65353         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65354         Machado Filho.
65356 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65358         * string/string.h: Add __wur to GNU version of strerror_r.
65360 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65362         [BZ #14229]
65363         * string/Makefile (tests): Add tst-strtok_r.
65364         * string/tst-strtok_r.c: New file.
65365         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65366         RAX_LP/RDX_LP on SAVE_PTR.
65368 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65370         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65372 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65374         * libm_test.inc (csqrt_test): Allow more spurious underflow
65375         exceptions.
65376         (j0_test): Likewise.
65377         (j1_test): Likewise.
65378         (y0_test): Likewise.
65379         (y1_test): Likewise.
65381 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65383         * po/Makefile (libc.pot): Use UTF-8 charset.
65385 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65387         [BZ #14210]
65388         Suppress sign-conversion warning from FD_SET.
65389         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65390         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65391         not unsigned long int.
65392         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65394 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65396         [BZ #14050]
65397         [BZ #14117]
65398         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65399         __extern_always_inline instead of __extern_inline.
65400         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65401         (__signbit): Likewise.
65402         (__signbitl): Support C++ namespace.
65403         (lrintf): New inline function.
65404         (lrint): Likewise.
65405         (llrintf): Likewise.
65406         (llrint): Likewise.
65407         (fmaxf): Likewise.
65408         (fmax): Likewise.
65409         (fminf): Likewise.
65410         (fmin): Likewise.
65411         (rint): Likewise.
65412         (rintf): Likewise.
65413         (ceil): Likewise.
65414         (ceilf): Likewise.
65415         (floor): Likewise.
65416         (floorf): Likewise.
65417         (nearbyint): Likewise.
65418         (nearbyintf): Likewise.
65420 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65422         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65423         non-default versions.
65425 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65427         [BZ #14218]
65428         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65430 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65432         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65433         (FE_UPWARD, FE_DOWNWARD): Don't define.
65434         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65435         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65437         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65438         reading it.
65439         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65440         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65442 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65444         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65446         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65447         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65449 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65451         [BZ #14117]
65452         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65453         * sysdeps/i386/fpu/Implies: New file.
65454         * sysdeps/x86_64/fpu/Implies: Likewise.
65455         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65456         * sysdeps/x86/fpu/bits/fenv.h: This.
65458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65459         __SSE_MATH__.
65461 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65463         [BZ #14134]
65464         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65465         character 0xffff that matches the last element of the
65466         conversion table.
65468 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65470         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65471         fmodl commit.
65473 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65476         values higher than 25.6283.
65478 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65480         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65481         subnormal exponent extraction and add some __builtin_expect.
65482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65483         Fix for subnormal mantissa calculation.
65485 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65487         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65488         cpu2 is -1 and errno is not ENOSYS.
65490 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65492         [BZ #14117]
65493         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65494         * sysdeps/x86/bits/string.h: This.
65495         * sysdeps/x86_64/bits/string.h: Removed.
65497         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65498         if not compiling for x86-64, but compiling for >= i486.
65500         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65501         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65504         New macro from Linux kernel 3.4.0.
65505         (FP_XSTATE_MAGIC2): Likewise.
65506         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65507         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65508         (struct _fpx_sw_bytes): New struct.
65509         (struct _xsave_hdr): Likewise.
65510         (struct _ymmh_state): Likewise.
65511         (struct _xstate): Likewise.
65513         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65514         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65515         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65516         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65517         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65518         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65520         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65521         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65522         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65523         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65524         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65525         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65527 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65529         [BZ #13743]
65530         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65531         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65532         (sysdep_headers): Include sys/platform/ppc.h.
65533         * sysdeps/powerpc/test-gettimebase.c: Test for
65534         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65535         * manual/Makefile (appendices): Include platform.texi.
65536         * manual/contrib.texi (Contributors): Update @node pointers.
65537         * manual/maint.texi (Maintenance): Likewise.
65538         (Platform): New node.
65539         * manual/platform.texi: New file.  Document the new features.
65541 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65542             Jakub Jelinek  <jakub@redhat.com>
65544         [BZ #14188]
65545         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65546         where __builtin_expect is unavailable.
65548 2012-06-03  David S. Miller  <davem@davemloft.net>
65550         * stdlib/longlong.h: Updated from GCC.
65552 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65554         [BZ #14042]
65555         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65556         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65557         __mcount_internal.
65558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65559         (GLIBC_2.16): Likewise.
65561 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65563         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65565 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65568         (default-abi): New variable.
65569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65570         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65571         variable.
65572         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65573         Likewise.
65574         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65575         Likewise.
65576         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65577         Likewise.
65579         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65580         definition.  Document in comment.
65582 2012-06-01  David S. Miller  <davem@davemloft.net>
65584         * stdlib/longlong.h: Updated from GCC.
65586 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65588         [BZ #14117]
65589         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65590         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65591         sys/debugreg.h sys/io.h here.
65592         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65593         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65594         sys/io.h.
65595         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65596         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65597         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65598         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65599         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65600         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65602         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65603         Define only if __x86_64__ is defined.
65605 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65607         [BZ #14048]
65608         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65609         Use int64_t for variable i.
65610         * math/libm-test.inc (fmod_test): Add more tests.
65612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65613         z computation is not scheduled after fetestexcept.
65614         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65615         Use math_force_eval instead of asm to ensure calculation scheduled
65616         before exception test.
65617         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65618         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65620 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65623         computation is not scheduled after fetestexcept.
65625 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65627         [BZ #14117]
65628         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65629         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65631 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65633         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65634         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65636 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65638         [BZ #14117]
65639         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65640         <bits/wordsize.h>.
65641         (__WCHAR_MIN): Support __WORDSIZE == 64.
65642         (__WCHAR_MAX): Likewise.
65644         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65647         [BZ #14183]
65648         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65649         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65651         [BZ #14117]
65652         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65653         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65655         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65656         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65658         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65659         Defined to 1 if __x86_64__ isn't defined.
65660         (_STAT_VER_LINUX_OLD): New.
65661         (st_atime): Remove duplicate.
65662         (st_mtime): Likewise.
65663         (st_ctime): Likewise.
65665 2012-05-31  David S. Miller  <davem@davemloft.net>
65667         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65668         entries.
65670 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65672         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65673         gen-libm-test.pl.
65675         [BZ #14132]
65676         * elf/dl-reloc.c: Include <_itoa.h>.
65677         (_dl_reloc_bad_type): Remove use of INTUSE.
65678         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65679         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65680         * stdio-common/psiginfo.c (psiginfo): Likewise.
65681         * stdio-common/psignal.c (psignal): Likewise.
65682         * string/strsignal.c (strsignal): Likewise.
65683         * include/signal.h (_sys_siglist): Declare hidden proto.
65684         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65685         INTVARDEF with libc_hidden_data_def.
65686         * stdio-common/itoa-udigits.c: Likewise.
65687         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65688         (_itoa_lower_digits_internal): Remove declaration.
65689         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65690         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65691         (_sys_sigabbrev_internal): Remove aliases.
65692         (_sys_siglist): Define hidden alias.
65694 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65696         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65697         bits/sysctl.h.
65699 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65701         [BZ #14117]
65702         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65703         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65705         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65706         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65707         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65708         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65709         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65710         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65712         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65713         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65714         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65716         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65717         with __addr.
65718         (insw): Likewise.
65719         (insl): Likewise.
65720         (outsb): Likewise.
65721         (outsw): Likewise.
65722         (outsl): Likewise.
65724         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65725         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65726         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65728         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65729         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65730         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65731         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65732         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65733         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65735         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65736         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65738         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65739         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65743         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65745         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65746         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65747         to ...
65748         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65750         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65751         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65752         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65754         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65755         for x86-64.
65756         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65758 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65760         * math/math.h (M_El): Use two more decimal places.
65761         (M_LOG2El): Likewise.
65762         (M_LOG10El): Likewise.
65763         (M_LN2l): Likewise.
65764         (M_LN10l): Likewise.
65765         (M_PIl): Likewise.
65766         (M_PI_2l): Likewise.
65767         (M_PI_4l): Likewise.
65768         (M_1_PIl): Likewise.
65769         (M_2_PIl): Likewise.
65770         (M_2_SQRTPIl): Likewise.
65771         (M_SQRT2l): Likewise.
65772         (M_SQRT1_2l): Likewise.
65774 2012-05-31  David S. Miller  <davem@davemloft.net>
65776         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65777         values between float registers.
65778         * sysdeps/sparc/sparc64/memset.S: Likewise.
65779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65781 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65783         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65784         -D_FORTIFY_SOURCE=1.
65785         (CPPFLAGS-tst-longjmp_chk.c): Define.
65786         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65787         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65788         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65789         CFLAGS-tst-wchar-h.c.
65791 2012-05-31  Marek Polacek  <polacek@redhat.com>
65793         [BZ #14132]
65794         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65795         __endmntent_internal): Remove declaration.
65796         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65797         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65798         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65800 2012-05-30  David S. Miller  <davem@davemloft.net>
65802         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65803         (___Q_simulate_exceptions): Use real FP ops rather than writing
65804         into the %fsr.
65805         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65806         Likewise.
65808 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65810         [BZ #14117]
65811         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65812         * sysdeps/x86/bits/xtitypes.h: This.
65814         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65815         * sysdeps/x86/bits/wordsize.h: This.
65817         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65818         * sysdeps/x86/bits/huge_vall.h: This.
65820         * sysdeps/i386/bits/select.h: Removed.
65821         * sysdeps/x86_64/bits/select.h: Renamed to ...
65822         * sysdeps/x86/bits/select.h: This.
65824         * sysdeps/i386/bits/setjmp.h: Removed.
65825         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65826         * sysdeps/x86/bits/setjmp.h: This.
65828         * sysdeps/i386/bits/mathdef.h: Removed.
65829         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65830         * sysdeps/x86/bits/mathdef.h: This.
65832 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65834         [BZ #14132]
65835         * include/sys/socket.h (__connect_internal)
65836         (__libc_sa_len_internal): Remove declaration.
65837         (__connect, __libc_sa_len): Declare hidden_proto.
65838         (SA_LEN): Remove use of INTUSE.
65839         * socket/connect.c: Add libc_hidden_def.
65840         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65841         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65842         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65843         alias.
65844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65845         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65846         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65847         of adding _internal alias.
65849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65851         [BZ #14117]
65852         * sysdeps/i386/bits/link.h: Removed.
65853         * sysdeps/i386/bits/linkmap.h: Likewise.
65854         * sysdeps/x86_64/bits/link.h: Renamed to ...
65855         * sysdeps/x86/bits/link.h: This.
65856         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65857         * sysdeps/x86/bits/linkmap.h: This.
65859         * sysdeps/i386/bits/endian.h: Removed.
65860         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65861         * sysdeps/x86/bits/endian.h: This.
65863         * sysdeps/i386/bits/byteswap.h: Removed.
65864         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65865         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65866         * sysdeps/x86/bits/byteswap.h: This.
65867         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65868         * sysdeps/x86/bits/byteswap-16.h: This.
65869         * sysdeps/i386/Implies: Add x86.
65870         * sysdeps/x86_64/Implies: Likewise.
65872 2012-05-30  David S. Miller  <davem@davemloft.net>
65874         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65875         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65877         (FP_TRAPPING_EXCEPTIONS): Define.
65878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65879         (FP_TRAPPING_EXCEPTIONS): Define.
65880         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65881         subnormals only when inexact has been signalled or underflow
65882         exceptions are enabled.
65883         (_FP_PACK_CANONICAL): Likewise.
65885 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65887         [BZ #14183]
65888         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65889         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65891 2012-05-30  Richard Henderson  <rth@twiddle.net>
65893         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65894         with #ifndef NOT_IN_libc.
65896         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65897         marked to avoid plt entry.
65899 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65901         [BZ #14112]
65902         * Makeconfig (default-abi): New macro.
65903         (abi-includes): Likewise.
65904         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65905         $(abi-$(default-abi)-lib-soname) for soname if defined.
65906         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65907         abi-variants.
65908         * Makefile (installed-stubs): Likewise.
65909         * include/stubs-biarch.h: Removed.
65910         * scripts/lib-names.awk: Only handle one library at a time.
65911         * scripts/soversions.awk: Remove WORDSIZE support.
65912         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65913         entries.
65914         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65915         Removed.
65916         (syscall-list-default-condition): Likewise.
65917         (syscall-list-default-condition): Likewise.
65918         (syscall-list-includes): Likewise.
65919         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65920         syscall-list-* with abi-*.  Handle undefined abi-variants.
65921         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65922         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65923         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65924         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65925         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65926         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65927         Removed.
65928         (syscall-list-32-options): Likewise.
65929         (syscall-list-32-condition): Likewise.
65930         (syscall-list-64-options): Likewise.
65931         (syscall-list-64-condition): Likewise.
65932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65933         macro.
65934         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65935         Renamed to ...
65936         (abi-*): This.
65937         (abi-64-ld-soname): New macro.
65938         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65939         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65940         Renamed to ...
65941         (abi-*): This.
65942         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65943         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65945 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65947         * sysdeps/unix/sysv/linux/kernel-features.h
65948         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65949         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65950         include <kernel-features.h>.
65951         [!__NR_ftruncate64]: Remove conditional code.
65952         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65953         [__NR_ftruncate64]: Make code unconditional.
65954         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65955         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65956         include <kernel-features.h>.
65957         [!__NR_ftruncate64]: Remove conditional code.
65958         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65959         [__NR_ftruncate64]: Make code unconditional.
65960         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65962         include <kernel-features.h>.
65963         [!__NR_ftruncate64]: Remove conditional code.
65964         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65965         [__NR_ftruncate64]: Make code unconditional.
65966         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65968         include <kernel-features.h>.
65969         [!__NR_ftruncate64]: Remove conditional code.
65970         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65971         [__NR_ftruncate64]: Make code unconditional.
65972         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65974         * configure.in (libc_cv_fpie): Weaken to a compile test using
65975         LIBC_TRY_CC_OPTION.
65976         * configure: Regenerated.
65978 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65984         Refreshed.
65985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65991         Refreshed.
65993 2012-05-27  David S. Miller  <davem@davemloft.net>
65995         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65996         (___Q_zero): New.
65997         (__Q_simulate_exceptions): Return void.  Change to simulate
65998         exceptions by writing into the %fsr.
65999         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66000         (__Qp_handle_exceptions): Likewise.
66001         (numbers): Delete.
66002         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66003         __Qp_handle_exceptions.
66004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66005         __Qp_handle_exceptions.
66006         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66007         as unused and give dummy FP_RND_NEAREST initializer.
66008         (FP_INHIBIT_RESULTS): Define.
66009         (___Q_simulate_exceptions): Update declaration.
66010         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66011         formatting.
66012         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66013         as unused and give dummy FP_RND_NEAREST initializer.
66014         (__Qp_handle_exceptions): Update declaration.
66015         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66016         formatting.
66018 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66020         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66021         the temporary FPU control word.
66022         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66023         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66024         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66025         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66026         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66027         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66028         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66029         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66030         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66031         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66032         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66034 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66036         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66037         fields.
66039 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66041         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66042         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66043         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66044         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66045         Likewise.
66046         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66047         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66048         Likewise.
66050 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66052         * po/h.po: Update from translation team.
66054 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66056         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66058         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66059         handling of denormals.
66060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66061         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66062         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66063         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66067         Likewise.
66069 2012-05-26  Marek Polacek  <polacek@redhat.com>
66071         [BZ #14152]
66072         * math/libm-test.inc (fma_test): Don't always expect underflow
66073         exception.
66075 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66077         [BZ #12416]
66078         * elf/tst-execstack.c: Include stackinfo.h.
66079         (do_test): Adjust test case to ensure that pthread_getattr_np
66080         behaviour remains the same after marking stack executable.
66082 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66084         * sysdeps/unix/sysv/linux/kernel-features.h
66085         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66086         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66087         kernel-features.h.
66088         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66089         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66090         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66091         kernel-features.h.
66092         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66093         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66095 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66097         * configure.in: Define the default includes to being none.
66098         * configure: Regenerated.
66100 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66102         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66103         * sysdeps/x86_64/setjmp.S: Likewise.
66104         * sysdeps/i386/bsd-setjmp.S: Likewise.
66105         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66106         * sysdeps/i386/setjmp.S: Likewise.
66107         * sysdeps/i386/__longjmp.S: Likewise.
66108         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66109         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66111         * include/stap-probe.h: New file.
66112         * configure.in: Handle --enable-systemtap.
66113         * configure: Regenerated.
66114         * config.h.in (USE_STAP_PROBE): New #undef.
66115         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66116         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66117         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66119 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #13717]
66122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66123         to 2.4.0 where earlier.
66124         * sysdeps/unix/sysv/linux/configure: Regenerated.
66125         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66126         <kernel-features.h>.
66127         [__ASSUME_32BITUIDS]: Make code unconditional.
66128         [!__ASSUME_32BITUIDS]: Remove conditional code.
66129         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66130         <kernel-features.h>.
66131         [__ASSUME_32BITUIDS]: Make code unconditional.
66132         [!__ASSUME_32BITUIDS]: Remove conditional code.
66133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66134         [__ASSUME_32BITUIDS]: Make code unconditional.
66135         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66136         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66137         <kernel-features.h>.
66138         [__ASSUME_32BITUIDS]: Make code unconditional.
66139         [!__ASSUME_32BITUIDS]: Remove conditional code.
66140         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66141         <kernel-features.h>.
66142         [__ASSUME_32BITUIDS]: Make code unconditional.
66143         [!__ASSUME_32BITUIDS]: Remove conditional code.
66144         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66145         <kernel-features.h>.
66146         [__ASSUME_32BITUIDS]: Make code unconditional.
66147         [!__ASSUME_32BITUIDS]: Remove conditional code.
66148         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66149         <kernel-features.h>.
66150         [__ASSUME_32BITUIDS]: Make code unconditional.
66151         [!__ASSUME_32BITUIDS]: Remove conditional code.
66152         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66153         <kernel-features.h>.
66154         [__ASSUME_32BITUIDS]: Make code unconditional.
66155         [!__ASSUME_32BITUIDS]: Remove conditional code.
66156         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66157         <kernel-features.h>.
66158         [__ASSUME_32BITUIDS]: Make code unconditional.
66159         [!__ASSUME_32BITUIDS]: Remove conditional code.
66160         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66161         <kernel-features.h>.
66162         [__ASSUME_32BITUIDS]: Make code unconditional.
66163         [!__ASSUME_32BITUIDS]: Remove conditional code.
66164         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66165         <kernel-features.h>.
66166         [__ASSUME_32BITUIDS]: Make code unconditional.
66167         [!__ASSUME_32BITUIDS]: Remove conditional code.
66168         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66169         <kernel-features.h>.
66170         [__ASSUME_32BITUIDS]: Make code unconditional.
66171         [!__ASSUME_32BITUIDS]: Remove conditional code.
66172         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66173         <kernel-features.h>.
66174         [__ASSUME_32BITUIDS]: Make code unconditional.
66175         [!__ASSUME_32BITUIDS]: Remove conditional code.
66176         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66177         <kernel-features.h>.
66178         [__NR_setresgid] (__setresgid): Do not declare.
66179         [__ASSUME_32BITUIDS]: Make code unconditional.
66180         [!__ASSUME_32BITUIDS]: Remove conditional code.
66181         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66182         <kernel-features.h>.
66183         [__NR_setresuid] (__setresuid): Do not declare.
66184         [__ASSUME_32BITUIDS]: Make code unconditional.
66185         [!__ASSUME_32BITUIDS]: Remove conditional code.
66186         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66187         <kernel-features.h>.
66188         [__ASSUME_32BITUIDS]: Make code unconditional.
66189         [!__ASSUME_32BITUIDS]: Remove conditional code.
66190         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66191         <kernel-features.h>.
66192         [__ASSUME_32BITUIDS]: Make code unconditional.
66193         [!__ASSUME_32BITUIDS]: Remove conditional code.
66194         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66195         <kernel-features.h>.
66196         [__ASSUME_32BITUIDS]: Make code unconditional.
66197         [!__ASSUME_32BITUIDS]: Remove conditional code.
66198         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66199         <kernel-features.h>.
66200         [__ASSUME_32BITUIDS]: Make code unconditional.
66201         [!__ASSUME_32BITUIDS]: Remove conditional code.
66202         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66203         <kernel-features.h>.
66204         [__ASSUME_32BITUIDS]: Make code unconditional.
66205         [!__ASSUME_32BITUIDS]: Remove conditional code.
66206         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66207         <kernel-features.h>.
66208         [__ASSUME_32BITUIDS]: Make code unconditional.
66209         [!__ASSUME_32BITUIDS]: Remove conditional code.
66210         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66211         <kernel-features.h>.
66212         [__ASSUME_32BITUIDS]: Make code unconditional.
66213         [!__ASSUME_32BITUIDS]: Remove conditional code.
66214         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66215         <kernel-features.h>.
66216         [__ASSUME_32BITUIDS]: Make code unconditional.
66217         [!__ASSUME_32BITUIDS]: Remove conditional code.
66218         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66219         <kernel-features.h>.
66220         [__ASSUME_32BITUIDS]: Make code unconditional.
66221         [!__ASSUME_32BITUIDS]: Remove conditional code.
66222         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66223         <kernel-features.h>.
66224         [__ASSUME_32BITUIDS]: Make code unconditional.
66225         [!__ASSUME_32BITUIDS]: Remove conditional code.
66226         * sysdeps/unix/sysv/linux/kernel-features.h
66227         (__ASSUME_SETRESUID_SYSCALL): Remove.
66228         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66229         (__ASSUME_32BITUIDS): Likewise.
66230         (__ASSUME_LDT_WORKS): Likewise.
66231         (__ASSUME_O_DIRECTORY): Likewise.
66232         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66233         architecture but not kernel version.
66234         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66235         (__ASSUME_MMAP2_SYSCALL): Likewise.
66236         (__ASSUME_STAT64_SYSCALL): Likewise.
66237         (__ASSUME_IPC64): Likewise.
66238         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66239         <kernel-features.h>.
66240         [__ASSUME_32BITUIDS]: Make code unconditional.
66241         [!__ASSUME_32BITUIDS]: Remove conditional code.
66242         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66243         <kernel-features.h>.
66244         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66245         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66246         132096]: Remove conditional code.
66247         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66248         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66249         <kernel-features.h>.
66250         [__ASSUME_32BITUIDS]: Make code unconditional.
66251         [!__ASSUME_32BITUIDS]: Remove conditional code.
66252         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66253         <kernel-features.h>.
66254         [__ASSUME_32BITUIDS]: Make code unconditional.
66255         [!__ASSUME_32BITUIDS]: Remove conditional code.
66256         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66257         <kernel-features.h>.
66258         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66259         unconditional.
66260         (__setresgid): Do not declare.
66261         [__ASSUME_32BITUIDS]: Make code unconditional.
66262         [!__ASSUME_32BITUIDS]: Remove conditional code.
66263         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66264         <kernel-features.h>.
66265         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66266         unconditional.
66267         (__setresuid): Do not declare.
66268         [__ASSUME_32BITUIDS]: Make code unconditional.
66269         [!__ASSUME_32BITUIDS]: Remove conditional code.
66270         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66271         <kernel-features.h>.
66272         [__ASSUME_32BITUIDS]: Make code unconditional.
66273         [!__ASSUME_32BITUIDS]: Remove conditional code.
66274         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66275         <kernel-features.h>.
66276         [__ASSUME_32BITUIDS]: Make code unconditional.
66277         [!__ASSUME_32BITUIDS]: Remove conditional code.
66279 2012-05-25  Richard Henderson  <rth@twiddle.net>
66281         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66282         dl_hwcap to ifunc resolver.
66283         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66284         elf_ifunc_invoke.
66285         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66286         dl_hwcap to ifunc resolver.
66287         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66289 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66291         [BZ #14153]
66292         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66293         for |x| <= 2**-26, not 2**-57.
66294         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66295         exception.
66297 2012-05-24  Jeff Law  <law@redhat.com>
66299         * stdio-common/Makefile (tests): Add bug25.
66300         * stdio-common/bug25.c: New test.
66302 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66304         [BZ #13576]
66305         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66306         multiple of MALLOC_ALIGNMENT in size.
66307         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66309 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66311         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66312         Require >= 256.
66313         (FILENAME_MAX): Use macro-int-constant.
66314         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66315         (_IOFBF): Use macro-int-constant.
66316         (_IOLBF): Likewise.
66317         (_IONBF): Likewise.
66318         (SEEK_CUR): Likewise.
66319         (SEEK_END): Likewise.
66320         (SEEK_SET): Likewise.
66321         (TMP_MAX): Likewise.
66322         (EOF): Use macro-int-constant.  Require < 0.
66323         (NULL): Use macro-constant.  Require == 0.
66324         (stdin): Require type to be FILE *.
66325         (stdout): Likewise.
66326         (stderr): Likewise.
66327         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66328         macro-int-constant.
66329         (EXIT_SUCCESS): Likewise.
66330         (NULL): Use macro-constant.  Require == 0.
66331         (RAND_MAX): Use macro-int-constant.
66332         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66333         [C99-based standards] (strtof): Require function.
66334         [C99-based standards] (strtold): Likewise.
66335         [C99-based standards] (strtoll): Likewise.
66336         [C99-based standards] (strtoull): Likewise.
66337         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66338         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66339         [ISO || ISO99 || ISO11] (math.h): Likewise.
66340         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66341         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66344 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66346         [BZ #14132]
66347         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66348         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66349         * intl/dgettext.c (DCGETTEXT): Likewise.
66350         * intl/gettext.c (DCGETTEXT): Likewise.
66351         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66352         * posix/regex_internal.h (gettext): Likewise.
66353         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66354         Remove declaration.
66355         * include/argz.h (__argz_count_internal)
66356         (__argz_stringify_internal): Remove declaration.
66357         (__argz_count, __argz_stringify): Declare hidden proto.
66358         * intl/dcgettext.c: Remove use of INTDEF.
66359         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66360         * string/argz-stringify.c: Likewise.
66361         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66362         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66363         Declare hidden proto.
66364         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66365         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66366         Declare hidden proto.
66367         * include/stdio.h (__asprintf_internal): Don't declare.
66368         (__asprintf): Don't define as macro.  Declare hidden proto.
66369         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66370         (__fsetlocking): Declare hidden proto.
66371         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66372         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66373         hidden proto.
66374         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66375         (_IO_setlinebuf): Remove use of INTUSE.
66376         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66377         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66378         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66379         Remove declaration.
66380         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66381         (_IO_do_flush): Remove use of INTUSE.
66382         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66383         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66384         (_IO_adjust_column, _IO_least_wmarker)
66385         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66386         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66387         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66388         (_IO_default_doallocate, _IO_wdefault_doallocate)
66389         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66390         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66391         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66392         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66393         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66394         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66395         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66396         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66397         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66398         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66399         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66400         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66401         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66402         proto.
66403         (_IO_flush_all_internal, _IO_adjust_column_internal)
66404         (_IO_default_uflow_internal, _IO_default_finish_internal)
66405         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66406         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66407         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66408         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66409         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66410         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66411         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66412         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66413         (_IO_file_close_internal, _IO_file_close_it_internal)
66414         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66415         (_IO_file_init_internal, _IO_file_attach_internal)
66416         (_IO_file_fopen_internal, _IO_file_read_internal)
66417         (_IO_file_sync_internal, _IO_file_seek_internal)
66418         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66419         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66420         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66421         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66422         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66423         (_IO_list_all_internal, _IO_link_in_internal)
66424         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66425         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66426         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66427         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66428         (_IO_do_write_internal, _IO_padn_internal)
66429         (_IO_getline_info_internal, _IO_getline_internal)
66430         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66431         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66432         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66433         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66434         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66435         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66436         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66437         with libc_hidden_ver, remove use of INTUSE.
66438         * libio/genops.c: Likewise.
66439         * libio/freopen.c: Likewise.
66440         * libio/freopen64.c: Likewise.
66441         * libio/iofclose.c: Likewise.
66442         * libio/iofdopen.c: Likewise.
66443         * libio/iofflush.c: Likewise.
66444         * libio/iofflush_u.c: Likewise.
66445         * libio/iofgets.c: Likewise.
66446         * libio/iofgets_u.c: Likewise.
66447         * libio/iofopen.c: Likewise.
66448         * libio/iofopncook.c: Likewise.
66449         * libio/iofread.c: Likewise.
66450         * libio/iofread_u.c: Likewise.
66451         * libio/ioftell.c: Likewise.
66452         * libio/iofwrite.c: Likewise.
66453         * libio/iogetline.c: Likewise.
66454         * libio/iogets.c: Likewise.
66455         * libio/iogetwline.c: Likewise.
66456         * libio/iopadn.c: Likewise.
66457         * libio/iopopen.c: Likewise.
66458         * libio/ioseekoff.c: Likewise.
66459         * libio/ioseekpos.c: Likewise.
66460         * libio/iosetbuffer.c: Likewise.
66461         * libio/iosetvbuf.c: Likewise.
66462         * libio/ioungetc.c: Likewise.
66463         * libio/ioungetwc.c: Likewise.
66464         * libio/iovdprintf.c: Likewise.
66465         * libio/iovsprintf.c: Likewise.
66466         * libio/iovsscanf.c: Likewise.
66467         * libio/memstream.c: Likewise.
66468         * libio/obprintf.c: Likewise.
66469         * libio/oldfileops.c: Likewise.
66470         * libio/oldiofclose.c: Likewise.
66471         * libio/oldiofdopen.c: Likewise.
66472         * libio/oldiofopen.c: Likewise.
66473         * libio/oldiopopen.c: Likewise.
66474         * libio/oldstdfiles.c: Likewise.
66475         * libio/putc.c: Likewise.
66476         * libio/setbuf.c: Likewise.
66477         * libio/setlinebuf.c: Likewise.
66478         * libio/stdfiles.c: Likewise.
66479         * libio/strops.c: Likewise.
66480         * libio/vasprintf.c: Likewise.
66481         * libio/vscanf.c: Likewise.
66482         * libio/vsnprintf.c: Likewise.
66483         * libio/vswprintf.c: Likewise.
66484         * libio/wfiledoalloc.c: Likewise.
66485         * libio/wfileops.c: Likewise.
66486         * libio/wgenops.c: Likewise.
66487         * libio/wmemstream.c: Likewise.
66488         * libio/wstrops.c: Likewise.
66489         * libio/__fpurge.c: Likewise.
66490         * libio/__fsetlocking.c: Likewise.
66491         * assert/assert.c: Likewise.
66492         * debug/fgets_chk.c: Likewise.
66493         * debug/fgets_u_chk.c: Likewise.
66494         * debug/fread_chk.c: Likewise.
66495         * debug/fread_u_chk.c: Likewise.
66496         * debug/gets_chk.c: Likewise.
66497         * debug/obprintf_chk.c: Likewise.
66498         * debug/vasprintf_chk.c: Likewise.
66499         * debug/vdprintf_chk.c: Likewise.
66500         * debug/vsnprintf_chk.c: Likewise.
66501         * debug/vsprintf_chk.c: Likewise.
66502         * malloc/mtrace.c: Likewise.
66503         * misc/error.c: Likewise.
66504         * misc/syslog.c: Likewise.
66505         * stdio-common/asprintf.c: Likewise.
66506         * stdio-common/fxprintf.c: Likewise.
66507         * stdio-common/getw.c: Likewise.
66508         * stdio-common/isoc99_fscanf.c: Likewise.
66509         * stdio-common/isoc99_scanf.c: Likewise.
66510         * stdio-common/isoc99_vfscanf.c: Likewise.
66511         * stdio-common/isoc99_vscanf.c: Likewise.
66512         * stdio-common/isoc99_vsscanf.c: Likewise.
66513         * stdio-common/printf-prs.c: Likewise.
66514         * stdio-common/printf_fp.c: Likewise.
66515         * stdio-common/printf_fphex.c: Likewise.
66516         * stdio-common/printf_size.c: Likewise.
66517         * stdio-common/putw.c: Likewise.
66518         * stdio-common/scanf.c: Likewise.
66519         * stdio-common/sprintf.c: Likewise.
66520         * stdio-common/tmpfile.c: Likewise.
66521         * stdio-common/vfprintf.c: Likewise.
66522         * stdio-common/vfscanf.c: Likewise.
66523         * stdlib/strfmon_l.c: Likewise.
66524         * sunrpc/openchild.c: Likewise.
66525         * sunrpc/xdr_stdio.c: Likewise.
66526         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66527         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66529 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66531         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66533         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66534         in the third column, to generate for the shared library an IFUNC
66535         that uses _dl_vdso_vsym.
66536         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66537         * Makeconfig (object-suffixes-noshared): New variable.
66539         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66540         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66541         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66542         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66544         [BZ #14132]
66545         * include/sys/time.h (__gettimeofday): Remove macro.
66546         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66547         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66548         Remove INTDEF.
66549         (__gettimeofday): Add libc_hidden_def.
66550         (gettimeofday): Add libc_hidden_weak.
66551         * sysdeps/mach/gettimeofday.c: Likewise.
66552         * sysdeps/posix/gettimeofday.c: Likewise.
66553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66556         (__gettimeofday_internal): Remove strong_alias.
66557         (__gettimeofday): Add libc_hidden_def.
66558         (gettimeofday): Add libc_hidden_weak.
66559         * sysdeps/unix/syscalls.list (gettimeofday):
66560         Remove __gettimeofday_internal alias.
66562 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66563             H.J. Lu  <hongjiu.lu@intel.com>
66565         [BZ #12495]
66566         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66567         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66568         (largebin_index_32_big): New.
66569         (largebin_index): Use it for 16-byte alignment.
66570         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66571         correction with front_misalign.
66573 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66577         Likewise.
66578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66579         Likewise.
66580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66581         Likewise.
66582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66583         Likewise.
66584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66585         Likewise.
66586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66587         Likewise.
66588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66589         Likewise.
66590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66591         Likewise.
66592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66593         Likewise.
66594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66595         Likewise.
66596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66597         Likewise.
66598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66599         Likewise.
66601         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66602         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66604 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66606         [BZ #10846]
66607         [BZ #14036]
66608         * math/libm-test.inc (exp_test): Add test from bug 14036.
66609         (pow_test): Add test from bug 10846.
66611         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66612         and other flags.
66613         (special_function): Do not include flags in test name.
66614         (parse_args): Likewise.
66615         * sysdeps/i386/fpu/libm-test-ulps: Update.
66616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66617         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66618         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66621         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66622         exceptions.
66623         * math/libm-test.inc ("Philosophy"): Update comment about
66624         exception testing.
66625         (UNDERFLOW_EXCEPTION): New macro.
66626         (UNDERFLOW_EXCEPTION_OK): Likewise.
66627         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66628         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66629         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66630         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66631         (INVALID_EXCEPTION_OK): Update value.
66632         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66633         (OVERFLOW_EXCEPTION_OK): Likewise.
66634         (IGNORE_ZERO_INF_SIGN): Likewise.
66635         (test_exceptions): Handle underflow exceptions.
66636         (acos_test): Update for underflow exception expectations.
66637         (cexp_test): Likewise.
66638         (clog_test): Likewise.
66639         (clog10_test): Likewise.
66640         (csqrt_test): Likewise.
66641         (ctan_test): Likewise.
66642         (ctanh_test): Likewise.
66643         (exp_test): Likewise.
66644         (exp10_test): Likewise.
66645         (exp2_test): Likewise.
66646         (expm1_test): Likewise.
66647         (fma_test): Likewise.
66648         (j0_test): Likewise.
66649         (jn_test): Likewise.
66650         (nexttoward_test): Likewise.
66651         (pow_test): Likewise.
66652         (scalbn_test): Likewise.
66653         (scalbln_test): Likewise.
66654         (tan_test): Likewise.
66655         (y1_test): Likewise.
66656         * sysdeps/i386/fpu/libm-test-ulps: Update.
66657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66659 2012-05-23  David S. Miller  <davem@davemloft.net>
66661         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66662         (__libc_sigaction): Remove unused local variables.
66664 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66666         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66668 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66670         mktime: avoid signed integer overflow
66671         * time/mktime.c (__mktime_internal): Do not mishandle the case
66672         where diff == INT_MIN.
66674         mktime: simplify computation of average
66675         * time/mktime.c (ranged_convert): Use new time_t_avg function
66676         instead of rolling our own (probably-slower) code.
66678         mktime: do not assume signed right shift propagates sign bit
66679         * time/mktime.c (isdst_differ): New static function.
66680         (__mktime_internal): No need to normalize tm_isdst now.
66681         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66682         tm_isdst values.
66684         mktime: merge another wrapv change from gnulib
66685         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66686         from some compilers.
66688         mktime: remove incorrect attempt at unusual arithmetics
66689         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66690         The code didn't really work on such machines anyway.
66691         (TYPE_MINIMUM): Assume two's complement.
66692         (twos_complement_arithmetic): Verify that long_int and time_t
66693         are two's complement (or unsigned, in the latter case).
66695         mktime: check signed shifts on long_int and time_t, too
66696         * time/mktime.c (SHR): Check that shifts work as desired
66697         on the types long_int and time_t too, as SHR is used on
66698         such types.
66700         mktime: do not assume 'long' is wide enough
66701         * time/mktime.c (verify): Move decl up.
66702         (long_int): New type.
66703         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66704         to remove assumption in the code that 'long' is wide enough to
66705         store year values.  This assumption is not true on x32 and on
66706         some non-glibc platforms.
66708         mktime: merge wrapv change from gnulib
66709         * time/mktime.c (WRAPV): New macro.
66710         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66711         (guess_time_tm, __mktime_internal): Do not assume that signed
66712         integer overflow wraps around; modern compilers generate code
66713         where this assumption is no longer valid.
66715 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66717         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66718         Replace "jmp L(pseudo_end)" with "ret".
66719         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66720         Likewise.
66722 2012-05-23  Andreas Jaeger  <aj@suse.de>
66724         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66725         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66727 2012-05-23  Andreas Jaeger  <aj@suse.de>
66728             Maximilian Attems  <max@stro.at>
66730         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66731         New macros.
66733 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66735         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66736         code so that pseudo_end is just ret and the stack pointer is
66737         correct also for static library in error case.
66739 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66741         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66742         move to syscalls.list.
66743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66748         * manual/install.texi (Running make install): Do not mention Linux
66749         kernel version for which pt_chown is not needed.
66750         (Linux): Do not mention problems with nscd with 2.0 kernels.
66751         * INSTALL: Regenerated.
66753 2012-05-23  Andreas Jaeger  <aj@suse.de>
66755         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66756         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66757         macro.
66758         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66760         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66762         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66765         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66766         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66767         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66768         * sysdeps/unix/sysv/linux/bits/in.h
66769         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66771 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66773         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66774         (PREPARE_VERSION): Just use assert instead, it will be elided
66775         under [NDEBUG] anyway.
66777 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66779         * sysdeps/unix/sysv/linux/Makefile: Include
66780         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66781         (sysdep_routines): Remove sysctl.
66782         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66783         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66784         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66785         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66786         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66788 2012-05-22  Andreas Jaeger  <aj@suse.de>
66790         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66791         that pseudo_end is just ret and the stack pointer is correct also
66792         for static library in error case.
66794 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66796         [BZ #14122]
66797         * nss/nsswitch.c (defconfig_entries): New variable.
66798         (__nss_database_lookup): Don't leak defconfig entries.
66799         (nss_parse_service_list): Don't leak on error paths.
66800         (free_database_entries): New function.
66801         (free_defconfig): New function.
66802         (free_mem): Move common code to free_database_entries.
66804 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66806         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66807         Add arch_prctl.
66808         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66810         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66811         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66813         New macro.
66814         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66815         (INTERNAL_SYSCALL_TYPES): Likewise.
66816         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66817         (LOAD_REGS_TYPES_[1-6]): Likewise.
66818         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66819         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66821 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66823         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66824         copysignl for GLIBC_2_0.
66825         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66826         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66828         logbl for GLIBC_2_0.
66829         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66830         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66832 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66834         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66835         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66837         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66838         Use "neg %eax".
66840         * time/mktime.c: Update copyright years.
66842 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66844         mktime: merge comment-quoting-style change from gnulib
66845         * time/mktime.c: Quote 'like this' in comments.
66846         The GNU coding standards suggest that we no longer quote `like this',
66847         as "`" and "'" are typically rendered asymmetrically nowadays.
66848         The typical gnulib style is to quote 'like this' when quoting
66849         code, and "like this" when quoting English.
66851         * time/mktime.c (compile-command): Add "-I.".
66853         mktime: merge mktime-internal.h change from gnulib
66854         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66856         mktime: merge time_r change from gnulib
66857         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66859         mktime: merge DEBUG change from gnulib
66860         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66861         case system <time.h> has a #define.
66863         mktime: merge <sys/types.h> change from gnulib
66864         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66865         since <time.t> is now guaranteed to define time_t.
66867         mktime: merge HAVE_CONFIG_H change from gnulib
66868         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66873         Use "neg %eax".
66875         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66876         __rlim_t cast.
66877         (struct rusage): Use anonymous union to pad each field to
66878         __syscall_slong_t.
66880 2012-05-21  David S. Miller  <davem@davemloft.net>
66882         * Makefules (o-iterator): Remove .s cases.
66883         (compile-command.s): Delete.
66884         (COMPILE.s): Delete.
66885         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66887 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66889         * configure.in (libc_cv_predef_stack_protector): Only consider
66890         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66891         * configure: Regenerated.
66893 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66896         New macro.  Use R*LP on int and pointer.
66897         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66898         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66899         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66900         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66902         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66903         [__WORDSIZE_TIME64_COMPAT32] instead of
66904         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66905         (struct utmp): Likewise.
66906         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66907         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66908         Renamed to ...
66909         (__WORDSIZE_TIME64_COMPAT32): This.
66910         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66911         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66912         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66913         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66914         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66915         (__WORDSIZE_TIME64_COMPAT32): New macro.
66917 2012-05-21  Andreas Jaeger  <aj@suse.de>
66919         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66920         only if [SHARED]. Add prototype for __wcschr_ia32.
66922 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66924         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66925         of %rbp unmolested in the jmp_buf while mangling the low bits.
66926         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66927         unmolested high bits of %rbp while demangling the low bits.
66928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66930 2012-05-21  Andreas Jaeger  <aj@suse.de>
66932         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66933         * sunrpc/svc_simple.c: Use it for registerrpc.
66934         * sunrpc/xcrypt.c: Use it for passwd2des.
66936         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66938 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66940         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66941         Don't define if [__SYSCALL_WORDSIZE != 32].
66942         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66943         New macro.
66945 2012-05-21  Bruno Haible  <bruno@clisp.org>
66946             Andreas Jaeger  <aj@suse.de>
66948         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66949         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66950         inptr and inend for must_buffer_ch.
66951         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66952         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66953         * stdio-common/Makefile (tests): Remove bug15.
66954         (bug15-ENV): Remove macro.
66955         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66956         anymore.
66958 2012-05-19  Andreas Jaeger  <aj@suse.de>
66959             Roland McGrath  <roland@hack.frob.com>
66961         * manual/contrib.texi: Completely rewritten. It contains now an
66962         alphabetical list of contributors and their contributions.
66964 2012-05-21  Richard Henderson  <rth@twiddle.net>
66966         * misc/getauxval.c (__getauxval): Use unsigned long int.
66967         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66968         (getauxval): Use unsigned long int.
66970 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66972         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66974 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66976         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66977         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66978         __alignof__ (long double).
66980 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66984 2012-05-20  Richard Henderson  <rth@twiddle.net>
66986         * misc/getauxval.c: New file.
66987         * misc/sys/auxv.h: New file.
66988         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66989         (routines): Add getauxval.
66990         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66992         * elf/dl-sysdep.c (_dl_auxv): Remove.
66993         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66994         * elf/dl-support.c (_dl_auxv): New variable.
66995         (_dl_aux_init): Initialize it.
66996         * manual/startup.texi (Auxiliary Vector): New node.
66997         * sysdeps/generic/bits/hwcap.h: New file.
66998         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66999         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67000         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67001         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67002         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67003         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67005         Update.
67006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67015 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67019 2012-05-19  David S. Miller  <davem@davemloft.net>
67021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67023 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67025         [BZ #14123]
67026         * math/s_ccosh.c: Include <float.h>
67027         (__ccosh): Avoid internal overflow calculating sinh and cosh
67028         values before multiplying by sin and cos values.
67029         * math/s_ccoshf.c: Likewise.
67030         * math/s_ccoshl.c: Likewise.
67031         * math/s_csin.c: Likewise.
67032         * math/s_csinf.c: Likewise.
67033         * math/s_csinl.c: Likewise.
67034         * math/s_csinh.c: Likewise.
67035         * math/s_csinhf.c: Likewise.
67036         * math/s_csinhl.c: Likewise.
67037         * math/libm-test.inc (ccos_test): Add more tests.
67038         (ccosh_test): Likewise.
67039         (csin_test): Likewise.
67040         (csinh_test): Likewise.
67041         * sysdeps/i386/fpu/libm-test-ulps: Update.
67042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67044 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67046         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67047         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67049         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67051 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67053         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67054         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67055         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67056         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67057         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67058         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67059         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67060         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67061         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67062         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67063         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67064         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67065         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67066         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67067         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67068         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67069         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67070         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67071         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67072         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67073         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67074         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67075         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67076         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67077         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67078         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67079         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67080         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67081         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67082         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67083         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67085 2012-05-18  Andreas Jaeger  <aj@suse.de>
67087         * csu/.gitignore: Delete.
67089 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67091         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67092         (timex): Use __syscall_slong_t.
67094 2012-05-18  Andreas Jaeger  <aj@suse.de>
67095             Carlos O'Donell  <carlos_odonell@mentor.com>
67097         * manual/install.texi (Configuring and compiling): Update
67098         description about files modified in the source directory.
67099         * INSTALL: Regenerated.
67101 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67103         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67104         value.  Use "or" to set return value to -1.
67105         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67106         negate return value.
67108 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67110         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67111         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67112         failure if the compiler has Graphite support disabled.
67113         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67114         Likewise.
67115         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67116         (CFLAGS-memmove.c): Likewise.
67117         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67118         Likewise.
67120 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67122         * sysdeps/x86_64/x32/_itoa.h: New file.
67124         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67125         getdents system call only if kernel and user dirents have the
67126         same d_ino and d_off.
67128         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67129         LLONG_MAX != LONG_MAX.
67130         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67131         (_fitoa_word): Likewise.
67133         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67134         years.
67135         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67136         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67137         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67139         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67140         include <bits/wordsize.h>.  Check __x86_64__ instead of
67141         __WORDSIZE.
67142         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67143         if __x86_64__ is defined.  Use anonymous union on fpstate.
67145         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67146         anonymous union.
67148 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67150         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67151         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67153         Refer to _rtld_local_ro instead of _rtld_global_ro.
67154         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67155         Likewise.
67156         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67157         Likewise.
67158         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67159         Likewise.
67160         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67161         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67162         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67164         [BZ #10882]
67165         * sysdeps/powerpc/powerpc32/dl-machine.c
67166         (__elf_machine_runtime_setup) [PROF]: Don't reference
67167         _dl_prof_resolve.
67169 2012-05-18  Andreas Jaeger  <aj@suse.de>
67171         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67172         function only available for GCCs before 3.4 since GCC 3.4
67173         introduced a builtin.
67174         (lrint): Likewise.
67175         (llrintf): Likewise.
67176         (llrint): Likewise.
67177         (fmaxf): Likewise.
67178         (fmax): Likewise.
67179         (fminf): Likewise.
67180         (fmin): Likewise.
67181         (rint): Likewise.
67182         (rintf): Likewise.
67183         (nearbyint): Likewise.
67184         (nearbyintf): Likewise.
67185         (ceil): Likewise.
67186         (ceilf): Likewise.
67187         (floor): Likewise.
67188         (floorf): Likewise.
67190 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67192         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67193         on both fields and cast pointer to __syscall_ulong_t.
67195         * bits/types.h (__fsword_t): New type.
67196         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67197         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67199         (__FSWORD_T_TYPE): Likewise.
67200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67201         (__FSWORD_T_TYPE): Likewise.
67202         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67203         (__FSWORD_T_TYPE): Likewise.
67204         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67205         (__FSWORD_T_TYPE): Likewise.
67206         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67207         __SWORD_TYPE with __fsword_t.
67208         (statfs64): Likewise.
67210 2012-05-17  David S. Miller  <davem@davemloft.net>
67212         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67214 2012-05-17  Andreas Jaeger  <aj@suse.de>
67216         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67217         warning.
67219 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67221         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67223 2012-05-17  Andreas Jaeger  <aj@suse.de>
67225         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67226         when it is used.
67228 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67230         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67232 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67234         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67235         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67237 2012-05-17  Andreas Jaeger  <aj@suse.de>
67238             Carlos O'Donell  <carlos_odonell@mentor.com>
67240         [BZ #14059]
67241         * sysdeps/x86_64/multiarch/init-arch.h
67242         (bit_YMM_Usable): Rename to...
67243         (bit_AVX_Usable): ... this.
67244         (bit_FMA4_Usable): New macro.
67245         (bit_XMM_state): New macro.
67246         (bit_YMM_state): New macro.
67247         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67248         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67249         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67250         (CPUID_OSXSAVE): New macro.
67251         (CPUID_AVX): New macro.
67252         (CPUID_FMA4): New macro.
67253         (index_YMM_Usable): Rename to...
67254         (index_AVX_Usable): ... this.
67255         (HAS_AVX): Use HAS_ARCH_FEATURE.
67256         (HAS_FMA4): Likewise.
67257         (HAS_YMM_USABLE): Remove.
67258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67259         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67260         are present.
67261         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67262         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67263         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67264         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67265         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67267 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67269         * math/libm-test.c: Support platforms without multiple rounding modes.
67270         * math/bug-nextafter.c: Support platforms without FP exceptions.
67271         * math/bug-nexttoward.c: Likewise.
67272         * math/test-fenv.c: Likewise.
67273         * math/test-misc.c: Likewise.
67274         * stdlib/bug-getcontext.c: Likewise.
67276 2012-05-17  Andreas Jaeger  <aj@suse.de>
67278         * manual/examples/search.c (critter_cmp): Change signature to
67279         avoid warnings.
67280         * manual/string.texi (Collation Functions): Likewise.
67282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67284         * bits/types.h: Fold copyright years.
67285         * bits/typesizes.h: Likewise.
67286         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67290         * time/time.h: Likewise.
67292 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67294         [BZ #208]
67295         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67296         in instead of returning them.  Return void.
67297         (__libc_mallinfo): Accumulate over all arenas.
67298         (__malloc_stats): Adjust for change in int_mallinfo interface.
67300 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67302         [BZ #10375]
67303         * configure.in (NM): Add AC_CHECK_TOOL for it.
67304         (libc_extra_cflags): New substituted variable.
67305         Check for -fstack-protector being used implicitly.
67306         * configure: Regenerated.
67307         * config.make.in (config-extra-cflags): New variable,
67308         gets @libc_extra_cflags@.
67309         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67311         [BZ #10375]
67312         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67313         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67314         * configure: Regenerated.
67315         * config.make.in (CPPUNDEFS): New substituted variable.
67316         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67317         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67318         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67322         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67323         (mq_attr): Use __syscall_slong_t.
67325 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67327         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67328         Check __x86_64__ instead of __WORDSIZE.
67329         (_STAT_VER_LINUX): Likewise.
67330         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67331         __syscall_ulong_t and __syscall_slong_t.
67332         (stat64): Likewise.
67334 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67336         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67338 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67340         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67342 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67344         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67345         __syscall_ulong_t.
67347         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67348         include <bits/wordsize.h>.  Check __x86_64__ instead of
67349         __WORDSIZE.
67350         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67351         defined.
67352         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67354         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67355         include <bits/wordsize.h>.  Check __x86_64__ instead of
67356         __WORDSIZE.
67357         (user_regs_struct): Use "__extension__ unsigned long long"
67358         instead of "unsigned long" if __x86_64__ is defined.
67359         (user): Likewise.  Pad after pointer field if __ILP32__ is
67360         defined.
67362 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67364         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67365         versions 5 to 9.
67366         * configure: Regenerated.
67367         * manual/install.texi (texinfo): Increase version requirement to
67368         4.5 or later.
67369         * INSTALL: Regenerated.
67371         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67373 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67375         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67377         * sysdeps/x86_64/x32/ffs.c: New file.
67379         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67380         __syscall_ulong_t.
67381         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67382         defined.  Use __syscall_ulong_t.
67383         (shminfo): Use __syscall_ulong_t.
67384         (shm_info): Likewise.
67386         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67387         __syscall_ulong_t.
67389         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67390         <bits/wordsize.h>.
67391         (msgqnum_t): Use __syscall_ulong_t.
67392         (msglen_t): Likewise.
67393         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67394         __syscall_ulong_t.
67396         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67397         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67399         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67401         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67402         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67404         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67405         __syscall_slong_t.
67407         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67408         include <bits/wordsize.h>.  Check __x86_64__ instead of
67409         __WORDSIZE.
67411         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67412         "unsigned long long int" if __x86_64__ is defined.
67413         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67415         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67416         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67417         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67419         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67420         <stdint.h>.
67421         (GET_PC): Cast to uintptr_t first.
67422         (GET_FRAME): Likewise.
67423         (GET_STACK): Likewise.
67425         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67426         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67431         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67432         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67433         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67434         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67435         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67436         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67437         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67438         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67439         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67440         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67441         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67442         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67443         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67444         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67445         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67446         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67447         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67448         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67449         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67450         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67451         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67452         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67453         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67455 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67457         * Makerules (+depfiles): Also collect depfiles from .oS in
67458         $(extra-objs).
67459         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67460         .oS, $(libnldbl-routines)).
67462         * Makerules (native-compile-mkdep-flags): Define.
67463         * sunrpc/Makefile (extra-objs): Add $(addprefix
67464         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67465         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67466         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67467         calling $(make-target-directory).
67469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67471         * bits/types.h (__snseconds_t): Removed.
67472         * time/time.h (struct timespec): Replace __snseconds_t with
67473         __syscall_slong_t.
67474         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67475         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67476         Likewise.
67477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67478         (__SNSECONDS_T_TYPE): Likewise.
67479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67480         (__SNSECONDS_T_TYPE): Likewise.
67481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67482         (__SNSECONDS_T_TYPE): Likewise.
67484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67486         * sysdeps/mach/hurd/bits/typesizes.h
67487         (__SYSCALL_SLONG_TYPE): New macro.
67488         (__SYSCALL_ULONG_TYPE): Likewise.
67490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67492         * bits/types.h (__syscall_slong_t): New type.
67493         (__syscall_ulong_t): Likewise.
67495         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67496         (__SYSCALL_ULONG_TYPE): Likewise.
67497         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67498         (__SYSCALL_SLONG_TYPE): Likewise.
67499         (__SYSCALL_ULONG_TYPE): Likewise.
67500         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67501         (__SYSCALL_SLONG_TYPE): Likewise.
67502         (__SYSCALL_ULONG_TYPE): Likewise.
67503         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67504         (__SYSCALL_SLONG_TYPE): Likewise.
67505         (__SYSCALL_ULONG_TYPE): Likewise.
67507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67509         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67510         Add sigaltstack-offsets.sym.
67511         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67512         <sigaltstack-offsets.h>.
67513         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67514         longjmp_msg pointer.
67515         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67516         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67517         signal stack.
67518         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67520 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67522         * elf/stackguard-macros.h: Remove file.
67523         * sysdeps/generic/stackguard-macros.h: New file.
67524         * sysdeps/i386/stackguard-macros.h: Likewise.
67525         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67526         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67527         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67528         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67529         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67530         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67531         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67532         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67533         <elf/stackguard-macros.h>.
67535         [BZ #14109]
67536         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67537         __aligned__ in attribute.
67538         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67539         (gregset_t): Likewise.
67541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67543         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67544         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67545         * sysdeps/x86_64/x32/Implies-after: New file.
67547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67549         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67550         and access return value for _dl_profile_fixup.  Use R10_LP to
67551         load frame size.
67553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67555         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67559         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67560         * sysdeps/x86_64/x32/sysdep.h: New file.
67562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67564         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67565         * sysdeps/x86_64/setjmp.S: Likewise.
67567 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67569         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67570         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67571         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67572         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67573         remove unused global constant.
67575 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67577         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67578         include of <not-cancel.h>.
67580 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67582         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67584 2012-05-15  Jeff Law  <law@redhat.com>
67585             Andreas Jaeger  <aj@suse.de>
67587         [BZ #13594]
67588         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67589         out from...
67590         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67591         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67592         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67593         code changing __hst_map_handle.map.
67595 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67597         * configure.in (sysnames): Look for Implies-before and Implies-after
67598         files.
67599         * configure: Regenerated.
67601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67603         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67604         8-byte data alignment with LP_SIZE alignment.
67606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67608         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67609         into R10_LP.
67611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67613         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67618         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67619         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67620         Likewise.
67621         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67625         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67626         (stackinfo_sub_sp): Likewise.
67628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67631         RAX_LP.
67633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67635         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67636         into R*_LP.
67638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67640         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67641         sizes into R*_LP.
67643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67645         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67649         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67650         into R11_LP and load __x86_64_shared_cache_size_half into
67651         R8_LP.
67653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67655         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67656         R8_LP.
67658 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67661         logb for POWER7.
67662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67663         logbf for POWER7.
67664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67665         logbl for POWER7.
67666         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67667         powerpc32/power7/fpu/s_logb.c via #include.
67668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67669         powerpc32/power7/fpu/s_logbf.c via #include.
67670         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67671         powerpc32/power7/fpu/s_logbl.c via #include.
67673 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67675         * README.libm: Remove file.
67677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67679         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67680         count for x32.  Use R*_LP and omit operand-size suffix.
67682 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67684         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67685         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67686         * sysdeps/x86_64/x32/shlib-versions: New file.
67688 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67690         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67691         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67692         Use _dl_fatal_printf instead.
67694 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67696         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67697         set if not set by the user.  Do not allow for being unset.
67698         * sysdeps/unix/sysv/linux/configure: Regenerated.
67700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67702         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67703         the `q' suffix from lea and replace .quad with ASM_ADDR.
67705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67708         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67709         instead of $17.
67710         (PTR_DEMANGLE): Likewise.
67712 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67714         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67715         (LP_OP): Likewise.
67716         (ASM_ADDR): Likewise.
67717         (RAX_LP): Likewise.
67718         (RBP_LP): Likewise.
67719         (RBX_LP): Likewise.
67720         (RCX_LP): Likewise.
67721         (RDI_LP): Likewise.
67722         (RSI_LP): Likewise.
67723         (RSP_LP): Likewise.
67724         (R8_LP): Likewise.
67725         (R9_LP): Likewise.
67726         (R10_LP): Likewise.
67727         (R10_LP): Likewise.
67728         (R11_LP): Likewise.
67729         (R12_LP): Likewise.
67730         (R13_LP): Likewise.
67731         (R14_LP): Likewise.
67732         (R15_LP): Likewise.
67734 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67736         * sysdeps/x86_64/x32/dl-machine.h: New file.
67738 2012-05-14  Andreas Jaeger  <aj@suse.de>
67740         * manual/Makefile (subdir): Remove export of subdir.
67741         (all): Remove target.
67742         (.PHONY): Remove all from list.
67743         (mkinstalldirs): Remove.
67744         (.PHONY): Remove installdirs from list.
67745         ($(inst_infodir)/libc.info): Use make-target-directory.
67746         (installdirs): Remove.
67747         (subdir_%): Remove.
67748         (glibc-targets): Remove.
67749         (lib): Remove.
67750         (stubs): Remove.
67751         ($(objpfx)stubs ../po/manual.pot): Remove.
67752         ($(objpfx)stamp%): Remove.
67753         (make-target-directory): Remove.
67754         (subdir_install): Remove.
67755         (routines): Remove.
67756         (aux): Remove.
67757         (sources): Remove.
67758         (objects): Remove.
67759         (headers): Remove.
67761         [BZ #13750]
67762         * manual/.gitignore: Remove, it's not needed anymore.
67763         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67764         all files in it.
67765         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67766         directory.
67767         (texis): Renamed to $(objpfx)texis.
67768         (texis-path): New, contains path to generated files.
67769         (chapters.%): Use texis-path for complete path, add extra argument
67770         libc-texinfo.sh.
67771         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67772         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67773         (summary,texi, stamp-summary): Use complete path of
67774         files. Generate files in build dir.
67775         (dir-add.texi): Build in build dir.
67776         (libm-err.texi,stamp-libm-err): Likewise.
67777         (version.texi, stamp-version): Likewise.
67778         (.%c.texi): Likewise.
67779         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67780         (mostlyclean): Remove target.
67781         (realclean): Remove target.
67782         (generated): Add new variable with contents from mostlyclean and
67783         realclean, remove entries duplicated in common-mostlyclean, add
67784         stamp-libm-err and stamp-version.
67785         (generated-dirs): Add libc directory.
67786         ($(inst_infodir)/libc.info): Install files from build dir.
67788         * manual/install.texi (Configuring and compiling): Adjust since
67789         the info files are not part of the tar ball anymore.
67791 2012-05-14  Andreas Jaeger  <aj@suse.de>
67793         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67794         variable.
67796 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67798         [BZ #13717]
67799         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67800         to 2.2.0 where earlier.
67801         * sysdeps/unix/sysv/linux/configure: Regenerated.
67802         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67803         Remove conditional code.
67804         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67805         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67806         Remove conditional code.
67807         [!__NR_lchown]: Likewise.
67808         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67809         [__NR_lchown]: Likewise.
67810         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67811         comment referencing __ASSUME_LCHOWN_SYSCALL.
67812         * sysdeps/unix/sysv/linux/i386/sigaction.c
67813         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67814         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67815         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67816         Remove conditional code.
67817         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67818         (__protocol_available): Remove #if 0 code.
67819         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67820         conditional code.
67821         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67822         * sysdeps/unix/sysv/linux/kernel-features.h
67823         (__ASSUME_GETCWD_SYSCALL): Don't define.
67824         (__ASSUME_REALTIME_SIGNALS): Likewise.
67825         (__ASSUME_PREAD_SYSCALL): Likewise.
67826         (__ASSUME_PWRITE_SYSCALL): Likewise.
67827         (__ASSUME_POLL_SYSCALL): Likewise.
67828         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67829         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67830         non-SPARC.
67831         (__ASSUME_SIOCGIFNAME): Don't define.
67832         (__ASSUME_MSG_NOSIGNAL): Likewise.
67833         (__ASSUME_SENDFILE): Define unconditionally.
67834         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67835         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67836         conditional code.
67837         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67838         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67839         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67840         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67841         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67842         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67843         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67845         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67848         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67851         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67852         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67857         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67858         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67860         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67863         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67864         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67866         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67868         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67869         Remove conditional code.
67870         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67871         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67872         Remove conditional code.
67873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67874         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67875         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67876         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67877         Remove conditional code.
67878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67879         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67880         Remove conditional code.
67881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67882         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67883         Remove conditional code.
67884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67885         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67886         Remove conditional code.
67887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67888         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67889         Remove conditional code.
67890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67891         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67892         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67894         * sysdeps/unix/sysv/linux/sigaction.c
67895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67897         * sysdeps/unix/sysv/linux/sigpending.c
67898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67900         * sysdeps/unix/sysv/linux/sigprocmask.c
67901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67903         * sysdeps/unix/sysv/linux/sigsuspend.c
67904         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67905         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67906         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67907         (__libc_missing_rt_sigs): Remove.
67908         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67909         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67910         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67911         Remove conditional code.
67912         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67913         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67914         return 1.
67915         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67916         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67917         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67918         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67920 2012-05-14  Andreas Jaeger  <aj@suse.de>
67922         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67923         it's not used in glibc.
67924         (__coshm1): Likewise.
67925         (__acosh1p): Likewise.
67926         (__sgn): Likewise.
67928         * manual/string.texi (Copying and Concatenation): Add missing
67929         variable in concat example.
67930         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67934         [BZ #14103]
67935         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67936         __builtin_clzl with __builtin_clzll.
67938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67940         [BZ #14104]
67941         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67942         libc_freeres_ptr.
67944 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67946         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67947         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67948         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67951 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67953         * NEWS: Update ia64 info.
67955 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67957         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67958         used as bcopy.
67960 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67962         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67963         * sysdeps/unix/syscalls.list (dup3): Likewise.
67964         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67965         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67967 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67969         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67970         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67972 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67974         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67975         thread pointer.
67976         (TLS_IE): Use mov/add instead of movq/addq to load thread
67977         pointer.
67978         (TLS_GD_PREFIX): New.
67979         (TLS_GD): Use it.
67981 2012-05-11  David S. Miller  <davem@davemloft.net>
67983         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67984         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67985         (_FPU_SETCW): Likewise.
67987 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67989         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67990         is 32-byte aligned.
67992 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67994         [BZ #11837]
67995         * iconvdata/gb18030.c: Update tables.
67996         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67997         characters specially.
67998         (BODY for TO_LOOP): Add encoding of missing ranges.
68000 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68002         [BZ #13673]
68003         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68004         * sysdeps/mach/hurd/dup3.c: Likewise.
68005         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68006         * sysdeps/powerpc/memmove.c:: Likewise.
68008 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68010         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68011         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68013 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68015         * elf/elf.h (R_X86_64_RELATIVE64): New.
68016         (R_X86_64_NUM): Updated.
68017         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68018         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68019         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68020         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68021         tst-quad1pie tst-quad2pie
68022         (modules-names): Add tst-quadmod1 tst-quadmod2.
68023         ($(objpfx)tst-quad1): New dependency.
68024         ($(objpfx)tst-quad2): Likewise.
68025         ($(objpfx)tst-quad1pie): Likewise.
68026         ($(objpfx)tst-quad2pie): Likewise.
68027         * sysdeps/x86_64/tst-quad1.c: New file.
68028         * sysdeps/x86_64/tst-quad1pie.c: New file.
68029         * sysdeps/x86_64/tst-quad2.c: Likewise.
68030         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68031         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68032         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68033         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68034         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68038         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68039         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68040         * streams/stropts.h (t_scalar_t): Define type.
68042         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68043         (_PATH_PRESERVE): Set to "/var/lib".
68044         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68046         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68047         instead of int.
68049         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68050         if __dir_mkfile succeeded.
68052         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68053         checking for _hurd_dtablesize.  Unlock it right after having
68054         finished _hurd_dtable allocation.
68056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68058         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68059         * sysdeps/mach/hurd/configure: Regenerated.
68060         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68061         special-casing to...
68062         * sysdeps/gnu/configure.in: ... this new file.
68063         * sysdeps/unix/sysv/linux/configure: Regenerated.
68064         * sysdeps/gnu/configure: New generated file.
68066         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68067         for Linux: use nsec instead of usec, as well as:
68068         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68069         members of type struct timespec.
68070         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68071         New macros.
68072         (struct stat64): Likewise.
68073         (_STATBUF_ST_NSEC): New macro.
68074         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68076         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68077         __strtoul_internal rather than strtoul.
68079 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68081         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68082         and reject them.
68084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68086         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68087         which preserves existing values.
68088         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68090 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68092         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68093         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68094         greater than FD_SETSIZE.
68096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68098         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68099         allocated, call __vm_protect to finish enabling the existing space, and
68100         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68101         allocate the remainder.
68103 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68105         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68106         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68108 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68110         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68111         sysdeps/mach/hurd/readlink.c.
68113         * posix/tst-sysconf.c (posix_options): Only use
68114         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68115         _POSIX_SYNCHRONIZED_IO when they are defined
68116         * sysdeps/mach/hurd/bits/posix_opt.h:
68117         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68118         (_XOPEN_REALTIME): Undefine macro.
68119         (_XOPEN_REALTIME_THREADS): Undefine macro.
68120         (_XOPEN_SHM): Undefine macro.
68121         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68122         macro to -1.
68123         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68124         macro to -1.
68125         (_POSIX_ASYNC_IO): Undefine macro.
68126         (_POSIX_PRIORITIZED_IO): Undefine macro.
68127         (_POSIX_SPIN_LOCKS): Define macro to -1.
68129         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68130         SA_NODEFER, SA_RESETHAND.
68131         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68132         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68133         F_DUPFD_CLOEXEC.
68135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68137         * elf/Makefile (pldd-modules): Define unconditionally.
68139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68141         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68143 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68145         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68146         Return ENOENT when name is empty.
68147         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68149 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68151         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68153         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68155 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68157         Fix mlock in all cases except non-readable pages.
68158         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68159         instead of VM_PROT_ALL as parameter to __vm_wire function.
68161         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68162         (__mkdir): When path is `/', just fail with EEXIST.
68163         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68167         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68168         <sys/uio.h> (for writev).
68169         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68170         and <sys/param.h> (for MIN).
68172 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68174         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68175         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68176         if interrupted.
68178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68180         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68181         Depend on against $(link-rpcuserlibs).
68183 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68185         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68186         (__libc_stack_end): Do not use attribute_relro.
68187         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68188         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68189         to libthread-provided value.
68190         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68191         attribute_relro.
68193 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68195         [BZ #3748]
68196         * bits/libc-lock.h (__libc_once_get): New macro.
68197         * sysdeps/mach/bits/libc-lock.h: Likewise.
68198         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68200         instead of using implementation details.
68202         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68203         * libio/freopen.c: Likewise.
68204         * libio/freopen64.c: Likewise.
68205         * misc/syslog.c: Likewise.
68206         * nscd/connections.c: Likewise.
68207         * nscd/netgroupcache.c: Likewise.
68208         * sysdeps/posix/getcwd.c: Likewise.
68210 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68212         * math/w_ilogbf.c: Add #include <limits.h>.
68214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68216         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68217         path instead of returning without unlocking.
68219         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68220         immediate-write ioctls.
68221         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68225         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68226         __builtin_frame_address instead of making assumptions about the
68227         location of the return address relative to DATA.  Force early load of
68228         the return address.
68229         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68230         __builtin_frame_address.
68232         dup3 for GNU Hurd.
68233         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68234         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68235         implement dup3 and do some further code clean-ups.
68236         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68237         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68241         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68243         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68244         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68245         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68246         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68247         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68248         d->port.lock.
68250         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68251         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68252         when handler == SIG_ERR, not when handler != SIG_ERR.
68254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68256         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68257         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68258         definitions.
68260         accept4 for GNU Hurd.
68261         * include/sys/socket.h (__libc_accept4): New prototype.
68262         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68263         to implement __libc_accept4.
68264         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68265         __libc_accept4.
68266         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68268         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68269         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68270         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68271         signal-defines.sym.
68273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68275         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68279         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68280         assertion on O_CLOEXEC flag.
68281         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68282         * hurd/intern-fd.c: Likewise.
68283         * hurd/port2fd.c: Likewise.
68285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68287         [BZ #3906]
68288         * bits/in.h (IPV6_PKTINFO): Define new macro.
68289         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68291 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68293         [BZ #13954]
68294         [BZ #13955]
68295         [BZ #13956]
68296         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68298         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68299         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68301         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68302         * math/libm-test.inc (logb_test) : Additional logb tests.
68304 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68305             Andreas Jaeger  <aj@suse.de>
68307         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68308         * configure: Regenerated.
68309         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68310         * config.make.in (link-obsolete-rpc): New substituted variable.
68311         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68312         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68313         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68314         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68315         so that libc.a contains the symbols.
68316         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68317         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68318         * sunrpc/auth_none.c: Likewise.
68319         * sunrpc/auth_unix.c: Likewise.
68320         * sunrpc/authdes_prot.c: Likewise.
68321         * sunrpc/authuxprot.c: Likewise.
68322         * sunrpc/clnt_gen.c: Likewise.
68323         * sunrpc/clnt_perr.c: Likewise.
68324         * sunrpc/clnt_raw.c: Likewise.
68325         * sunrpc/clnt_simp.c: Likewise.
68326         * sunrpc/clnt_tcp.c: Likewise.
68327         * sunrpc/clnt_udp.c: Likewise.
68328         * sunrpc/clnt_unix.c: Likewise.
68329         * sunrpc/des_crypt.c: Likewise.
68330         * sunrpc/des_soft.c: Likewise.
68331         * sunrpc/get_myaddr.c: Likewise.
68332         * sunrpc/key_call.c: Likewise.
68333         * sunrpc/key_prot.c: Likewise.
68334         * sunrpc/netname.c: Likewise.
68335         * sunrpc/pm_getmaps.c: Likewise.
68336         * sunrpc/pm_getport.c: Likewise.
68337         * sunrpc/pmap_clnt.c: Likewise.
68338         * sunrpc/pmap_prot.c: Likewise.
68339         * sunrpc/pmap_prot2.c: Likewise.
68340         * sunrpc/pmap_rmt.c: Likewise.
68341         * sunrpc/publickey.c: Likewise.
68342         * sunrpc/rpc_cmsg.c: Likewise.
68343         * sunrpc/rpc_common.c: Likewise.
68344         * sunrpc/rpc_dtable.c: Likewise.
68345         * sunrpc/rpc_prot.c: Likewise.
68346         * sunrpc/rpc_thread.c: Likewise.
68347         * sunrpc/rtime.c: Likewise.
68348         * sunrpc/svc.c: Likewise.
68349         * sunrpc/svc_auth.c: Likewise.
68350         * sunrpc/svc_raw.c: Likewise.
68351         * sunrpc/svc_run.c: Likewise.
68352         * sunrpc/svc_tcp.c: Likewise.
68353         * sunrpc/svc_udp.c: Likewise.
68354         * sunrpc/svc_unix.c: Likewise.
68355         * sunrpc/svcauth_des.c: Likewise.
68356         * sunrpc/xcrypt.c: Likewise.
68357         * sunrpc/xdr.c: Likewise.
68358         * sunrpc/xdr_array.c: Likewise.
68359         * sunrpc/xdr_float.c: Likewise.
68360         * sunrpc/xdr_intXX_t.c: Likewise.
68361         * sunrpc/xdr_mem.c: Likewise.
68362         * sunrpc/xdr_rec.c: Likewise.
68363         * sunrpc/xdr_ref.c: Likewise.
68364         * sunrpc/xdr_sizeof.c: Likewise.
68365         * sunrpc/xdr_stdio.c: Likewise.
68367 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68370         change.  Update copyright years.
68372 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68374         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68376 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68377             Joseph Myers  <joseph@codesourcery.com>
68378             Paul Pluzhnikov  <ppluzhnikov@google.com>
68380         [BZ #14012]
68381         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68382         requiring rpcgen.
68383         [cross-compiling] (extra-libs): Likewise.
68384         [cross-compiling] (extra-libs-others): Likewise.
68385         [cross-compiling] (librpcsvc-routines): Likewise.
68386         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68387         [cross-compiling] (omit-deps): Likewise.
68388         (sunrpc-CPPFLAGS): New variable.
68389         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68390         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68391         (cross-rpcgen-objs): New variable.
68392         (extra-objs): Append $(cross-rpcgen-objs).
68393         ($(cross-rpcgen-objs)): New rule.
68394         ($(objpfx)cross-rpcgen): Likewise.
68395         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68396         comment.
68397         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68398         ($(objpfx)x%.stmp): Likewise.
68399         * sunrpc/proto.h [IS_IN_build] (_): Define.
68400         [IS_IN_build] (_libc_intl_domainname): Likewise.
68402 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68404         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68405         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68406         and R_X86_64_TPOFF64.
68408 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68410         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68411         sysdeps/unix/sysv/syscalls.list.
68412         (stime): Likewise.
68413         (utime): Likewise.
68414         * sysdeps/unix/sysv/syscalls.list: Remove file.
68416 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68418         [BZ #3440]
68419         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68420         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68421         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68422         (__LC_IDENTIFICATION): Make these macros useful in #if
68423         expressions, as required by C99.
68425 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68427         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68428         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68429         after this.
68431 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68433         * stdlib/longlong.h: Updated from GCC.
68435 2012-05-09  Andreas Jaeger  <aj@suse.de>
68437         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68438         default is first entry.
68439         (run_mode): Set type.
68440         (main): Remove informal message about syslog.
68441         (options): Fix typo.
68443         [BZ #14053]
68444         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68445         to asm.
68446         (lrint): Likewise.
68447         (llrintf): Likewise.
68448         (llrint): Likewise.
68449         (rint): Likewise.
68450         (rintf): Likewise.
68451         (nearbyint): Likewise.
68452         (nearbyintf): Likewise.
68454 2012-05-09  Andreas Jaeger  <aj@suse.de>
68455             Pedro Alves  <palves@redhat.com>
68457         * nscd/nscd.c (run_mode): Use enum.
68458         (main): Cleanup coding style issue.
68460 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68461             Andreas Jaeger  <aj@suse.de>
68463         * nscd/nscd.c (go_background): Replaced with...
68464         (run_mode): ... this.
68465         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68466         (options): Add -F --foreground.
68467         (main): Implement it.
68468         (parse_opt): Parse it.
68470 2012-05-09  Andreas Jaeger  <aj@suse.de>
68472         [BZ #14083]
68473         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68474         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68475         -Wconversion warning.
68476         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68477         Likewise.
68479 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68481         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68482         == 0.
68483         (LC_ALL): Use macro-int-constant.
68484         (LC_COLLATE): Likewise.
68485         (LC_CTYPE): Likewise.
68486         (LC_MESSAGES): Likewise.
68487         (LC_MONETARY): Likewise.
68488         (LC_NUMERIC): Likewise.
68489         (LC_TIME): Likewise.
68490         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68491         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68493         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68494         Specify type.
68495         [C99-based standards] (float_t): Expect type.
68496         [C99-based standards] (double_t): Expect type.
68497         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68498         type.
68499         [C99-based standards] (HUGE_VALL): Likewise.
68500         [C99-based standards] (INFINITY): Likewise.
68501         [C99-based standards] (NAN): Likewise.
68502         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68503         [C99-based standards] (FP_NAN): Likewise.
68504         [C99-based standards] (FP_NORMAL): Likewise.
68505         [C99-based standards] (FP_SUBNORMAL): Likewise.
68506         [C99-based standards] (FP_ZERO): Likewise.
68507         [C99-based standards] (FP_FAST_FMA): Use
68508         optional-macro-int-constant.  Specify type.  Require == 1.
68509         [C99-based standards] (FP_FAST_FMAF): Likewise.
68510         [C99-based standards] (FP_FAST_FMAL): Likewise.
68511         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68512         [C99-based standards] (FP_ILOGBNAN): Likewise.
68513         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68514         Specify type.
68515         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68516         [C99-based standards] (math_errhandling): Specify type.
68517         [ISO99 || ISO11] (signgam): Do not allow.
68518         [non-C99-based standards] (copysignf): Do not allow.
68519         [non-C99-based standards] (exp2f): Likewise.
68520         [non-C99-based standards] (log2f): Likewise.
68521         [non-C99-based standards] (modff): Allow.
68522         [non-C99-based standards] (erff): Do not allow.
68523         [non-C99-based standards] (erfcf): Likewise.
68524         [non-C99-based standards] (gammaf): Likewise.
68525         [non-C99-based standards] (hypotf): Likewise.
68526         [non-C99-based standards] (j0f): Likewise.
68527         [non-C99-based standards] (j1f): Likewise.
68528         [non-C99-based standards] (jnf): Likewise.
68529         [non-C99-based standards] (lgammaf): Likewise.
68530         [non-C99-based standards] (tgammaf): Likewise.
68531         [non-C99-based standards] (y0f): Likewise.
68532         [non-C99-based standards] (y1f): Likewise.
68533         [non-C99-based standards] (ynf): Likewise.
68534         [non-C99-based standards] (isnanf): Likewise.
68535         [non-C99-based standards] (acoshf): Likewise.
68536         [non-C99-based standards] (asinhf): Likewise.
68537         [non-C99-based standards] (atanhf): Likewise.
68538         [non-C99-based standards] (cbrtf): Likewise.
68539         [non-C99-based standards] (expm1f): Likewise.
68540         [non-C99-based standards] (ilogbf): Likewise.
68541         [non-C99-based standards] (log1pf): Likewise.
68542         [non-C99-based standards] (logbf): Likewise.
68543         [non-C99-based standards] (nextafterf): Likewise.
68544         [non-C99-based standards] (remainderf): Likewise.
68545         [non-C99-based standards] (rintf): Likewise.
68546         [non-C99-based standards] (scalbf): Likewise.
68547         [non-C99-based standards] (copysignl): Likewise.
68548         [non-C99-based standards] (exp2l): Likewise.
68549         [non-C99-based standards] (log2l): Likewise.
68550         [non-C99-based standards] (modfl): Allow.
68551         [non-C99-based standards] (erfl): Do not allow.
68552         [non-C99-based standards] (erfcl): Likewise.
68553         [non-C99-based standards] (gammal): Likewise.
68554         [non-C99-based standards] (hypotl): Likewise.
68555         [non-C99-based standards] (j0l): Likewise.
68556         [non-C99-based standards] (j1l): Likewise.
68557         [non-C99-based standards] (jnl): Likewise.
68558         [non-C99-based standards] (lgammal): Likewise.
68559         [non-C99-based standards] (tgammal): Likewise.
68560         [non-C99-based standards] (y0l): Likewise.
68561         [non-C99-based standards] (y1l): Likewise.
68562         [non-C99-based standards] (ynl): Likewise.
68563         [non-C99-based standards] (isnanl): Likewise.
68564         [non-C99-based standards] (acoshl): Likewise.
68565         [non-C99-based standards] (asinhl): Likewise.
68566         [non-C99-based standards] (atanhl): Likewise.
68567         [non-C99-based standards] (cbrtl): Likewise.
68568         [non-C99-based standards] (expm1l): Likewise.
68569         [non-C99-based standards] (ilogbl): Likewise.
68570         [non-C99-based standards] (log1pl): Likewise.
68571         [non-C99-based standards] (logbl): Likewise.
68572         [non-C99-based standards] (nextafterl): Likewise.
68573         [non-C99-based standards] (remainderl): Likewise.
68574         [non-C99-based standards] (rintl): Likewise.
68575         [non-C99-based standards] (scalbl): Likewise.
68576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68577         [non-C99-based standards] (FP_*): Do not allow.
68578         [C99-based standards] (FP_*): Change to
68579         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68580         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68581         allow.
68582         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68583         (SIG_ERR): Likewise.
68584         [X/Open-based standards] (SIG_HOLD): Likewise.
68585         (SIG_IGN): Likewise.
68586         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68587         positive value.
68588         (SIGFPE): Likewise.
68589         (SIGILL): Likewise.
68590         (SIGINT): Likewise.
68591         (SIGSEGV): Likewise.
68592         (SIGTER): Likewise.
68593         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68594         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68595         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68596         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68597         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68598         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68599         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68600         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68601         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68602         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68603         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68604         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68605         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68606         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68607         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68608         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68609         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68610         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68611         [X/Open-based standards] (SIGTRAP): Likewise.
68612         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68613         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68614         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68615         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68616         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68617         allow.
68619 2012-05-08  Ian Wienand  <ianw@vmware.com>
68621         [BZ #14080]
68622         * time/tzset.c (__tzset_parse_tz): Update default rules for
68623         daylight time changes in the Energy Policy Act of 2005.
68625 2012-05-09  Andreas Jaeger  <aj@suse.de>
68627         [BZ #13983]
68628         * elf/ldconfig.c (parse_conf): Change string to make clear that
68629         ldconfig only issued a warning if ld.so.conf does not exist.
68631 2012-05-08  David S. Miller  <davem@davemloft.net>
68633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68634         movxtod instead of popping the value on the stack.
68636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68638 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68640         * config.h.in: Add HAVE_ARM_PCS_VFP.
68642 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68644         [BZ #13979]
68645         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68646         checking but the checks are disabled for any reason.
68648 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68650         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68651         and ELF64_R_TYPE with ELFW(R_TYPE).
68653 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68655         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68656         (ulimit): Likewise.
68658         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68659         (settimeofday): Likewise.
68661 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68663         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68664         a struct th_u2 inside the union, and move tu_block/tu_code into
68665         a new th_u3 union of tu_block/tu_code inside of that.  Move
68666         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68667         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68668         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68669         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68670         (th_stuff): Change to th_u1.tu_stuff.
68671         (th_data): Define.
68672         (th_msg): Change to th_u1.th_u2.tu_data.
68674 2012-05-07  David S. Miller  <davem@davemloft.net>
68676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68678         [BZ #14074]
68679         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68680         (SETUP_PIC_REG): Use it.
68681         (SETUP_PIC_REG_LEAF): Use it.
68683 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68685         [BZ #13885]
68686         [BZ #13923]
68687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68688         USE_AS_EXPM1L.
68689         (EXPL_FINITE): Likewise.
68690         (FLDLOG): Likewise.
68691         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68692         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68693         e_expl.S.
68694         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68695         USE_AS_EXPM1L.
68696         (EXPL_FINITE): Likewise.
68697         (FLDLOG): Likewise.
68698         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68699         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68700         e_expl.S.
68701         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68702         test of -max_value argument for long double.
68703         * sysdeps/i386/fpu/libm-test-ulps: Update.
68704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68706 2012-05-06  David S. Miller  <davem@davemloft.net>
68708         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68709         quad soft-float symbols whose references which are compiler
68710         generated.
68711         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68713 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68715         [BZ #13884]
68716         [BZ #13914]
68717         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68718         USE_AS_EXP10L.
68719         (EXPL_FINITE): Likewise.
68720         (FLDLOG): Likewise.
68721         (c0): Likewise.
68722         (c1): Likewise.
68723         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68724         Adjust comments for base varying.
68725         (__expl_finite): Change alias to EXPL_FINITE.
68726         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68727         e_expl.S.
68728         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68729         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68730         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68731         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68733         USE_AS_EXP10L.
68734         (EXPL_FINITE): Likewise.
68735         (FLDLOG): Likewise.
68736         (c0): Likewise.
68737         (c1): Likewise.
68738         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68739         Adjust comments for base varying.
68740         (__expl_finite): Change alias to EXPL_FINITE.
68741         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68742         tests for bugs.
68743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68745         [BZ #14064]
68746         * math/libm-test.inc (check_float_internal): Correct ulp
68747         calculation for subnormal expected results.
68749 2012-05-06  Andreas Jaeger  <aj@suse.de>
68751         * Makeconfig (+math-flags): New, set to -frounding-math.
68752         (+cflags): Add +math-flags so that all of glibc gets compiled with
68753         it.
68755         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68757 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68759         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68760         Disable one test.
68762         [BZ #13787]
68763         [BZ #13922]
68764         [BZ #14036]
68765         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68766         (__ieee754_expl): Allow for and saturate large arguments.
68767         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68768         (u_threshold): Likewise.
68769         (__exp): Call __ieee754_exp before checking for overflow and
68770         underflow.
68771         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68772         (u_threshold): Likewise.
68773         (__expf): Call __ieee754_expf before checking for overflow and
68774         underflow.
68775         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68776         (u_threshold): Likewise.
68777         (__expl): Call __ieee754_expl before checking for overflow and
68778         underflow.
68779         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68780         (__ieee754_expl): Allow for and saturate large arguments.
68781         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68782         missing overflow exception on overflow.
68783         (expm1_test): Do not allow missing overflow exception on overflow.
68785         * sysdeps/i386/fpu/e_expl.c: Move to ...
68786         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68787         rather than using inline asm.
68788         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68789         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68790         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68792         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68793         (nice): Likewise.
68794         (poll): Likewise.
68795         (signal): Likewise.
68796         (time): Likewise.
68797         (times): Likewise.
68799 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68801         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68802         sysdeps/unix/common/syscalls.list.
68803         (fchmod): Likewise.
68804         (fchown): Likewise.
68805         (ftruncate): Likewise.
68806         (getrusage): Likewise.
68807         (gettimeofday): Likewise.
68808         (setpgid): Likewise.
68809         (setregid): Likewise.
68810         (setreuid): Likewise.
68811         (sigaction): Likewise.
68812         (truncate): Likewise.
68813         (vhangup): Likewise.
68814         * sysdeps/unix/common/syscalls.list: Remove file.
68815         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68816         * sysdeps/unix/sysv/linux/Implies: Likewise.
68818 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68820         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68822         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68823         Moved to ...
68824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68825         Here.
68826         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68827         to ...
68828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68829         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68830         to ...
68831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68832         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68833         to ...
68834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68835         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68836         to ...
68837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68838         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68839         to ...
68840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68841         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68842         to ...
68843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68844         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68845         to ...
68846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68847         Here.
68848         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68849         to ...
68850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68851         Here.
68852         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68853         to ...
68854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68855         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68856         Moved to ...
68857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68858         Here.
68859         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68860         to ...
68861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68863 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68865         * sysdeps/unix/common/bits/dirent.h: Remove file.
68866         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68868         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68869         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68870         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68871         * sysdeps/unix/bsd/isatty.c: Likewise.
68872         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68873         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68874         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68876 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68878         [BZ #13563]
68879         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68880         long double comparison inaccuracies.
68881         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68884 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68886         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68887         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68889 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68891         [BZ #14049]
68892         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68893         nonzero digits before rounding a hex value.
68894         * stdlib/tst-strtod.c (tests): Add another test.
68896 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68898         * sysdeps/s390/fpu/libm-test-ulps: Update.
68900 2012-05-03  Andreas Jaeger  <aj@suse.de>
68902         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68903         does not get optimized out.
68904         (malloc_opt_barrier): New.
68906 2012-05-03  Andreas Jaeger  <aj@suse.de>
68907             Roland McGrath  <roland@hack.frob.com>
68909         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68910         intermediate file deletion.
68911         (generated): Add .symlist files.
68913 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68915         [BZ #13775]
68916         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68917         Redirect under this condition.
68918         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68919         [__USE_GNU] (__dprintf_chk): Not under this condition.
68920         [__USE_GNU] (__vdprintf_chk): Likewise.
68921         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68922         under this condition.
68923         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68924         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68925         [__USE_XOPEN2K8] (vdprintf): Likewise.
68926         [__USE_GNU] (__dprintf_chk): Not under this condition.
68927         [__USE_GNU] (__vdprintf_chk): Likewise.
68928         [__USE_GNU] (dprintf): Likewise.
68929         [__USE_GNU] (vdprintf): Likewise.
68931 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68933         * elf/Makefile (common-generated): Set this instead of generated for
68934         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68935         $(all-built-dso)-derived lists.
68937 2012-05-03  Andreas Jaeger  <aj@suse.de>
68939         * sysdeps/i386/fpu/libm-test-ulps: Update.
68941         * FAQ: Removed.
68942         * FAQ.in: Likewise.
68943         * scripts/gen-FAQ.pl: Likewise.
68944         * manual/install.texi (Installation): Point to online location of
68945         FAQ.
68946         * Makefile (files-for-dist): Remove FAQ.
68947         (FAQ): Remove.
68949 2012-05-02  Allan McRae  <allan@archlinux.org>
68951         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68952         (LDFLAGS-reldepmod5.so): Likewise.
68953         (LDFLAGS-reldep6mod1.so): Likewise.
68954         (LDFLAGS-reldep6mod4.so): Likewise.
68955         (LDFLAGS-reldep8mod3.so): Likewise.
68956         (LDFLAGS-unload4mod1.so): Likewise.
68957         (LDFLAGS-unload4mod2.so): Likewise.
68958         (LDFLAGS-tst-initorder): Likewise.
68959         (LDFLAGS-tst-initordera2.so): Likewise.
68960         (LDFLAGS-tst-initordera3.so): Likewise.
68961         (LDFLAGS-tst-initordera4.so): Likewise.
68962         (LDFLAGS-tst-initorderb2.so): Likewise.
68963         (LDFLAGS-noload): Likewise.
68964         (LDFLAGS-next): Likewise.
68965         (LDFLAGS-order2mod1.so): Likewise.
68966         (LDFLAGS-order2mod2.so): Likewise.
68967         (LDFLAGS-tst-initorder2): Likewise.
68968         (LDFLAGS-tst-initorder2a.so): Likewise.
68969         (LDFLAGS-tst-initorder2b.so): Likewise.
68970         (LDFLAGS-tst-initorder2c.so): Likewise.
68971         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68973 2012-05-02  David S. Miller  <davem@davemloft.net>
68975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68977 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68979         [BZ #14055]
68980         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68982 2012-05-02  Andreas Jaeger  <aj@suse.de>
68984         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68985         since we manipulate rounding mode.
68986         (CPPFLAGS-test-idouble.c): Likewise.
68987         (CPPFLAGS-test-ifloat.c): Likewise.
68988         (CFLAGS-test-ldouble.c): Likewise.
68989         (CFLAGS-test-double.c): Likewise.
68990         (CFLAGS-test-float.c): Likewise.
68991         (CFLAGS-test-misc.c): Likewise.
68992         (CFLAGS-test-test-fenv.c): Likewise.
68994 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68996         [BZ #2550]
68997         [BZ #2570]
68998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68999         comparisons to determine direction to adjust input.
69001 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69003         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69004         output to the target.
69006         * scripts/localplt.awk: New file.
69007         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69008         (check-localplt-CFLAGS): Variable removed.
69009         ($(all-built-dso:=.jmprel)): New static pattern rule.
69010         (generated): Add those targets.
69011         (localplt-built-dso): New variable.
69012         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69014         * elf/check-localplt.c: File removed.
69016         * scripts/check-execstack.awk: New file.
69017         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69018         (check-execstack-CFLAGS): Variable removed.
69019         ($(objpfx)check-execstack.h): Target removed.
69020         ($(objpfx)execstack-default): New target.
69021         (generated): Add that instead of check-execstack.h.
69022         ($(all-built-dso:=.phdr)): New static pattern rule.
69023         (generated): Add those targets.
69024         * elf/check-execstack.c: File removed.
69026         * scripts/check-textrel.awk: New file.
69027         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69028         (check-textrel-CFLAGS): Variable removed.
69029         (all-built-dso): Use := to define.o
69030         ($(all-built-dso:=.dyn)): New static pattern rule.
69031         (generated): Add those targets.
69032         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69033         * config.make.in (READELF): New substituted variable.
69034         * elf/check-textrel.c: File removed.
69036 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69038         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69039         allow.
69040         * conform/data/ctype.h-data [C99-based standards] (isblank):
69041         Expect function.
69042         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69043         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69045         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69046         Specify type.  Require positive value.
69047         (EILSEQ): Likewise.
69048         (ERANGE): Likewise.
69049         [ISO || POSIX] (EILSEQ): Do not expect.
69050         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69051         Specify type.  Require positive value.
69052         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69053         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69054         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69055         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69056         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69057         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69058         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69059         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69060         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69061         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69062         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69063         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69064         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69065         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69066         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69067         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69068         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69069         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69070         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69071         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69072         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69073         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69074         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69075         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69076         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69077         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69078         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69079         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69080         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69081         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69082         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69083         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69084         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69085         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69086         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69087         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69088         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69089         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69090         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69091         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69092         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69093         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69094         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69095         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69096         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69097         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69098         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69099         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69100         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69101         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69102         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69103         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69104         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69105         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69106         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69107         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69108         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69109         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69110         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69111         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69112         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69113         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69114         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69115         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69116         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69117         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69118         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69119         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69120         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69121         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69122         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69123         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69124         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69125         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69126         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69127         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69128         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69129         Require >= 2.
69130         (FLT_ROUNDS): Expect as macro, not constant.
69131         (FLT_MANT_DIG): Use macro-int-constant.
69132         (DBL_MANT_DIG): Likewise.
69133         (LDBL_MANT_DIG): Likewise.
69134         (FLT_DIG): Likewise.
69135         (DBL_DIG): Likewise.
69136         (LDBL_DIG): Likewise.
69137         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69138         (DBL_MIN_EXP): Likewise.
69139         (LDBL_MIN_EXP): Likewise.
69140         (FLT_MAX_EXP): Use macro-int-constant.
69141         (DBL_MAX_EXP): Likewise.
69142         (LDBL_MAX_EXP): Likewise.
69143         (FLT_MAX_10_EXP): Likewise.
69144         (DBL_MAX_10_EXP): Likewise.
69145         (LDBL_MAX_10_EXP): Likewise.
69146         (FLT_MAX): Use macro-constant.
69147         (DBL_MAX): Likewise.
69148         (LDBL_MAX): Likewise.
69149         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69150         (DBL_EPSILON): Likewise.
69151         (LDBL_EPSILON): Likewise.
69152         (FLT_MIN): Likewise.
69153         (DBL_MIN): Likewise.
69154         (LDBL_MIN): Likewise.
69155         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69156         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69157         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69158         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69159         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69160         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69161         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69162         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69163         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69164         [ISO11] (FLT_TRUE_MIN): Likewise.
69165         [ISO11] (LDBL_TRUE_MIN): Likewise.
69166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69167         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69168         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69169         (SCHAR_MAX): Likewise.
69170         (UCHAR_MAX): Likewise.
69171         (CHAR_MIN): Likewise.
69172         (CHAR_MAX): Likewise.
69173         (MB_LEN_MAX): Use macro-int-constant.
69174         (SHRT_MIN): Use macro-int-constant.  Specify type.
69175         (SHRT_MAX): Likewise.
69176         (USHRT_MAX): Likewise.
69177         (INT_MAX): Likewise.
69178         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69179         bound negative.
69180         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69181         bound with "U".
69182         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69183         bound with "L".
69184         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69185         bound negative.  Suffix upper bound with "L".
69186         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69187         bound with "UL".
69188         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69189         Specify type.
69190         [C99-based standards] (LLONG_MAX): Likewise.
69191         [C99-based standards] (ULLONG_MAX): Likewise.
69192         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69193         == 0.
69194         [ISO11] (max_align_t): Require type.
69195         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69197         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69198         from $CFLAGS, without defining away __attribute__ calls.
69199         (checknamespace): Use $CFLAGS_namespace.
69201         * conform/conformtest.pl (@keywords): Only include C99 keywords
69202         for standards based on C99 or C11.
69204         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69205         Disable tests.
69206         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69207         UNIX98]: Likewise.
69209         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69210         usability of symbols in #if.
69212         * conform/conformtest.pl: If macro or constant types start
69213         "promoted:", expect the symbol to be of the following type
69214         promoted by the integer promotions.
69216         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69217         in one place.  Also handle "macro-constant".
69219         * conform/conformtest.pl: Only accept expected macro values with
69220         "==".  Parse all "macro" lines in one place.
69221         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69223         * conform/conformtest.pl: Handle braced types on "constant" lines
69224         instead of handling "typed-constant".
69225         * conform/data/signal.h-data: Use "constant" instead of
69226         "typed-constant".
69228         * conform/conformtest.pl: Handle "optional-" at start of lines in
69229         one place rather than duplicating several cases.  Handle each
69230         format of "macro" line with initial "optional-".
69232         * conform/conformtest.pl: Only accept expected constant or
69233         optional-constant values with "==".  Parse all "constant" lines in
69234         one place.  Parse all "optional-constant" lines in one place.
69235         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69236         * conform/data/fmtmsg.h-data: Likewise.
69237         * conform/data/netinet/in.h-data: Likewise.
69238         * conform/data/tar.h-data: Likewise.
69239         * conform/data/limits.h-data: Use "==" form on "constant" and
69240         "optional-constant" lines.
69242         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69243         Use -std=c99 for XOPEN2K.
69244         (@knownproblems): Remove.
69245         (newtoken): Don't check %isknown.
69247         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69248         Do not expect macro.
69249         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69250         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69251         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69252         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69253         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69254         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69255         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69256         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69257         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69258         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69259         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69260         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69261         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69262         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69263         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69264         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69265         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69266         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69267         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69268         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69269         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69270         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69271         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69272         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69273         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69274         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69275         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69276         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69277         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69278         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69279         [XPG3] (acosh): Likewise.
69280         [XPG3] (asinh): Likewise.
69281         [XPG3] (atanh): Likewise.
69282         [XPG3] (cbrt): Likewise.
69283         [XPG3] (expm1): Likewise.
69284         [XPG3] (ilogb): Likewise.
69285         [XPG3] (log1p): Likewise.
69286         [XPG3] (logb): Likewise.
69287         [XPG3] (nextafter): Likewise.
69288         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69289         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69290         [XPG3] (remainder): Likewise.
69291         [XPG3] (rint): Likewise.
69292         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69293         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69294         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69295         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69296         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69297         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69298         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69299         [UNIX98 || XOPEN2K] (scalb): Expect.
69300         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69301         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69302         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69303         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69304         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69305         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69306         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69307         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69308         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69309         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69310         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69311         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69312         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69313         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69314         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69315         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69316         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69317         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69318         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69319         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69320         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69321         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69322         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69323         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69324         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69325         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69326         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69327         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69328         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69329         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69330         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69331         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69332         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69333         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69334         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69335         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69336         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69337         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69338         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69339         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69340         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69341         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69342         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69343         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69344         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69345         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69346         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69347         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69348         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69349         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69350         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69351         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69352         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69353         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69354         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69355         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69356         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69357         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69358         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69359         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69360         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69361         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69362         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69363         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69364         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69365         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69366         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69367         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69368         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69369         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69370         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69371         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69372         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69373         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69374         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69375         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69376         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69377         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69378         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69379         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69380         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69381         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69382         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69383         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69384         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69385         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69386         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69387         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69388         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69389         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69390         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69391         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69392         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69393         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69394         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69395         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69396         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69397         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69398         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69399         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69400         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69401         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69402         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69403         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69404         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69405         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69406         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69407         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69408         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69409         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69410         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69411         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69412         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69413         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69414         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69415         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69416         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69417         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69418         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69419         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69420         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69421         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69422         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69423         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69424         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69425         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69426         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69427         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69428         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69429         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69430         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69431         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69432         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69433         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69434         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69435         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69436         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69438         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69439         _XOPEN_SOURCE_EXTENDED for XPG4.
69441         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69443         * Makeconfig (localtime): Remove variable.
69444         (inst_localtime-file): Likewise.
69446 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69449         Update.
69450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69451         Update.
69452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69453         Update.
69454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69455         Update.
69456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69457         Update.
69458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69459         Update.
69460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69461         Update.
69462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69463         Update.
69464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69465         Update.
69467 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69469         [BZ #2550]
69470         [BZ #2570]
69471         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69472         comparisons to determine direction to adjust input.
69473         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69474         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69475         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69476         Likewise.
69477         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69478         Likewise.
69479         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69480         Likewise.
69481         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69482         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69483         Likewise.
69484         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69485         Likewise.
69486         * math/libm-test.inc (nexttoward_test): Add more tests.
69488 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69490         [BZ #14040]
69491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69492         in version GLIBC_2.1, not GLIBC_2.0.
69493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69494         Likewise.
69496 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69498         [BZ #13942]
69499         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69500         (1 - x) * (1 + x).
69501         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69502         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69503         * math/libm-test.inc (acos_test): Add more tests.
69504         (asin_test): Likewise.
69505         * sysdeps/i386/fpu/libm-test-ulps: Update.
69506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69508         [BZ #14034]
69509         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69510         of square root.
69511         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69512         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69513         * math/libm-test.inc (acos_test_tonearest): New function.
69514         (acos_test_towardzero): Likewise.
69515         (acos_test_downward): Likewise.
69516         (acos_test_upward): Likewise.
69517         (asin_test_tonearest): Likewise.
69518         (asin_test_towardzero): Likewise.
69519         (asin_test_downward): Likewise.
69520         (asin_test_upward): Likewise.
69521         (main): Call the new functions.
69522         * sysdeps/i386/fpu/libm-test-ulps: Update.
69523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69525         [BZ #13884]
69526         [BZ #13924]
69527         * math/e_exp10.c: Include <float.h>.
69528         (__ieee754_exp10): Handle underflow here rather than multiplying
69529         large negative argument by M_LN10.
69530         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69531         of __ieee754_expf.
69532         * math/e_exp10l.c: Include <float.h>.
69533         (__ieee754_exp10l): Handle underflow here rather than multiplying
69534         large negative argument by M_LN10l.
69535         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69536         spurious overflow exception on underflow.
69538 2012-04-29  Marek Polacek  <polacek@redhat.com>
69540         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69541         (__fortify_function): New macro.
69542         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69543         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69544         __extern_always_inline.
69545         * libio/bits/stdio2.h: Likewise.
69546         * libio/bits/stdio.h: Likewise.
69547         * string/string.h: Likewise.
69548         * string/bits/string3.h: Likewise.
69549         * include/stdio.h: Likewise.
69550         * stdlib/bits/stdlib.h: Likewise.
69551         * stdlib/stdlib.h: Likewise.
69552         * rt/bits/mqueue2.h: Likewise.
69553         * rt/mqueue.h: Likewise.
69554         * posix/bits/unistd.h: Likewise.
69555         * posix/unistd.h: Likewise.
69556         * io/bits/poll2.h: Likewise.
69557         * io/bits/fcntl2.h: Likewise.
69558         * io/fcntl.h: Likewise.
69559         * io/sys/poll.h: Likewise.
69560         * misc/bits/syslog.h: Likewise.
69561         * misc/bits/syslog-ldbl.h: Likewise.
69562         * misc/sys/syslog.h: Likewise.
69563         * socket/bits/socket2.h: Likewise.
69564         * socket/sys/socket.h: Likewise.
69565         * debug/tst-chk1.c: Likewise.
69566         * wcsmbs/bits/wchar2.h: Likewise.
69567         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69568         * wcsmbs/wchar.h: Likewise.
69570 2012-04-29  Andreas Jaeger  <aj@suse.de>
69572         * Makerules (tests): Remove enable-check-abi protection.
69573         (check-abi-warn): Remove.
69574         (check-abi-%): Remove check-abi-warn usage.
69576         * configure.in: Remove check-abi configure option.
69577         * configure: Regenerated.
69578         * config.make.in (enable-check-abi): Remove.
69580 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69582         [BZ #14033]
69583         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69584         double functions to double *_finite functions.
69586         [BZ #13941]
69587         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69588         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69589         LDBL_MIN_EXP.
69590         * stdio-common/Makefile (tests): Add tst-sprintf3.
69591         * stdio-common/tst-sprintf3.c: New file.
69593         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69594         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69596 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69598         * conform/conformtest.pl: Remove duplicate typed-constant
69599         handling.
69601 2012-04-28  David S. Miller  <davem@davemloft.net>
69603         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69604         (check-abi-%): Remove AWK script prerequisite and explicit
69605         abilist directory.
69606         (check-abi): Rewrite to just diff the symlist with the abilist.
69607         (config-tls, config-abi-config): Delete, no longer used.
69608         (update-abi-%): Remove AWK script and explicit abilist directory.
69609         (update-abi): Rewrite to simply compare and conditionally copy the
69610         symlist and the sysdep abilist file.  Remove update-abi-config
69611         checks.
69612         * abilist/ld.abilist: Remove.
69613         * abilist/libBrokenLocale.abilist: Remove.
69614         * abilist/libanl.abilist: Remove.
69615         * abilist/libcrypt.abilist: Remove.
69616         * abilist/libdl.abilist: Remove.
69617         * abilist/librt.abilist: Remove.
69618         * abilist/libthread_db.abilist: Remove.
69619         * abilist/libutil.abilist: Remove.
69620         * scripts/extract-abilist.awk: Remove.
69621         * scripts/merge-abilist.awk: Remove.
69622         * sysdeps/generic/libcidn.abilist: New file.
69623         * sysdeps/generic/libnss_compat.abilist: New file.
69624         * sysdeps/generic/libnss_db.abilist: New file.
69625         * sysdeps/generic/libnss_dns.abilist: New file.
69626         * sysdeps/generic/libnss_files.abilist: New file.
69627         * sysdeps/generic/libnss_hesiod.abilist: New file.
69628         * sysdeps/generic/libnss_nis.abilist: New file.
69629         * sysdeps/generic/libnss_nisplus.abilist: New file.
69630         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69631         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69632         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69633         file.
69634         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69635         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69636         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69637         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69638         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69639         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69640         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69641         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69642         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69643         file.
69644         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69645         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69646         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69647         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69648         file.
69649         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69650         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69651         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69652         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69653         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69654         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69655         file.
69656         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69657         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69658         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69659         file.
69660         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69662         New file.
69663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69664         New file.
69665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69666         New file.
69667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69668         New file.
69669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69670         New file.
69671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69672         New file.
69673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69674         New file.
69675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69676         New file.
69677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69678         New file.
69679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69680         New file.
69681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69682         New file.
69683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69684         New file.
69685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69686         New file.
69687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69688         file.
69689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69690         New file.
69691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69692         New file.
69693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69694         file.
69695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69696         New file.
69697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69698         New file.
69699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69700         file.
69701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69702         New file.
69703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69704         New file.
69705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69706         New file.
69707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69708         New file.
69709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69710         New file.
69711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69712         New file.
69713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69715         file.
69716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69717         New file.
69718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69719         file.
69720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69721         file.
69722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69723         file.
69724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69725         file.
69726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69727         file.
69728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69729         New file.
69730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69731         file.
69732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69733         file.
69734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69735         New file.
69736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69737         file.
69738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69740         file.
69741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69742         New file.
69743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69744         file.
69745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69746         file.
69747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69748         file.
69749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69750         file.
69751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69752         file.
69753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69754         New file.
69755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69756         file.
69757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69758         file.
69759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69760         New file.
69761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69762         file.
69763         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69764         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69765         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69766         file.
69767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69768         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69769         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69770         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69771         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69772         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69773         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69774         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69775         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69776         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69779         file.
69780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69781         New file.
69782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69783         file.
69784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69785         file.
69786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69787         file.
69788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69789         file.
69790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69791         file.
69792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69793         New file.
69794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69795         New file.
69796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69797         file.
69798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69799         New file.
69800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69801         file.
69802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69804         file.
69805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69806         New file.
69807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69808         file.
69809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69810         file.
69811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69812         file.
69813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69814         file.
69815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69816         file.
69817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69818         New file.
69819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69820         New file.
69821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69822         file.
69823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69824         New file.
69825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69826         file.
69828 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69830         * conform/conformtest.pl: Fix typo in handling typed-constant from
69831         allow-header.
69833 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69835         * README: Cut down references to pre-2.6 Linux kernels and
69836         Linuxthreads.  Update lists of configurations in libc and ports
69837         and sort alphabetically.  Say "or newer" with Linux kernel version
69838         requirements.
69840         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69842 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69844         [BZ #887]
69845         * math/libm-test.inc (logb_test_downward): New test to expose
69846         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69847         rounding mode.
69849 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69851         [BZ #14027]
69852         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69853         to be done.
69854         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69855         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69857 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69859         * sysdeps/unix/i386/brk.S: Remove file.
69860         * sysdeps/unix/i386/dl-brk.S: Likewise.
69861         * sysdeps/unix/i386/pipe.S: Likewise.
69862         * sysdeps/unix/i386/sigreturn.S: Likewise.
69863         * sysdeps/unix/i386/syscall.S: Likewise.
69864         * sysdeps/unix/i386/vfork.S: Likewise.
69865         * sysdeps/unix/i386/wait.S: Likewise.
69867         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69868         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69870         * configure.in (arm*-none*): Do not allow without
69871         --enable-hacker-mode.
69872         (netbsd*): Remove case setting base_os.
69873         (386bsd*): Likewise.
69874         (freebsd*): Likewise.
69875         (bsdi*): Likewise.
69876         (osf*): Likewise.
69877         (sunos*): Likewise.
69878         (ultrix*): Likewise.
69879         (newsos*): Likewise.
69880         (dynix*): Likewise.
69881         (*bsd*): Likewise.
69882         (sysv*): Likewise.
69883         (isc*): Likewise.
69884         (esix*): Likewise.
69885         (sco*): Likewise.
69886         (minix*): Likewise.
69887         (irix4*): Likewise.
69888         (irix6*): Likewise.
69889         (solaris[2-9]*): Likewise.
69890         (none): Likewise.
69891         * configure: Regenerated.
69893 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69895         [BZ #11521]
69896         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69897         overflow or cancellation in calculating denominator.
69898         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69899         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69900         down expression to avoid unexpected rounding in newer GCCs.
69901         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69903 2012-04-26  David S. Miller  <davem@davemloft.net>
69905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69906         long-double compat symbols.
69907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69921 2012-04-25  David S. Miller  <davem@davemloft.net>
69923         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69924         HWCAP_* values only after the memory barriers have been defined.
69925         (atomic_full_barrier): Define.
69926         (atomic_read_barrier): Define.
69927         (atomic_write_barrier): Define.
69929 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69931         * shlib-versions: Add libgcc_s version information.
69932         * sysdeps/generic/libgcc_s.h: Remove.
69933         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69934         libgcc_s.h.
69935         * sysdeps/gnu/unwind-resume.c: Likewise.
69936         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69938 2012-04-25  David S. Miller  <davem@davemloft.net>
69940         * sysdeps/unix/sparc/brk.S: Delete.
69941         * sysdeps/unix/sparc/dl-brk.S: Delete.
69942         * sysdeps/unix/sparc/pipe.S: Delete.
69943         * sysdeps/unix/sparc/sysdep.S: Delete.
69944         * sysdeps/unix/sparc/sysdep.h: Delete.
69945         * sysdeps/unix/sparc/vfork.S: Delete.
69946         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69947         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69948         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69949         (ret_ERRVAL, r0, r1, MOVE): Define.
69950         (JUMPTARGET): Remove.
69951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69952         sysdeps/unix/sparc/sysdep.h
69953         (ENTRY, END): Remove.
69954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69956 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69958         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69959         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69960         -DIS_IN_build.
69962         * timezone/README: Update upstream location and email address for
69963         tzcode and tzdata.
69964         * timezone/zdump.c: Update from tzcode 2012b.
69965         * timezone/zic.c: Likewise.
69967         * configure.in (libc_cv_as_needed): Remove test.
69968         * configure: Regenerated.
69969         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69970         conditional definition.
69971         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69972         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69973         * config.make.in (have-as-needed): Remove variable.
69975 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69976             Paul Pluzhnikov  <ppluzhnikov@google.com>
69978         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69979         strings correctly.
69981 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69983         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69984         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69985         * sysdeps/sh/strlen.S: Likewise.
69987 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69989         * sysdeps/unix/fork.S: Remove file.
69990         * sysdeps/unix/i386/fork.S: Likewise.
69991         * sysdeps/unix/sparc/fork.S: Likewise.
69993         * sysdeps/unix/system.c: Remove file.
69994         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69996         * sysdeps/unix/getegid.S: Remove file.
69997         * sysdeps/unix/geteuid.S: Likewise.
69999 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70001         * scripts/check-localplt.awk: New file.
70002         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70003         of diff.
70004         * scripts/data/localplt-generic.data: Add a comment.
70006         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70007         NODE when __dir_mkfile failed.
70008         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70009         Reported by Ludovic Courtès <ludo@gnu.org>.
70011 2012-04-24  Andreas Jaeger  <aj@suse.de>
70013         * Makerules (common-clean): Also remove gen-as-const-headers
70014         files.
70016 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70018         * Makerules (native-compile): Do not change working directory for
70019         build.  Use $(OUTPUT_OPTION) in command.
70020         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70022 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70024         [BZ #13886]
70025         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70026         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70027         * math/libm-test.inc (floor_test): Add more tests.
70028         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70030 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70032         * sysdeps/unix/getdents.c: Remove file.
70033         * sysdeps/unix/sysv/getdents.c: Likewise.
70034         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70036         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70037         sysdeps/unix/mman/syscalls.list.
70038         (mmap): Likewise.
70039         (mprotect): Likewise.
70040         (msync): Likewise.
70041         (munmap): Likewise.
70042         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70043         * sysdeps/unix/mman/syscalls.list: Remove.
70044         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70046         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70047         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70048         * configure: Regenerated.
70049         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70050         $(libgcc_s_suffix).
70051         * config.make.in (libgcc_s_suffix): Remove variable.
70053 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70055         * sysdeps/unix/sysv/gethostname.c: Move to ...
70056         * sysdeps/posix/gethostname.c: ... here.
70058         * sysdeps/unix/execve.S: Remove file.
70060         * sysdeps/unix/_exit.S: Remove file.
70062 2012-04-23  Andreas Jaeger  <aj@suse.de>
70064         [BZ #13739]
70065         * manual/Makefile: Remove make dist support, there's no
70066         need for a stand-alone documentation tar ball.
70067         (TEXI2DVI): Define always, it's not in Makeconfig.
70068         (dist): Removed.
70069         (tar-it): Removed.
70070         (edition): Removed.
70071         (glibc-doc-$(edition).tar): Removed
70072         (%.Z): Removed.
70073         (%.gz): Removed.
70074         (%.uu): Removed.
70075         (ETAGS): Remove, it's in Makeconfig.
70076         (move-if-change): Remove, it's in Makeconfig.
70078 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70080         [BZ #13970]
70081         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70082         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70083         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70084         (strtod_l, strtof_l, strtold_l): Remove __wur.
70085         It is not necessarily an error to ignore strtol's return value.
70086         One can reliably look at the stored endptr to decide whether
70087         the number had valid syntax.
70089 2012-04-21  Andreas Jaeger  <aj@suse.de>
70091         [BZ #13739]
70092         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70094 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70096         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70097         * sysdeps/unix/sysv/Versions: Remove file.
70099 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70101         [BZ #13927]
70102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70104 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70106         [BZ #7064]
70107         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70108         version from __vm86.
70110 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70112         * sysdeps/unix/common/lxstat.c: Remove file.
70113         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70115         * sysdeps/unix/sysv/Makefile: Remove file.
70117         * sysdeps/unix/sysv/direct.h: Remove file.
70119         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70120         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70121         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70122         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70123         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70124         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70125         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70127         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70129         * sysdeps/unix/xmknod.c: Remove file.
70130         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70132         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70134         * sysdeps/unix/sysv/i386/time.S: Remove file.
70136         * sysdeps/unix/fxstat.c: Remove file.
70137         * sysdeps/unix/xstat.c: Likewise.
70138         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70140         * sysdeps/unix/sysv/sigaction.c: Remove file.
70142         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70143         (sysdep_headers): Remove variable.
70144         [termio.h not in sysdep_headers] (generated): Likewise.
70145         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70146         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70147         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70148         * sysdeps/unix/sysv/tcflow.c: Likewise.
70149         * sysdeps/unix/sysv/tcflush.c: Likewise.
70150         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70151         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70152         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70153         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70154         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70156         * sysdeps/unix/siglist.c: Remove file.
70158         * sysdeps/unix/getppid.S: Remove file.
70160         * sysdeps/unix/mkdir.c: Remove file.
70161         * sysdeps/unix/rmdir.c: Likewise.
70163 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70165         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70166         ERR_MAX value.
70167         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70168         errlist-compat value.
70170 2012-04-18  David S. Miller  <davem@davemloft.net>
70172         * sysdeps/generic/memcopy.h (reg_char): Delete.
70173         * debug/strcat_chk.c: Use char, not reg_char.
70174         * debug/strcpy_chk.c: Likewise.
70175         * debug/strncat_chk.c: Likewise.
70176         * debug/strncpy_chk.c: Likewise.
70177         * string/memchr.c: Likewise.
70178         * string/memrchr.c: Likewise.
70179         * string/rawmemchr.c: Likewise.
70180         * string/strcat.c: Likewise.
70181         * string/strchr.c: Likewise.
70182         * string/strchrnul.c: Likewise.
70183         * string/strcmp.c: Likewise.
70184         * string/strcpy.c: Likewise.
70185         * string/strncat.c: Likewise.
70186         * string/strncmp.c: Likewise.
70187         * string/strncpy.c: Likewise.
70189 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70191         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70192         __builtin_memcopy is called when src and dest ranges are known to not
70193         overlap.
70195 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70197         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70198         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70199         fwd_align_merge macro call.
70200         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70201         bwd_align_merge macro call.
70202         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70204 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70206         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70207         bwd_align_merge macros.
70208         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70209         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70210         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70212 2012-04-18  David S. Miller  <davem@davemloft.net>
70214         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70216 2012-04-18  Andreas Jaeger  <aj@suse.de>
70218         [BZ# 6794]
70219         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70220         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70221         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70223         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70224         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70225         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70227         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70228         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70229         Adjust for changed ldbl-128 files.
70231         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70232         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70233         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70235 2012-04-17  David S. Miller  <davem@davemloft.net>
70237         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70239 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70241         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70242         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70243         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70244         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70245         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70246         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70248 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70250         [BZ #6794]
70251         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70252         * math/libm-test.inc: Add ilogb errno and exception tests.
70253         * math/w_ilogb.c: New file: ilogb wrapper.
70254         * math/w_ilogbf.c: New file: ilogbf wrapper.
70255         * math/w_ilogbl.c: New file: ilogbl wrapper.
70256         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70257         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70258         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70259         exception being thrown with 0.0 as argument.
70260         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70261         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70262         exception being thrown with 0.0 as argument.
70263         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70264         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70265         exception being thrown with 0.0 as argument.
70266         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70267         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70268         exception being thrown with 0.0 as argument.
70269         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70270         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70271         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70272         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70273         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70274         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70275         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70276         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70277         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70279 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70281         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70282         with altivec.
70284 2012-04-16  Marek Polacek  <polacek@redhat.com>
70286         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70288 2012-04-16  Marek Polacek  <polacek@redhat.com>
70290         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70291         operands of fdivp instruction.
70293 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70295         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70296         * elf/tst-auditmod3b.c: Likewise.
70297         * elf/tst-auditmod4b.c: Likewise.
70298         * elf/tst-auditmod5b.c: Likewise.
70299         * elf/tst-auditmod6b.c: Likewise.
70300         * elf/tst-auditmod6c.c: Likewise.
70301         * elf/tst-auditmod7b.c: Likewise.
70302         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70303         * sysdeps/x86_64/preconfigure.in: Likewise.
70304         * sysdeps/x86_64/preconfigure: Regenerated.
70306 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70308         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70309         __ILP32__.
70311 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70313         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70314         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70316 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70318         [BZ #13973]
70319         * locale/iso-639.def: Fix gl language name. Spotted by
70320         Yaron Shahrabani.
70322 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70324         [BZ #2074]
70325         * libio/libio.h (__io_write_fn): Update comment.
70327 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70329         [BZ #2074]
70330         * stdio.texi (Hook Functions): The user provided writer function
70331         is not allowed to return -1.
70333 2012-04-11  David S. Miller  <davem@davemloft.net>
70335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70337 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70339         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70340         Add a leading slash to rtkaio.
70342 2012-04-11  Jim Meyering  <meyering@redhat.com>
70344         [BZ #11959]
70345         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70346         It is not necessarily an error to ignore fwrite's return
70347         value.  One can reliably use ferror to test for errors after
70348         the fact.
70350 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70352         * bits/types.h (__snseconds_t): New type.
70353         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70355         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70356         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70357         (__SNSECONDS_T_TYPE): Likewise.
70358         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70359         (__SNSECONDS_T_TYPE): Likewise.
70360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70361         (__SNSECONDS_T_TYPE): Likewise.
70363 2012-04-10  Andreas Jaeger  <aj@suse.de>
70365         [BZ #2636]
70366         * manual/time.texi (Processor Time): Return type of times is
70367         elapsed real time since an arbitrary point in the past.
70368         (CPU Time): Move CLK_TCK from here...
70369         (Processor Time): ...to here.  Correct description.
70370         * manual/conf.texi (Constants for Sysconf): Correct description of
70371         _SC_CLK_TCK.
70373 2012-04-10  David S. Miller  <davem@davemloft.net>
70375         [BZ #13967]
70376         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70377         where the is a gap between DT_REL(A) and DT_JMPREL.
70379 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70381         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70382         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70383         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70385 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70387         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70388         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70389         (dl_main): Handle --inhibit-cache.
70390         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70391         _dl_inhibit_cache.
70392         * elf/dl-load.c (_dl_map_object): Use it.
70393         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70395 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70397         [BZ #13872]
70398         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70399         (__ieee754_powl): Saturate large exponents rather than testing for
70400         overflow of y*log2(x).
70401         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70402         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70403         exceptions.
70405         [BZ #11521]
70406         * math/s_ctan.c: Include <float.h>.
70407         (__ctan): Avoid internal overflow or cancellation in calculating
70408         denominator.
70409         * math/s_ctanf.c: Likewise.
70410         * math/s_ctanl.c: Likewise.
70411         * math/s_ctanh.c: Likewise.
70412         * math/s_ctanhf.c: Likewise.
70413         * math/s_ctanhl.c: Likewise.
70414         * math/libm-test.inc (ctan_test): Add more tests.
70415         (ctanh_test): Likewise.
70416         * sysdeps/i386/fpu/libm-test-ulps: Update.
70417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70419 2012-04-09  Andreas Jaeger  <aj@suse.de>
70421         [BZ #6894]
70422         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70423         is an optional BSD extension.
70425         [BZ #10254]
70426         * manual/stdio.texi (Opening Streams): Document additional fopen
70427         parameters.
70429 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70431         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70432         %eax without telling the compiler.
70434 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70436         [BZ # 13963]
70437         * manual/install.texi: Use sourceware.org.
70439 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70441         [BZ #13873]
70442         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70443         (__ieee754_pow): Generate overflow and underflow using huge*huge
70444         and tiny*tiny rather than just returning constant infinity or zero
70445         for large exponents.
70446         * math/libm-test.inc (pow_test): Require overflow exceptions for
70447         applicable cases of large exponents.
70449         [BZ #706]
70450         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70451         (__ieee754_pow): Use iterative multiplication algorithm only for
70452         integer exponents with absolute value below 1024.  Check for odd
70453         integer exponents when using algorithm for real exponents.
70454         * math/libm-test.inc (pow_test): Add more tests.
70455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70457 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70459         [BZ #13705]
70460         * math/libm-test.inc (exp_test): Do not allow overflow exception
70461         on underflow test.
70463 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70465         [BZ #13705]
70466         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70467         instead of __kernel_standard_f.
70469 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70471         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70472         * sysdeps/x86_64/memset_chk.S: Likewise.
70474 2012-04-08  Andreas Jaeger  <aj@suse.de>
70476         [BZ #10153]
70477         * manual/startup.texi (Environment Access): Describe return value
70478         for putenv and setenv.
70480         [BZ #6895]
70481         * manual/filesys.texi (Directory Entries): Add description for
70482         DT_LNK.
70484         [BZ #6890]
70485         * manual/filesys.texi (Directory Entries): Clarify that it's file
70486         system not operating system in the description of DT_UNKNOWN.
70488         [BZ #6578]
70489         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70491 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70493         [BZ #6649]
70494         * manual/llio.texi (Opening and Closing Files): Add cross
70495         reference to explain mode argument.
70497 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70499         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70500         * sysdeps/x86_64/memset_chk.S: Likewise.
70502 2012-04-07  David S. Miller  <davem@davemloft.net>
70504         * elf/elf.h (R_SPARC_WDISP10): Define.
70505         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70506         R_SPARC_SIZE32.
70507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70508         R_SPARC_SIZE64 and R_SPARC_H34.
70510 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70512         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70513         conditions and remove no longer applicable assertion.
70515 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70517         * bits/byteswap.h: Include <features.h>.
70518         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70519         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70521 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70523         * bits/byteswap.h (__bswap_16): Removed.
70524         Include <bits/byteswap-16.h> to get __bswap_16.
70525         * sysdeps/i386/bits/byteswap.h: Likewise.
70526         * sysdeps/s390/bits/byteswap.h: Likewise.
70527         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70528         * bits/byteswap-16.h: New file.
70529         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70530         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70531         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70532         * string/Makefile (headers): Add bits/byteswap-16.h.
70534 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70536         [BZ #13895]
70537         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70538         extra indirection.
70539         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70540         * nss/tst-nss-static.c: New.
70542 2012-04-06  Robert Millan  <rmh@gnu.org>
70544         [BZ #6486]
70545         * manual/llio.texi (File Position Primitive): lseek
70546         refers to WHENCE when it really means OFFSET.
70548 2012-04-06  Andreas Jaeger  <aj@suse.de>
70550         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70551         strncmp declarations.
70553         * abilist/libc.abilist: Add __poll and __ppoll.
70555 2012-04-05  David S. Miller  <davem@davemloft.net>
70557         * scripts/check-local-headers.sh: Accept a host triplet in the
70558         path matched by the exclude regexp.
70560         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70561         definition.
70562         * sysdeps/powerpc/powerpc32/dl-machine.h
70563         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70564         * sysdeps/s390/s390-32/dl-machine.h
70565         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70566         * sysdeps/sparc/sparc32/dl-machine.h
70567         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70568         * sysdeps/sparc/sparc64/dl-machine.h
70569         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70571         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70572         lazy binding.
70573         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70574         undefined symbol errors.
70576         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70577         DT_NEEDED entries.
70579 2012-04-05  Michael Matz  <matz@suse.de>
70581         [BZ #13592]
70582         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70584 2012-04-05  Andreas Jaeger  <aj@suse.de>
70586         [BZ #13908]
70587         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70588         comment.
70590 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70592         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70593         which ROUND is no valid rounding mode.
70595 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70598         read again.
70599         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70601 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70603         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70604         an exception using FPU order intentionally.
70606 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70608         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70609         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70610         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70611         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70613 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70615         [BZ #12340]
70616         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70617         EINVAL when BUFLEN is too smal.
70619 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70621         [BZ #13553]
70622         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70623         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70625 2012-04-03  Andreas Jaeger  <aj@suse.de>
70627         [BZ #13938]
70628         * manual/setjmp.texi (System V contexts): Fix sentence.
70630         [BZ #13926]
70631         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70632         New macro for this case.
70633         [!__GNUC__] (__bswap_64): New inline function for this case.
70634         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70635         * bits/byteswap.h: Likewise.
70636         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70637         ull, guard with __GLIBC_HAVE_LONG_LONG.
70639         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70640         __GLIBC_HAVE_LONG_LONG.
70642         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70643         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70645 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70647         [BZ #13691]
70648         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70649         inptr and inend, rather than using last_ch.
70651 2012-04-02  David S. Miller  <davem@davemloft.net>
70653         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70654         * stdio-common/printf-parse.h (read_int): Change return type to
70655         'int', return -1 on INT_MAX overflow.
70656         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70657         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70658         overflows INT_MAX.  Check for overflow of in-format-string precision
70659         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70660         SIZE_MAX not INT_MAX for integer overflow test.
70661         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70662         skip the construct in the format string but do not record anything.
70663         * stdio-common/bug22.c: Adjust to test both width/prevision
70664         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70665         explicitly for proper errno values.
70667 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70669         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70670         CHAR_MAX.
70671         * string/test-strcmp.c [! WIDE]: Likewise.
70672         * time/tst-mktime2.c: Likewise for INT_MAX.
70673         * string/test-string.h: #include <sys/param.h> for MIN.
70675         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70676         * sysdeps/i386/init-first.c (init): Likewise.
70677         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70678         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70679         * sysdeps/sh/init-first.c (init): Likewise.
70681 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70683         * po/ru.po: Update from translation team.
70684         * po/vi.po: Likewise.
70686 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70688         * resolv/nss_dns/dns-host.c: Merge copyright years.
70690 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70693         Optimize memcpy with prefetch if
70694         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70695         src, dst pointers have unequal 16 byte alignments.
70697 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70699         [BZ #13928]
70700         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70701         from a CNAME entry and return the minimum ttl for the query.
70702         (gaih_getanswer_slice): Likewise.
70704 2012-03-30  Jeff Law  <law@redhat.com>
70706         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70707         due to long keys.
70708         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70709         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70711         * resolv/nss_dns/dns-host.c: Update copyright year.
70713 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70715         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70716         requests to save a system call.  Fix check that all bytes are sent.
70718         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70719         comments for sendmmsg.
70721 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70723         [BZ #13691]
70724         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70725         with only 1 character between 0x0041 and 0x01b0.
70726         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70727         * wcsmbs/tst-mbsnrtowcs.c: New file.
70729 2012-03-29  David S. Miller  <davem@davemloft.net>
70731         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70732         small copies by hand.
70734 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70736         [BZ #13761]
70737         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70738         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70739         group memberships.
70741 2012-03-28  David S. Miller  <davem@davemloft.net>
70743         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70744         that branches into memcpy.
70745         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70746         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70748         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70750         bits.
70751         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70752         implementation too.
70753         * sysdeps/sparc/mempcpy.S: New file.
70755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70756         the IFUNC routine in the libc case.
70757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70759         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70760         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70761         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70762         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70763         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70764         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70765         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70766         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70768         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70769         loop to 256 bytes instead of 64 bytes and fix test signedness.
70771         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70772         * sysdeps/sparc/sparc32/Makefile: rather than here...
70773         * sysdeps/sparc/sparc64/Makefile: and here.
70775 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70777         * malloc/mallocbug.c: Avoid warnings about unused variables.
70779 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70781         [BZ #13760]
70782         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70783         in the right place. Discard and retry query if response is
70784         larger than input buffer size.
70786 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70788         [BZ #369]
70789         [BZ #2678]
70790         [BZ #3866]
70791         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70792         x for large integer exponent.
70793         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70794         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70795         sign of result as needed afterwards.
70796         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70797         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70798         result for underflowing pow the same as for overflow.
70799         (__kernel_standard_l): Handle powl overflow and underflow here
70800         rather than calling __kernel_standard.
70801         * math/libm-test.inc (pow_test): Add more tests.
70803         [BZ #3868]
70804         [BZ #13879]
70805         [BZ #13910]
70806         [BZ #13911]
70807         [BZ #13912]
70808         [BZ #13913]
70809         [BZ #13915]
70810         [BZ #13916]
70811         [BZ #13917]
70812         [BZ #13918]
70813         [BZ #13919]
70814         [BZ #13920]
70815         [BZ #13921]
70816         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70817         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70818         (__kernel_standard_l): New function.
70819         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70820         __kernel_standard.
70821         * math/w_acosl.c (__acosl): Likewise.
70822         * math/w_asinl.c (__asinl): Likewise.
70823         * math/w_atan2l.c (__atan2l): Likewise.
70824         * math/w_atanhl.c (__atanhl): Likewise.
70825         * math/w_coshl.c (__coshl): Likewise.
70826         * math/w_exp10l.c (__exp10l): Likewise.
70827         * math/w_exp2l.c (__exp2l): Likewise.
70828         * math/w_fmodl.c (__fmodl): Likewise.
70829         * math/w_hypotl.c (__hypotl): Likewise.
70830         * math/w_j0l.c (__j0l, __y0l): Likewise.
70831         * math/w_j1l.c (__j1l, __y1l): Likewise.
70832         * math/w_jnl.c (__jnl, __ynl): Likewise.
70833         * math/w_lgammal.c (__lgammal): Likewise.
70834         * math/w_log10l.c (__log10l): Likewise.
70835         * math/w_log2l.c (__log2l): Likewise.
70836         * math/w_logl.c (__logl): Likewise.
70837         * math/w_powl.c (__powl): Likewise.
70838         * math/w_remainderl.c (__remainderl): Likewise.
70839         * math/w_scalbl.c (sysv_scalbl): Likewise.
70840         * math/w_sinhl.c (__sinhl): Likewise.
70841         * math/w_sqrtl.c (__sqrtl): Likewise.
70842         * math/w_tgammal.c (__tgammal): Likewise.
70843         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70844         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70845         * math/libm-test.inc (acos_test): Add more tests.
70846         (acosh_test): Likewise.
70847         (asin_test): Likewise.
70848         (atanh_test): Likewise.
70849         (exp_test): Likewise.
70850         (exp10_test): Likewise.
70851         (exp2_test): Likewise.
70852         (expm1_test): Likewise.
70853         (lgamma_test): Likewise.
70854         (log_test): Likewise.
70855         (log10_test): Likewise.
70856         (log1p_test): Likewise.
70857         (log2_test): Likewise.
70858         (pow_test): Do not allow some spurious overflow exceptions.
70859         (sqrt_test): Add more tests.
70860         (tgamma_test): Likewise.
70861         (y0_test): Likewise.
70862         (y1_test): Likewise.
70863         (yn_test): Likewise.
70865 2012-03-27  Anton Blanchard  <anton@samba.org>
70867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70868         MAP_HUGETLB.
70869         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70870         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70871         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70873 2012-03-27  David S. Miller  <davem@davemloft.net>
70875         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70877         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70878         have-as-vis3 check.
70880 2012-03-27  Andreas Jaeger  <aj@suse.de>
70882         * sysdeps/x86_64/elf/configure.in: Moved to ...
70883         * sysdeps/x86_64/configure.in: ... here.
70884         * sysdeps/x86_64/elf/start.S: Moved to ...
70885         * sysdeps/x86_64/start.S: ... here.
70886         * sysdeps/x86_64/elf/configure: Delete.
70888         * sysdeps/x86_64/configure.in: Merge contents from
70889         sysdeps/i386/configure.in (without i686 check).
70891         * sysdeps/i386/elf/Versions: Merge into ...
70892         * sysdeps/i386/Versions: ... this.
70893         * sysdeps/i386/elf/Versions: Delete file.
70894         * sysdeps/i386/elf/start.S: Moved to ...
70895         * sysdeps/i386/start.S: ...here.
70896         * sysdeps/i386/elf/configure.in: Merge into...
70897         * sysdeps/i386/configure.in: ...here.
70898         * sysdeps/i386/elf/configure.in: Delete file.
70899         * sysdeps/i386/elf/configure: Delete file.
70901         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70902         * debug/backtracesyms.c: ... here.
70903         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70904         * debug/backtracesymsfd.c: ... here.
70905         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70906         * sysdeps/generic/ifunc-sel.h: ... here.
70908         * sysdeps/unix/i386/start.c: Delete file.
70909         * sysdeps/unix/sparc/start.c: Delete file.
70910         * sysdeps/unix/start.c: Delete file.
70912         * sysdeps/sh/elf/configure.in: Moved to ...
70913         * sysdeps/sh/configure.in: ... here.
70914         * sysdeps/sh/elf/start.S: Moved to ...
70915         * sysdeps/sh/start.S: ... here.
70916         * sysdeps/sh/elf/configure: Delete file.
70918         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70919         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70920         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70921         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70922         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70923         * sysdeps/powerpc/powerpc64/start.S: here.
70924         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70925         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70926         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70927         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70928         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70930         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70931         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70932         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70933         * sysdeps/powerpc/powerpc32/start.S: ... here.
70934         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70935         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70936         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70938         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70939         * sysdeps/powerpc/ifunc-sel.h: ... here.
70940         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70941         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70943         * sysdeps/sparc/elf/configure.in: Moved to ...
70944         * sysdeps/sparc/configure.in: ... here.
70945         * sysdeps/sparc/elf/configure: Delete file.
70946         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70947         * sysdeps/sparc/sparc32/start.S: ... here.
70948         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70949         * sysdeps/sparc/sparc64/start.S: ... here.
70950         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70951         * sysdeps/sparc/sparc32/Makefile: ... this.
70952         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70953         * sysdeps/sparc/sparc64/Makefile: ... this.
70955         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70956         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70957         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70958         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70959         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70960         * sysdeps/s390/s390-32/setjmp.S: ... here.
70961         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70962         * sysdeps/s390/s390-32/configure.in: ... here.
70963         * sysdeps/s390/s390-32/elf/configure: Delete file.
70964         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70965         * sysdeps/s390/s390-32/start.S: ... here.
70967         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70968         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70969         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70970         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70971         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70972         * sysdeps/s390/s390-64/setjmp.S: ... here.
70973         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70974         * sysdeps/s390/s390-64/configure.in: ... here
70975         * sysdeps/s390/s390-64/elf/configure: Delete file.
70976         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70977         * sysdeps/s390/s390-64/start.S: ... here.
70978         * sysdeps/s390/s390-64/elf/configure: Delete.
70980         * configure.in: Remove support for elf directories in sysdeps.
70982         * configure: Regenerated.
70983         * sysdeps/i386/configure: Regenerated.
70984         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70985         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70986         * sysdeps/s390/s390-32/configure: Regenerated.
70987         * sysdeps/s390/s390-64/configure: Regenerated.
70988         * sysdeps/sh/configure: Regenerated.
70989         * sysdeps/sparc/configure: Regenerated.
70990         * sysdeps/x86_64/configure: Regenerated.
70992 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70997         denormal result into account.
70999 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71001         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71002         Reported by Allan McRae <allan@archlinux.org>.
71004 2012-03-23  Jeff Law  <law@redhat.com>
71006         * nss/getnssent.c (__nss_getent): Fix typo.
71008 2012-03-23  David S. Miller  <davem@davemloft.net>
71010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71012 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71014         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71015         to pad to uint64_t for each field.
71016         (dl_tls_index): Replace unsigned long with uint64_t.
71018 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71019         Paul Pluzhnikov  <ppluzhnikov@google.com>
71021         [BZ #6528]
71022         * grp/Makefile (otherlibs): Don't set it.
71023         * inet/Makefile (otherlibs): Likewise.
71024         * login/Makefile (otherlibs): Likewise.
71025         * nscd/Makefile (otherlibs): Likewise.
71026         * posix/Makefile (otherlibs): Likewise.
71027         * pwd/Makefile (otherlibs): Likewise.
71028         * rt/Makefile (otherlibs): Likewise.
71029         * sunrpc/Makefile (otherlibs): Likewise.
71030         * nss/Makefile (otherlibs): Likewise.
71031         Add libnss_files to routines and static-only-routines.
71032         ($(objpfx)getent): Remove rule.
71033         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71034         static-only-routines.
71036 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71038         [BZ #13892]
71039         * math/s_cexp.c: Include <float.h>.
71040         (__cexp): Handle exp result overflowing not necessarily
71041         overflowing both real and imaginary parts of result.
71042         * math/s_cexpf.c: Likewise.
71043         * math/s_cexpl.c: Likewise.
71044         * math/libm-test.inc (cexp_test): Add more tests.
71045         * sysdeps/i386/fpu/libm-test-ulps: Update.
71046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71048 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71050         * include/link.h (ELFW): New macro.
71051         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71052         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71054 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71056         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71057         with uint64_t.
71059 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71061         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71062         declaration.
71063         (struct La_x32_retval): Likewise.
71065 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71067         * sysdeps/x86_64/preconfigure.in: New file.
71068         * sysdeps/x86_64/preconfigure: New generated file.
71070 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71072         [BZ #13824]
71073         * math/e_exp2l.c: Include <float.h>.
71074         (__ieee754_exp2l): Handle overflow and underflow cases
71075         separately.  Only pass fractional part of argument to
71076         __ieee754_expl.
71077         * math/libm-test.inc (exp2_test): Add more tests.
71079         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71080         negating x to take absolute value.
71081         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71082         Likewise.
71083         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71084         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71085         Likewise.
71086         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71087         computing low part if x was negated.
71088         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71090 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71092         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71093         la_x32_gnu_pltexit.
71094         (pltexit): Cast int_retval to ptrdiff_t.
71095         * elf/tst-auditmod3b.c: Likewise.
71096         * elf/tst-auditmod4b.c: Likewise.
71097         * elf/tst-auditmod5b.c: Likewise.
71098         * elf/tst-auditmod6b.c: Likewise.
71099         * elf/tst-auditmod6c.c: Likewise.
71100         * elf/tst-auditmod7b.c: Likewise.
71102         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71103         and x32_gnu_pltexit.
71105         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71106         __ELF_NATIVE_CLASS.
71107         (La_x32_regs): New macro.
71108         (La_x32_retval): Likewise.
71109         (la_x32_gnu_pltenter): New function prototype.
71110         (la_x32_gnu_pltexit): Likewise.
71112 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71114         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71115         exponent.
71117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71119         * configure.in (libc_cv_cc_nofma): Check for option to disable
71120         generation of FMA instructions.
71121         * configure: Regenerate.
71122         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71123         * sysdeps/ieee754/dbl-64/Makefile: New file.
71124         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71125         Remove brandred-fma4.
71126         (CFLAGS-brandred-fma4.c): Remove.
71127         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71128         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71129         define.
71130         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71131         define.
71133 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71135         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71136         LLONG_MAX != LONG_MAX.
71137         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71138         (_fitoa_word): Likewise.
71139         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71140         LLONG_MAX != LONG_MAX.
71141         * stdio-common/_itowa.h: Include <_itoa.h>.
71142         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71143         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71144         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71145         only if not defined.
71146         (_ITOA_WORD_TYPE): Likewise.
71147         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71148         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71150 2012-03-21  David S. Miller  <davem@davemloft.net>
71152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71154 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71156         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71157         of x86_64 when setting libc_cv_slibdir, libdir and
71158         libc_cv_localedir.
71159         * sysdeps/unix/sysv/linux/configure: Regenerated.
71161 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71163         * manual/lang.texi (Old Varargs): Remove section.
71164         (How Variadic): Update menu.
71165         (va_start): Do not mention varargs.h.
71167 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71168             Joseph Myers  <joseph@codesourcery.com>
71170         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71171         link test.
71172         * configure: Regenerated.
71174 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71176         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71177         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71178         conformtest.pl
71180 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71182         * NOTES: Remove.
71183         * Makefile (files-for-dist): Remove NOTES.
71184         (NOTES): Remove rule.
71185         * README: Don't refer to NOTES.
71186         * manual/creature.texi: Don't include macros.texi.
71187         * manual/intro.texi (creature.texi): Remove comment referring to
71188         NOTES.
71190         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71191         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71192         * configure: Regenerated.
71193         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71194         LIBC_TRY_CC_OPTION.
71195         (libc_cv_as_i686): Likewise.
71196         (libc_cv_cc_avx): Likewise.
71197         (libc_cv_cc_sse2avx): Likewise.
71198         (libc_cv_cc_fma4): Likewise.
71199         (libc_cv_cc_novzeroupper): Likewise.
71200         * sysdeps/i386/configure: Regenerated.
71202         [BZ #13883]
71203         * sysdeps/i386/fpu/s_cexp.S: Remove.
71204         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71205         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71206         * math/libm-test.inc (cexp_test): Add more tests.
71207         * sysdeps/i386/fpu/libm-test-ulps: Update.
71208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71210 2012-03-21  Allan McRae  <allan@archlinux.org>
71212         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71214 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71216         [BZ #13871]
71217         * math/w_exp2.c: Do not include <float.h>.
71218         (o_threshold, u_threshold): Remove.
71219         (__exp2): Calculate result before checking finiteness and calling
71220         __kernel_standard.
71221         * math/w_exp2f.c: Likewise.
71222         * math/w_exp2l.c: Likewise.
71223         * math/libm-test.inc (exp2_test): Require overflow exception for
71224         1e6 input.
71226         [BZ #3866]
71227         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71228         range of signed 64-bit integers before using fistpll.  Remove
71229         checks for whether integers fit in mantissa bits.
71230         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71231         the range of signed 32-bit integers before using fistpl.  Remove
71232         checks for whether integers fit in mantissa bits.
71233         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71234         (__ieee754_powl): Test for y outside the range of signed 64-bit
71235         integers before using fistpll.  Reduce 64-bit values to 63-bit
71236         ones as needed.
71237         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71238         divide-by-zero is raised for zero to large negative powers.
71239         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71240         (__ieee754_powl): Test for y outside the range of signed 64-bit
71241         integers before using fistpll.  Reduce 64-bit values to 63-bit
71242         ones as needed.
71243         * math/libm-test.inc (pow_test): Add more tests.
71245 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71247         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71248         <stdio-common/_itoa.h>.
71249         * debug/segfault.c: Likewise.
71250         * elf/dl-cache.c: Likewise.
71251         * elf/dl-minimal.c: Likewise.
71252         * elf/dl-misc.c: Likewise.
71253         * elf/dl-sysdep.c: Likewise.
71254         * elf/dl-version.c: Likewise.
71255         * elf/rtld.c: Likewise.
71256         * hurd/hurdsock.c: Likewise.
71257         * hurd/lookup-retry.c: Likewise.
71258         * malloc/malloc.c: Likewise.
71259         * malloc/mtrace.c: Likewise.
71260         * nscd/nscd_getgr_r.c: Likewise.
71261         * nscd/nscd_getpw_r.c: Likewise.
71262         * nscd/nscd_getserv_r.c: Likewise.
71263         * posix/getopt_init.c: Likewise.
71264         * posix/wordexp.c: Likewise.
71265         * stdio-common/_itoa.c: Likewise.
71266         * stdio-common/printf_fphex.c: Likewise.
71267         * stdio-common/vfprintf.c: Likewise.
71268         * string/_strerror.c: Likewise.
71269         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71270         * sysdeps/i386/i686/hp-timing.h: Likewise.
71271         * sysdeps/mach/_strerror.c: Likewise.
71272         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71273         * sysdeps/mach/hurd/sethostid.c: Likewise.
71274         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71275         * sysdeps/mach/xpg-strerror.c: Likewise.
71276         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71277         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71278         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71279         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71280         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71281         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71282         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71283         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71284         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71285         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71286         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71287         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71288         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71289         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71290         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71291         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71292         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71293         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71294         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71295         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71296         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71298         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71300         * stdio-common/_itoa.h: Moved to ...
71301         * sysdeps/generic/_itoa.h: Here.
71303         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71305         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71306         instead of "_itoa.h" and "_itowa.h".
71307         * stdio-common/vfprintf.: Likewise.
71309 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71311         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71312         <bits/wordsize.h>.
71313         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71314         (__signbit): Likwise.
71315         (llrintf): Likwise.
71316         (llrint): Likwise.
71318 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71320         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71321         __WORDSIZE != 64.
71323 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71325         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71326         OVERFLOW_EXCEPTION_OK.
71327         * math/libm-test.inc ("Philosophy"): Update comment about
71328         exception testing.
71329         (OVERFLOW_EXCEPTION): Define.
71330         (OVERFLOW_EXCEPTION_OK): Likewise.
71331         (INVALID_EXCEPTION_OK): Renumber.
71332         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71333         (IGNORE_ZERO_INF_SIGN): Likewise.
71334         (test_exceptions): Handle FE_OVERFLOW.
71335         (exp10_test): Expect overflow exceptions.
71336         (exp2_test): Likewise.
71337         (expm1_test): Likewise.
71338         (nextafter_test): Likewise.
71339         (pow_test): Likewise.
71340         (scalbn_test): Likewise.
71341         (scalbln_test): Likewise.
71343 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71345         * sysdeps/x86_64/bits/atomic.h
71346         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71347         64bit integer.
71348         (atomic_exchange_acq): Likewise.
71349         (__arch_exchange_and_add_body): Likewise.
71350         (__arch_add_body): Likewise.
71351         (atomic_add_negative): Likewise.
71352         (atomic_add_zero): Likewise.
71354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71356         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71357         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71361         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71362         Check __x86_64__ instead of __WORDSIZE.
71364 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71366         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71368 2012-03-19  David S. Miller  <davem@davemloft.net>
71370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71372         * sysdeps/sparc/fpu/fenv_private.h: New file.
71373         * sysdeps/sparc/fpu/math_private.h: Use it.
71374         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71375         Remove.
71376         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71377         (libc_feholdexcept_setroundl): Remove.
71378         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71379         Remove.
71380         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71381         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71385         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71386         int64_t instead of long int.
71387         (INSERT_WORDS64): Likwise.
71389 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71391         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71392         _Unwind_GetCFA return to _Unwind_Ptr first.
71394 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71396         [BZ #13629]
71397         * math/s_clog.c: Include <float.h>.
71398         (__clog): Scale large or subnormal inputs.
71399         * math/s_clogf.c: Likewise.
71400         * math/s_clogl.c: Likewise.
71401         * math/s_clog10.c: Include <float.h>.
71402         (M_LOG10_2): Define.
71403         (__clog10): Scale large or subnormal inputs.
71404         * math/s_clog10f.c: Likewise.
71405         * math/s_clog10l.c: Likewise.
71406         * math/libm-test.inc (clog_test): Add more tests.
71407         (clog10_test): Likewise.
71408         * sysdeps/i386/fpu/libm-test-ulps: Update.
71409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71411         [BZ #11451]
71412         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71413         x and y.
71414         * math/libm-test.inc (atan2_test): Add another test.
71416         * Makerules (common-objdir-compile): Remove.
71417         * sysdeps/unix/Makefile (config-generated): Do not add
71418         $(unix-generated) to variable.
71419         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71420         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71421         Remove rule.
71422         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71423         Likewise.
71424         [generic bits/local_lim.h] (before-compile): Do not append to
71425         variable.
71426         [generic bits/local_lim.h] (common-generated): Likewise.
71427         [generic sys/param.h] (before-compile): Do not append to variable.
71428         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71429         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71430         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71431         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71432         include.
71433         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71434         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71435         [generic sys/param.h] ($(addprefix
71436         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71437         [generic sys/param.h] (common-generated): Do not append to
71438         variable.
71439         [generic sys/param.h] (sysdep_headers): Likewise.
71440         [generic bits/errno.h] (before-compile): Do not append to
71441         variable.
71442         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71443         rule.
71444         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71445         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71446         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71447         [generic bits/errno.h] (common-generated): Do not append to
71448         variable.
71449         [generic bits/ioctls.h] (before-compile): Do not append to
71450         variable.
71451         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71452         rule.
71453         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71454         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71455         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71456         rule.
71457         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71458         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71459         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71460         [generic bits/ioctls.h] (common-generated): Do not append to
71461         variable.
71462         [generic sys/syscall.h] (syscall.h): Remove variable.
71463         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71464         rule.
71465         [generic sys/syscall.h] (before-compile): Do not append to
71466         variable.
71467         [generic sys/syscall.h] (common-generated): Likewise.
71468         * sysdeps/unix/errnos-tmpl.c: Remove file.
71469         * sysdeps/unix/errnos.awk: Likewise.
71470         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71471         * sysdeps/unix/ioctls.awk: Likewise.
71472         * sysdeps/unix/mk-local_lim.c: Likewise.
71473         * sysdeps/unix/snarf-ioctls: Likewise.
71475 2012-03-19  Richard Henderson  <rth@twiddle.net>
71477         * sysdeps/i386/fpu/fenv_private.h: New file.
71478         * sysdeps/i386/fpu/math_private.h: Use it.
71479         (math_opt_barrier, math_force_eval): Remove.
71480         (libc_feholdexcept_setround_53bit): Remove.
71481         (libc_feupdateenv_53bit): Remove.
71482         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71483         (math_opt_barrier, math_force_eval): Remove.
71484         (libc_feholdexcept): Remove.
71485         (libc_feholdexcept_setround): Remove.
71486         (libc_fetestexcept, libc_fesetenv): Remove.
71487         (libc_feupdateenv_test): Remove.
71488         (libc_feupdateenv, libc_feholdsetround): Remove.
71489         (libc_feresetround): Remove.
71491         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71492         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71494         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71495         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71496         (libc_feupdateenv_testl): New.
71497         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71498         (libc_feupdateenv_testf): New.
71499         (libc_feupdateenv): Use libc_feupdateenv_test.
71500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71501         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71503         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71504         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71505         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71506         (libc_feresetround_noex): New.
71507         (libc_feresetround_noexf): New.
71508         (libc_feresetround_noexl): New.
71509         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71510         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71511         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71512         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71513         SET_RESTORE_ROUND.
71514         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71516         (__cos): Likewise.
71517         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71518         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71519         SET_RESTORE_ROUND_NOEX.
71520         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71521         SET_RESTORE_ROUND_NOEXF.
71522         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71523         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71524         (libc_feholdsetroundf): New.
71525         (libc_feresetround, libc_feresetroundf): New.
71527         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71528         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71529         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71531         * sysdeps/generic/math_private.h: Include <fenv.h>.
71532         (default_libc_feholdexcept): New.
71533         (default_libc_feholdexcept_setround): New.
71534         (default_libc_fesetenv, default_libc_feupdateenv): New.
71535         (libc_feholdexcept): Only define if undefined.
71536         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71537         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71538         (libc_feholdexcept_setroundl): Likewise.
71539         (libc_feholdexcept_setround_53bit): Likewise.
71540         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71541         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71542         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71543         (libc_feupdateenv_53bit): Likewise.
71544         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71545         (libc_feholdexcept): Convert from macro to inline function.
71546         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71547         (libc_fesetenv, libc_feupdateenv): Likewise.
71549         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71550         not previously defined.
71551         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71552         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71553         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71554         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71555         * sysdeps/ieee754/flt-32/math_private.h: New file.
71556         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71557         math_private.h below SET_FLOAT_WORD.
71558         (__isnan, __isinf_ns, __finite): Remove.
71559         (__isnanf, __isinf_nsf, __finitef): Remove.
71561 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71565 2012-03-17  David S. Miller  <davem@davemloft.net>
71567         [BZ #6471]
71568         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71569         for 2.16.
71571 2012-03-16  David S. Miller  <davem@davemloft.net>
71573         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71574         warnings.
71576         [BZ #6471]
71577         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71578         properly.
71579         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71580         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71581         sysdep_routines when subdir is sysvipc.
71582         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71583         __getshmlba helper.
71585         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71589         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71590         [__LP64__].
71592 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71594         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71595         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71596         (__lround): Renamed to ...
71597         (__llround): This.  Replace long int with long long int.
71598         Define lround functions as aliases of llround functions.
71599         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71601 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71603         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71604         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71605         adresses to uintptr_t.  Replace "long int" and "unsigned long
71606         int" with "greg_t" on va_arg.
71608 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71610         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71611         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71613         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71614         Move e_machine check before EI_CLASS check.  Handle x32
71615         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71616         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71617         SKIP_EM_IA_64 and include
71618         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71620         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71621         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71622         (add_system_dir): New macro.
71624         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71625         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71627 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71629         [BZ #2551]
71630         [BZ #2552]
71631         [BZ #2553]
71632         [BZ #2554]
71633         [BZ #2562]
71634         [BZ #2563]
71635         [BZ #2565]
71636         [BZ #2566]
71637         [BZ #2576]
71638         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71639         (y0): Likewise.
71640         * math/w_j0f.c (j0f): Likewise.
71641         (y0f): Likewise.
71642         * math/w_j0l.c (__j0l): Likewise.
71643         (__y0l): Likewise.
71644         * math/w_j1.c (j1): Likewise.
71645         (y1): Likewise.
71646         * math/w_j1f.c (j1f): Likewise.
71647         (y1f): Likewise.
71648         * math/w_j1l.c (__j1l): Likewise.
71649         (__y1l): Likewise.
71650         * math/w_jn.c (jn): Likewise.
71651         (yn): Likewise.
71652         * math/w_jnf.c (jnf): Likewise.
71653         (ynf): Likewise.
71654         * math/w_jnl.c (__jnl): Likewise.
71655         (__ynl): Likewise.
71656         * math/libm-test.inc (j0_test): Add more tests.
71657         (j1_test): Likewise.
71658         (jn_test): Likewise.  Add trailing semicolon to existing test.
71659         (y0_test): Likewise.
71660         (y1_test): Likewise.
71661         * sysdeps/i386/fpu/libm-test-ulps: Update.
71662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71664         [BZ #13851]
71665         [BZ #13854]
71666         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71667         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71668         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71669         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71670         (__tanl): Set errno for infinite argument.
71671         * sysdeps/i386/fpu/mptan.c: Remove.
71672         * sysdeps/i386/fpu/s_tan.S: Likewise.
71673         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71674         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71675         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71676         * math/libm-test.inc (tan_test): Add more tests and enable more
71677         tests for double and long double.
71678         * sysdeps/i386/fpu/libm-test-ulps: Update.
71679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71681 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71683         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71684         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71686 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71688         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71689         * configure.in: Use it for both main tree and add-ons.
71690         * configure: Regenerated.
71692 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71694         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71696 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71698         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71699         in comment.
71701         [BZ #13851]
71702         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71703         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71704         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71705         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71706         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71707         infinite argument.
71708         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71710         != 0 for prec == 2.
71711         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71712         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71713         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71714         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71715         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71716         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71717         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71718         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71719         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71720         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71721         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71722         * math/libm-test.inc (cos_test): Add more tests and enable more
71723         tests for long double.
71724         (sin_test): Likewise.
71725         (sincos_test): Likewise.
71726         * sysdeps/i386/fpu/libm-test-ulps: Update.
71727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71729 2012-03-16  David S. Miller  <davem@davemloft.net>
71731         * sysdeps/sparc/fpu/math_private.h: New file.
71733 2012-03-15  David S. Miller  <davem@davemloft.net>
71735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71736         file.
71737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71739         file.
71740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71746         sysdep routines.
71747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71749         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71750         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71752         * sysdeps/sparc/sparc-ifunc.h: New file.
71753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71754         sparc-ifunc.h
71755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71757         Likewise.
71758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71759         Likewise.
71760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71764         Likewise.
71765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71770         Likewise.
71771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71772         Likewise.
71773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71779         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71780         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71798 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71800         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71801         scaling.
71802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71804 2012-03-15  Andreas Jaeger  <aj@suse.de>
71806         [BZ #13852]
71807         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71808         ieee754/flt-32 implementation for sin, cos and sincos.
71809         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71810         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71811         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71812         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71813         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71814         ieee754/flt-32 implementation for tan.
71816         * math/libm-test.inc (cos_test): Enable some large input tests for
71817         float as well
71818         (sin_test): Likewise.
71819         (sincos_test): Likewise.
71820         (tan_test): Add tests for large input.
71822         * sysdeps/i386/fpu/libm-test-ulps: Update.
71824 2012-03-15  Andreas Jaeger  <aj@suse.de>
71826         [BZ #13658]
71827         * math/libm-test.inc (cos_test): Add more test cases.
71828         (sin_test): Likewise.
71829         (sincos_test): Likewise.
71831 2012-03-15  Andreas Jaeger  <aj@suse.de>
71833         [BZ #13837]
71834         * math/libm-test.inc (cos_test): Add a test case for large input
71835         value.
71836         (sin_test): Likewise.
71837         (sincos_test): Likewise.
71839 2012-03-15  Andreas Jaeger  <aj@suse.de>
71840             Joseph Myers  <joseph@codesourcery.com>
71842         [BZ #13658]
71843         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71844         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71845         * sysdeps/i386/fpu/branred.c: Likewise.
71846         * sysdeps/i386/fpu/dosincos.c: Likewise.
71847         * sysdeps/i386/fpu/mpa.c: Likewise.
71848         * sysdeps/i386/fpu/s_cos.S: Likewise.
71849         * sysdeps/i386/fpu/s_sin.S: Likewise.
71850         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71851         * sysdeps/i386/fpu/sincos32.c: Likewise.
71853         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71854         Define.
71855         (libc_feupdateenv_53bit): Define.
71856         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71857         Define.
71858         (libc_feupdateenv_53bit): Define.
71860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71861         53 bit (without extend i386 double precision).
71863         * math/libm-test.inc (sincos_test): Add tests for large input.
71864         (sin): Likewise.
71865         (cos): Likewise.
71867         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71869 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71873 2012-03-15  David S. Miller  <davem@davemloft.net>
71875         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71876         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71877         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71878         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71891         file.
71892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71894         file.
71895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71897         file.
71898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71900         file.
71901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71902         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71903         fmin/fmax sysdep routines.
71904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71906 2012-03-14  David S. Miller  <davem@davemloft.net>
71908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71912         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71913         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71937         routines.
71938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71939         file.
71940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71942         file.
71943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71945         file.
71946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71948         file.
71949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71951         file.
71952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71954         file.
71955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71956         file.
71957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71958         file.
71959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71960         file.
71961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71962         New file.
71963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71964         file.
71965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71966         file.
71967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71969         file.
71970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71972         file.
71973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71975         file.
71976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71978         VIS3 routines.
71980         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71981         New file.
71983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71985         * sysdeps/sparc/configure.in: New file.
71986         * sysdeps/sparc/configure: Generate.
71987         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71988         * configure: Regenerate.
71989         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71990         * config.make.in (have-as-vis3): New.
71991         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71992         available use -Av9d instead of -Av9a.
71993         * sysdeps/sparc/sparc64/Makefile: Likewise.
71994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71996         New file.
71997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71998         file.
71999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72000         New file.
72001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72002         file.
72003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72009         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72010         fzeros/fnegs to load 0x80000000 into a float register instead of
72011         using the stack.
72012         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72014 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72017         bits/syscall.h.
72018         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72019         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72020         ($(inst_includedir)/bits/syscall.h): Remove rule.
72021         ($(objpfx)bits/syscall.d): Include instead of
72022         $(objpfx)syscall-list.d.
72023         (generated): Change syscall-list.h and syscall-list.d to
72024         bits/syscall.h and bits/syscall.d.
72026 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72028         [BZ #13846]
72029         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72031 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72033         [BZ #13841]
72034         * math/s_csqrt.c: Include <float.h>.
72035         (__csqrt): Scale large or subnormal inputs.
72036         * math/s_csqrtf.c: Likewise.
72037         * math/s_csqrtl.c: Likewise.
72038         * math/libm-test.inc (csqrt_test): Add more tests.
72039         * sysdeps/i386/fpu/libm-test-ulps: Update.
72040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72042         [BZ #13840]
72043         * math/libm-test.inc (hypot_test): Add more tests.
72045 2012-03-13  David S. Miller  <davem@davemloft.net>
72047         [BZ #13840]
72048         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72049         double-precision for the calculation instead of scaling.
72051 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72053         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72054         manipulate bits before adding and subtracting TWO52[sx].
72055         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72056         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72057         Likewise.
72058         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72060 2012-03-13  David S. Miller  <davem@davemloft.net>
72062         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72063         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72065         rtld-global-offsets.h
72066         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72068         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72069         large parameters.
72071         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72073         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72074         'err' in the ifdef scope in which it is actually used.
72076         * nss/nss_db/db-init.c: Include string.h
72078 2012-03-12  David S. Miller  <davem@davemloft.net>
72080         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72081         masking out of the most significant byte of random value used.
72082         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72083         Fix coding style in previous change.
72085         * sysdeps/unix/sysv/linux/kernel-features.h
72086         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72087         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72088         expression.
72089         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72090         later.
72092 2012-03-11  David S. Miller  <davem@davemloft.net>
72094         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72095         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72096         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72097         for 'resultvar' otherwise things get truncated on 64-bit.
72099         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72100         Fix masking out of the most significant byte of random value used.
72102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72104 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72108 2012-03-09  David S. Miller  <davem@davemloft.net>
72110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72111         variables with appropriate CPP guards.
72112         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72113         from the frame pointer, not the stack pointer.  Correct layout
72114         comments.  Fix test on resulting framesize and the management of
72115         the outregs buffer for pltexit.  Preserve floating point return
72116         values across _dl_call_pltexit call.
72117         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72118         framesize and the management of the outregs buffer for pltexit.
72119         Preserve floating point return values across _dl_call_pltexit
72120         call.
72121         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72122         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72123         (la_sparc64_gnu_pltexit): New functions.
72124         (print_exit): Fix format string for return register value.
72126 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72128         * sunrpc/Makefile (others): Add rpcgen.
72129         ($(objpfx)rpcgen): Remove special build rule and dependency on
72130         libc.
72131         * sunrpc/rpcgen.c: New file.
72133 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72135         [BZ #13673]
72136         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72137         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72138         * sysdeps/i386/crti.S: Likewise.
72139         * sysdeps/i386/crtn.S: Likewise.
72140         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72141         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72142         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72143         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72144         * sysdeps/sh/crti.S: Likewise.
72145         * sysdeps/sh/crtn.S: Likewise.
72146         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72148         [BZ #13673]
72149         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72150         with URL.
72151         * locale/programs/locfile-kw.gperf: Likewise.
72152         * locale/programs/charmap-kw.h: Regenerated.
72153         * locale/programs/locfile-kw.h: Likewise.
72155         [BZ #13673]
72156         * intl/plural.y: Replace FSF snail mail address with URL.
72157         * intl/plural.c: Regenerated.
72159 2012-03-09  Richard Henderson  <rth@twiddle.net>
72161         * include/math_private.h: Remove file.
72162         * math/math_private.h: Move file ...
72163         * sysdeps/generic/math_private.h: ... here.
72165         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72166         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72167         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72169         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72170         and <math_private.h>.
72171         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72172         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72173         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72174         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72175         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72176         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72177         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72180         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72182         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72184         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72186         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72190         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72195         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72201         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72203         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72207         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72211         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72212         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72213         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72214         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72215         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72216         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72217         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72218         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72220         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72221         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72222         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72223         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72224         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72225         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72226         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72227         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72228         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72229         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72230         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72232         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72234         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72235         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72236         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72237         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72238         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72239         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72240         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72242         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72245         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72250         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72251         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72252         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72254         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72258         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72259         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72260         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72261         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72262         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72263         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72264         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72265         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72266         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72267         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72268         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72269         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72270         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72271         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72272         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72273         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72274         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72276         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72277         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72278         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72283         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72284         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72285         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72286         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72287         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72288         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72289         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72290         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72292         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72293         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72294         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72295         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72296         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72298         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72299         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72300         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72301         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72302         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72303         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72304         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72305         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72306         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72307         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72308         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72309         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72310         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72312         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72313         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72314         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72315         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72316         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72317         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72318         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72319         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72320         * sysdeps/ieee754/k_standard.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72323         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72325         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72326         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72331         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72332         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72333         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72334         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72335         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72336         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72337         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72338         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72340         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72341         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72344         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72346         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72348         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72349         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72352         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72354         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72355         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72356         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72357         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72358         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72359         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72360         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72362         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72363         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72364         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72367         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72368         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72369         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72372         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72374         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72375         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72376         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72377         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72378         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72379         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72380         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72381         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72382         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72383         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72391         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72392         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72398         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72403         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72406         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72407         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72408         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72409         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72412         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72413         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72414         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72416         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72417         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72418         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72419         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72424         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72425         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72426         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72427         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72428         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72429         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72433         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72435         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72436         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72437         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72446         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72447         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72448         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72449         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72451         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72452         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72453         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72454         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72455         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72457         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72458         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72459         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72460         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72461         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72462         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72463         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72464         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72465         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72466         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72467         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72468         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72469         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72470         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72471         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72472         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72473         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72475         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72476         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72477         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72478         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72480         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72481         * sysdeps/ieee754/s_lib_version.c: Likewise.
72482         * sysdeps/ieee754/s_matherr.c: Likewise.
72483         * sysdeps/ieee754/s_signgam.c: Likewise.
72484         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72485         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72486         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72487         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72488         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72489         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72490         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72491         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72492         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72493         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72494         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72495         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72496         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72497         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72498         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72499         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72500         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72501         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72502         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72504         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72506 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72508         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72509         * sunrpc/rpc_main.c: Likewise.
72510         * sunrpc/rpc_svcout.c: Likewise.
72512 2012-03-09  David S. Miller  <davem@davemloft.net>
72514         * include/math_private.h: New file.
72516 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72518         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72519         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72520         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72521         from <bits/socket_type.h>.
72522         (enum __socket_type): Don't define here.
72523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72525         bits/socket_type.h.
72527         [BZ #13566]
72528         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72529         checking __USE_GNU.
72531         * Makerules ($(inst_includedir)/%.h): New rule.
72532         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72533         (install-others): Remove variable setting.
72534         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72536 2012-03-08  Richard Henderson  <rth@twiddle.net>
72538         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72539         from macro to inline function; merge with the
72540         !__LIBC_INTERNAL_MATH_INLINES version.
72541         (__ieee754_sqrtf): Likewise.
72543         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72544         to inline function.
72545         (__rintf, __floor, __floorf): Likewise.
72547         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72548         macro to inline function.
72549         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72551         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72552         not <math/math_private.h>.
72554 2012-03-08  David S. Miller  <davem@davemloft.net>
72556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72557         copyright year.
72558         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72560 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72562         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72563         normalization.
72564         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72565         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72567 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72569         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72570         be defined individually, they must be defined as a block.  Define
72571         S for printing a string instead of hidint the different by using a
72572         macro for adding the 'l'.
72573         * stdio-common/tst-fphex-wide.c: Adjust.
72575 2012-03-07  Marek Polacek  <polacek@redhat.com>
72577         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72579 2012-03-08  Marek Polacek  <polacek@redhat.com>
72581         [BZ #13806]
72582         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72583         * stdio-common/tst-fphex.c: Define a few macros to make the
72584         test reusable.  Use them.
72585         * stdio-common/tst-fphex-wide.c: New file.
72587 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72589         [BZ #6911]
72590         * manual/macros.texi (gnusystems): New macro.
72591         (nongnusystems): Likewise.
72592         (gnulinuxhurdsystems): Likewise.
72593         (gnuhurdsystems): Likewise..
72594         (gnulinuxsystems): Likewise.
72595         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72596         variants of the GNU system, not "GNU system".
72597         * manual/conf.texi: Likewise.
72598         * manual/errno.texi: Likewise.  Update example of errno macro
72599         expansion.
72600         * manual/filesys.texi: Likewise.
72601         (getumask): Document as specific to GNU/Hurd.
72602         * manual/install.texi: Likewise.  Reword some references to
72603         GNU/Linux.
72604         * manual/intro.texi: Likewise.
72605         * manual/io.texi: Likewise.
72606         (File Name Portability): Detail which constraints are inapplicable
72607         to all GNU systems and which are only inapplicable to GNU/Hurd.
72608         * manual/job.texi: Likewise.
72609         * manual/llio.texi: Likewise.
72610         (O_NOCTTY): Document as present on GNU/Linux.
72611         * manual/maint.texi: Likewise.
72612         * manual/memory.texi: Likewise.
72613         * manual/pattern.texi: Likewise.
72614         * manual/pipe.texi: Likewise.
72615         * manual/process.texi: Likewise.
72616         * manual/resource.texi: Likewise.
72617         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72618         child on GNU/Hurd.
72619         * manual/setjmp.texi: Likewise.
72620         * manual/signal.texi: Likewise.
72621         * manual/startup.texi: Likewise.
72622         * manual/stdio.texi: Likewise.
72623         * manual/terminal.texi: Likewise.
72624         (ONLCR): Document as POSIX.
72625         (OXTABS): Document availability on GNU/Linux as XTABS.
72626         (ONOEOT): Document availability separately from other bits.
72627         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72628         * manual/time.texi: Likewise.
72629         * manual/users.texi: Likewise.
72630         * INSTALL: Regenerated.
72631         * sysdeps/gnu/errlist.c: Regenerated.
72633         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72634         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72635         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72636         puts.
72637         * configure: Regenerated.
72639 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72641         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72642         default includes instead of AC_HEADER_CHECK.
72643         * sysdeps/i386/configure: Regenerated.
72645         [BZ #10716]
72646         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72647         * math/s_cacoshf.c (__cacoshf): Likewise.
72648         * math/s_cacoshl.c (__cacoshl): Likewise.
72649         * math/s_casinh.c (__casinh): Set signs of result from argument.
72650         * math/s_casinhf.c (__casinhf): Likewise.
72651         * math/s_casinhl.c (__casinhl): Likewise.
72652         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72653         (casinh_test): Add more tests.
72654         * sysdeps/i386/fpu/libm-test-ulps: Update.
72655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72657 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72659         * po/zh_TW.po: Update from translation team.
72661         * login/Makefile (distribute): Remove variable.
72662         * catgets/Makefile: Likewise.
72663         * mach/Makefile: Likewise.
72664         * malloc/Makefile: Likewise.
72665         * misc/Makefile: Likewise.
72666         * iconv/Makefile: Likewise.
72667         * nscd/Makefile: Likewise.
72668         * hurd/Makefile: Likewise.
72669         * manual/Makefile: Likewise.
72670         * locale/Makefile: Likewise.
72671         * intl/Makefile: Likewise.
72672         * conform/Makefile: Likewise.
72673         * nss/Makefile: Likewise.
72674         * time/Makefile: Likewise.
72675         * soft-fp/Makefile: Likewise.
72676         * dirent/Makefile: Likewise.
72677         * gmon/Makefile: Likewise.
72678         * po/Makefile: Likewise.
72679         * rt/Makefile: Likewise.
72680         * socket/Makefile: Likewise.
72681         * math/Makefile: Likewise.
72682         * signal/Makefile: Likewise.
72683         * debug/Makefile: Likewise.
72684         * elf/Makefile: Likewise.
72685         * timezone/Makefile: Likewise.
72686         * stdlib/Makefile: Likewise.
72687         * iconvdata/Makefile: Likewise.
72688         * sunrpc/Makefile: Likewise.
72689         * io/Makefile: Likewise.
72690         * argp/Makefile: Likewise.
72691         * inet/Makefile: Likewise.
72692         * hesiod/Makefile: Likewise.
72693         * grp/Makefile: Likewise.
72694         * csu/Makefile: Likewise.
72695         * wctype/Makefile: Likewise.
72696         * crypt/Makefile: Likewise.
72697         * libio/Makefile: Likewise.
72698         * string/Makefile: Likewise.
72699         * nis/Makefile: Likewise.
72700         * resolv/Makefile: Likewise.
72701         * stdio-common/Makefile: Likewise.
72702         * wcsmbs/Makefile: Likewise.
72703         * dlfcn/Makefile: Likewise.
72704         * posix/Makefile: Likewise.
72706         [BZ #6959]
72707         * timezone/Makefile: Don't install timezone files, just the programs
72708         and scripts.
72710 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72712         * nss/databases.def: Add missing gshadow entry.
72714         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72716 2012-03-06  Marek Polacek  <polacek@redhat.com>
72718         [BZ #13726]
72719         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72720         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72721         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72722         * stdio-common/tst-long-dbl-fphex.c: New file.
72724 2012-03-06  David S. Miller  <davem@davemloft.net>
72726         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72727         (set_obp_int): New function.
72728         (get_obp_int): New function.
72729         (__get_clockfreq_via_dev_openprom): Likewise.
72730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72731         Avoid unused variable warnings on 'val' and use builtin_expect.
72732         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72733         __builtin_expect.
72734         (INLINE_CLONE_SYSCALL): Likewise.
72736 2012-03-05  David S. Miller  <davem@davemloft.net>
72738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72740 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72744         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72745         only for |x| >= 40.
72746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72748 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72750         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72751         Replace gettimeofday with __vdso_gettimeofday.
72753         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72754         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72755         __vdso_clock_gettime and __vdso_getcpu.
72757         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72758         time with __vdso_time.
72760 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72762         * manual/lang.texi (size_t): Note types to which size_t may be
72763         equivalent with the GNU C Library, but do not describe when
72764         differences between them are significant.
72766 2012-03-05  Andreas Jaeger  <aj@suse.de>
72768         * sysdeps/i386/fpu/libm-test-ulps: Update.
72770 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72772         [BZ #3976]
72773         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72774         (__ieee754_pow): Save and restore rounding mode and use
72775         round-to-nearest for main computations.
72776         * math/libm-test.inc (pow_test_tonearest): New function.
72777         (pow_test_towardzero): Likewise.
72778         (pow_test_downward): Likewise.
72779         (pow_test_upward): Likewise.
72780         (main): Call the new functions.
72781         * sysdeps/i386/fpu/libm-test-ulps: Update.
72782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72784         [BZ #3976]
72785         * math/libm-test.inc (cosh_test_tonearest): New function.
72786         (cosh_test_towardzero): Likewise.
72787         (cosh_test_downward): Likewise.
72788         (cosh_test_upward): Likewise.
72789         (sinh_test_tonearest): Likewise.
72790         (sinh_test_towardzero): Likewise.
72791         (sinh_test_downward): Likewise.
72792         (sinh_test_upward): Likewise.
72793         (main): Call the new functions.
72794         * sysdeps/i386/fpu/libm-test-ulps: Update.
72795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72797 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72799         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72800         default stack guard is set in last bytes.
72801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72803 2012-03-05  Kees Cook  <keescook@chromium.org>
72805         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72807         [BZ #13656]
72808         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72809         possibly allocate from heap instead of stack.
72810         * stdio-common/bug-vfprintf-nargs.c: New file.
72811         * stdio-common/Makefile (tests): Add nargs overflow test.
72813 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72817 2012-03-03  Marek Polacek  <polacek@redhat.com>
72819         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72820         * math/math_private.h: Likewise.
72821         * stdlib/tst-strtod.c: Likewise.
72822         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72823         * sysdeps/x86_64/bits/atomic.h: Likewise.
72825 2012-03-02  David S. Miller  <davem@davemloft.net>
72827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72831         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72832         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72833         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72834         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72836 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72838         [BZ #13792]
72839         * manual/examples/README: New file, says the example source files
72840         can be used under GPL>=2.
72841         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72842         line containing just "*/".
72843         * manual/examples/add.c: Add copyright header (GPL>=2).
72844         * manual/examples/argp-ex1.c: Likewise.
72845         * manual/examples/argp-ex2.c: Likewise.
72846         * manual/examples/argp-ex3.c: Likewise.
72847         * manual/examples/argp-ex4.c: Likewise.
72848         * manual/examples/atexit.c: Likewise.
72849         * manual/examples/db.c: Likewise.
72850         * manual/examples/dir.c: Likewise.
72851         * manual/examples/dir2.c: Likewise.
72852         * manual/examples/execinfo.c: Likewise.
72853         * manual/examples/filecli.c: Likewise.
72854         * manual/examples/filesrv.c: Likewise.
72855         * manual/examples/fmtmsgexpl.c: Likewise.
72856         * manual/examples/genpass.c: Likewise.
72857         * manual/examples/inetcli.c: Likewise.
72858         * manual/examples/inetsrv.c: Likewise.
72859         * manual/examples/isockad.c: Likewise.
72860         * manual/examples/longopt.c: Likewise.
72861         * manual/examples/memopen.c: Likewise.
72862         * manual/examples/memstrm.c: Likewise.
72863         * manual/examples/mkfsock.c: Likewise.
72864         * manual/examples/mkisock.c: Likewise.
72865         * manual/examples/mygetpass.c: Likewise.
72866         * manual/examples/pipe.c: Likewise.
72867         * manual/examples/popen.c: Likewise.
72868         * manual/examples/rprintf.c: Likewise.
72869         * manual/examples/search.c: Likewise.
72870         * manual/examples/select.c: Likewise.
72871         * manual/examples/setjmp.c: Likewise.
72872         * manual/examples/sigh1.c: Likewise.
72873         * manual/examples/sigusr.c: Likewise.
72874         * manual/examples/stpcpy.c: Likewise.
72875         * manual/examples/strdupa.c: Likewise.
72876         * manual/examples/strftim.c: Likewise.
72877         * manual/examples/strncat.c: Likewise.
72878         * manual/examples/subopt.c: Likewise.
72879         * manual/examples/swapcontext.c: Likewise.
72880         * manual/examples/termios.c: Likewise.
72881         * manual/examples/testopt.c: Likewise.
72882         * manual/examples/testpass.c: Likewise.
72883         * manual/examples/timeval_subtract.c: Likewise.
72885         [BZ #13792]
72886         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72887         function to ...
72888         * manual/timeval_subtract.c.texi: ... here, new file.
72890 2012-03-02  David S. Miller  <davem@davemloft.net>
72892         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72894 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72896         [BZ #3976]
72897         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72898         (__sin): Save and restore rounding mode and use round-to-nearest
72899         for all computations.
72900         (__cos): Save and restore rounding mode and use round-to-nearest
72901         for all computations.
72902         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72903         <fenv.h>.
72904         (tan): Save and restore rounding mode and use round-to-nearest for
72905         all computations.
72906         * math/libm-test.inc (cos_test_tonearest): New function.
72907         (cos_test_towardzero): Likewise.
72908         (cos_test_downward): Likewise.
72909         (cos_test_upward): Likewise.
72910         (sin_test_tonearest): Likewise.
72911         (sin_test_towardzero): Likewise.
72912         (sin_test_downward): Likewise.
72913         (sin_test_upward): Likewise.
72914         (tan_test_tonearest): Likewise.
72915         (tan_test_towardzero): Likewise.
72916         (tan_test_downward): Likewise.
72917         (tan_test_upward): Likewise.
72918         (main): Call the new functions.
72919         * sysdeps/i386/fpu/libm-test-ulps: Update.
72920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72922         [BZ #10135]
72923         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72924         small n, then large n, before computing and testing k+n.
72925         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72927         Likewise.
72928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72929         Likewise.
72930         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72931         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72932         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72933         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72936         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72937         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72938         * math/libm-test.inc (scalbn_test): Add more tests.
72939         (scalbln_test): Likewise.
72941         * manual/filesys.texi (mode_t): Describe constraints on size and
72942         signedness, not exact equivalence to a particular type.
72943         (ino_t): Likewise.
72944         (ino64_t): Likewise.
72945         (dev_t): Likewise.
72946         (nlink_t): Likewise.
72947         (blkcnt_t): Likewise.
72948         (blkcnt64_t): Likewise.
72949         * manual/llio.texi (off_t): Likewise.
72951         [BZ #3976]
72952         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72953         (__ieee754_exp): Save and restore rounding mode and use
72954         round-to-nearest for all computations.
72955         * math/libm-test.inc (exp_test_tonearest): New function.
72956         (exp_test_towardzero): Likewise.
72957         (exp_test_downward): Likewise.
72958         (exp_test_upward): Likewise.
72959         (main): Call the new functions.
72960         * sysdeps/i386/fpu/libm-test-ulps: Update.
72961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72963 2012-03-01  Chris Demetriou  <cgd@google.com>
72965         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72966         have predictable order.
72968 2012-03-01  David S. Miller  <davem@davemloft.net>
72970         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72972         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72973         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72974         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72975         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72977         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72978         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72979         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72981         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72982         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72983         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72984         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72985         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72990         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72991         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72993         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72994         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72995         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72996         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72997         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72999         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73000         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73001         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73002         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73003         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73004         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73006         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73007         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73009         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73010         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73011         * sysdeps/sparc/elf/configure: Regenerated.
73013 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73015         * configure.in (AS, LD): Require binutils 2.20 or later.
73016         * configure: Regenerated.
73017         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73018         as required minimum version.
73019         * INSTALL: Regenerated.
73021         [BZ #2541]
73022         [BZ #4108]
73023         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73024         before squaring exponent.
73025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73026         bottom long double and 27 bits of top long double before squaring
73027         exponent.
73028         * math/libm-test.inc (erfc_test): Add more tests.
73029         * sysdeps/i386/fpu/libm-test-ulps: Update.
73030         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73033 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73035         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73036         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73037         containing bit-fields.
73038         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73039         * soft-fp/single.h (_FP_UNION_S): Likewise.
73040         * soft-fp/double.h (_FP_UNION_D): Likewise.
73042 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73044         [BZ #13786]
73045         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73046         not include ../strcmp.S.
73047         [USE_AS_STRNCASECMP_L]: Likewise.
73048         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73049         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73050         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73051         (__strncasecmp_l_ia32): Define as alias to
73052         __strncasecmp_l_nonascii.
73054         [BZ #5794]
73055         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73056         * sysdeps/i386/fpu/libm-test-ulps: Update.
73057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73059         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73062 2012-02-29  Jeff Law  <law@redhat.com>
73064         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73065         out of bounds read.
73067 2012-02-29  Marek Polacek  <polacek@redhat.com>
73069         [BZ #13706]
73070         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73071         * elf/Makefile: Add rules to run tst-unused-dep.out.
73073 2012-02-28  David S. Miller  <davem@davemloft.net>
73075         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73076         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73077         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73078         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73079         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73080         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73082 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73084         * math/libm-test.inc (llround_test): Move one test from
73085         lround_test.  Use TEST_f_L in moved test.
73086         (lround_test): Move misplaced test to llround_test.  Add testcase
73087         from bug 2561.
73089 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73091         * sysdeps/x86_64/fpu/e_expf.S: New file.
73092         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73094 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73096         [BZ #13637]
73097         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73098         of remain_len that may cause incomplete multi-byte character and
73099         false match.
73100         * posix/bug-regex33.c: New file.
73101         * posix/Makefile (tests): Add bug-regex33.
73103 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73105         * manual/macros.texi: New file.
73106         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73107         * manual/libc.texinfo: Include macros.texi.
73108         * manual/creatute.texi: Likewise.
73109         * manual/install.texi: Likewise.
73110         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73111         @glibcadj{} in references to the GNU C Library.
73112         * manual/charset.texi: Likewise.
73113         * manual/conf.texi: Likewise.
73114         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73115         when not using those macros.
73116         * manual/creature.texi: Likewise.
73117         * manual/crypt.texi: Likewise.
73118         * manual/errno.texi: Likewise.
73119         * manual/filesys.texi: Likewise.
73120         * manual/header.texi: Likewise.
73121         * manual/install.texi: Likewise.
73122         * manual/intro.texi: Likewise.
73123         * manual/io.texi: Likewise.
73124         * manual/job.texi: Likewise.
73125         * manual/lang.texi: Likewise.
73126         * manual/libc.texiinfo: Likewise.
73127         * manual/llio.texi: Likewise.
73128         * manual/locale.texi: Likewise.
73129         * manual/maint.texi: Likewise.
73130         * manual/math.texi: Likewise.
73131         * manual/memory.texi: Likewise.
73132         * manual/message.texi: Likewise.
73133         * manual/nss.texi: Likewise.
73134         * manual/pattern.texi: Likewise.
73135         * manual/process.texi: Likewise.
73136         * manual/resource.texi: Likewise.
73137         * manual/search.texi: Likewise.
73138         * manual/setjmp.texi: Likewise.
73139         * manual/signal.texi: Likewise.
73140         * manual/socket.texi: Likewise.
73141         * manual/startup.texi: Likewise.
73142         * manual/stdio.texi: Likewise.
73143         * manual/string.texi: Likewise.
73144         * manual/sysinfo.texi: Likewise.
73145         * manual/syslog.texi: Likewise.
73146         * manual/terminal.texi: Likewise.
73147         * manual/time.texi: Likewise.
73148         * manual/users.texi: Likewise.
73149         * INSTALL: Regenerated.
73150         * NOTES: Regenerated.
73151         * sysdeps/gnu/errlist.c: Regenerated.
73153 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73155         * include/dirent.h: Include <dirstream.h> before
73156         <dirent/dirent.h>.
73158 2012-02-28  David S. Miller  <davem@davemloft.net>
73160         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73161         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73162         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73163         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73165 2012-02-27  David S. Miller  <davem@davemloft.net>
73167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73169         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73170         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73173         frame pointer instead of stack pointer relative arg slot.
73174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73175         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73176         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73178 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73180         [BZ #3992]
73181         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73183 2012-02-27  David S. Miller  <davem@davemloft.net>
73185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73189         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73190         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73191         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73192         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73194 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73196         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73197         later.  Allow versions 5-9.
73198         * configure: Regenerated.
73199         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73200         required minimum version and 4.6 as recommended version.  Do not
73201         mention bugs in GCC 2.7 and 2.8.
73202         * INSTALL: Regenerated.
73204 2012-02-27  David S. Miller  <davem@davemloft.net>
73206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73210         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73211         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73212         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73213         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73216         manipulate bits before adding and subtracting TWO112[sx].
73217         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73219 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73221         [BZ #13775]
73222         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73223         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73224         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73225         being in POSIX, because they are in 1003.1-2008.
73227         * rt/tst-aio.c: Include <fcntl.h>.
73228         * rt/tst-aio7.c: Likewise.
73229         * rt/tst-aio64.c: Likewise.
73231         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73233 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73235         * manual/install.texi (--with-headers): Describe headers as
73236         interface headers, not private headers.
73237         (Specific advice for GNU/Linux systems): Describe use of headers
73238         from "make headers_install", not private headers from older
73239         kernels.
73240         * INSTALL: Regenerated.
73241         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73242         Change to 2.6.19.
73243         * sysdeps/unix/sysv/linux/configure: Regenerated.
73245         * manual/llio.texi (fclean): Remove documentation.
73247         * manual/Makefile (libc-texi-generated): New variable.  Include
73248         version.texi.
73249         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73250         $(libc-texi-generated), not duplicated list of files.
73251         (version.texi, stamp-version): New rules.
73252         (realclean): Remove $(libc-texi-generated), not individual files
73253         from that list.  Do not remove dir-add.texinfo.
73254         * manual/libc.texinfo: Comment out uses of edition numbers and
73255         references to printed manual.  Remove last-updated dates.
73256         (EDITION): Comment out.
73257         (ISBN): Likewise.
73258         (VERSION, UPDATED): Remove.
73259         (version.texi): Include.
73261 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73263         * sysdeps/posix/spawni.c: Include <signal.h>.
73264         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73265         * sysdeps/pthread/aio_fsync.c: Likewise.
73267 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73269         * conform/Makefile (tests): Run only when not cross-compiling and
73270         when fast-check is not defined.
73272         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73273         * conform/data/limits.h-data: Fixes for POSIX2008.
73274         * conform/run-conformtest.sh: Run all tests.
73275         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73276         headers.
73277         * include/bits/dlfcn.h: Likewise.
73278         * include/langinfo.h: Likewise.
73279         * include/monetary.h: Likewise.
73280         * include/sys/poll.h: Likewise.
73282         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73283         for __USE_GNU.
73284         * posix/spawn.h: Define __need_sigset_t.
73285         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73286         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73287         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73288         to get sigevent_t only.
73289         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73290         only for __USE_GNU.
73291         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73292         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73293         process_vm_writev only for __USE_GNU.
73294         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73296         * conform/Makefile: For now ignore errors from run-conformtest.
73297         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73298         POSIX to avoid namespace pollution.  Don't prepend headers.
73299         * conform/data/aio.h-data: Fixes for POSIX testing.
73300         * conform/data/fcntl.h-data: Likewise.
73301         * conform/data/glob.h-data: Likewise.
73302         * conform/data/grp.h-data: Likewise.
73303         * conform/data/pthread.h-data: Likewise.
73304         * conform/data/pwd.h-data: Likewise.
73305         * conform/data/signal.h-data: Likewise.
73306         * conform/data/spawn.h-data: Likewise.
73307         * conform/data/stdio.h-data: Likewise.
73308         * conform/data/stdlib.h-data: Likewise.
73309         * conform/data/stropts.h-data: Likewise.
73310         * conform/data/sys/mman.h-data: Likewise.
73311         * conform/data/sys/stat.h-data: Likewise.
73312         * conform/data/sys/types.h-data: Likewise.
73313         * conform/data/sys/wait.h-data: Likewise.
73314         * conform/data/time.h-data: Likewise.
73315         * conform/data/unistd.h-data: Likewise.
73316         * conform/data/utime.h-data: Likewise.
73318         * io/sys/stat.h: fchmod was always in POSIX.
73319         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73320         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73321         * rt/aio.h: Define __need_timespec before including <time.h>.
73322         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73323         struct.  Add forward declaration of pthread_attr_t and use it in
73324         sigevent.
73325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73327         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73328         always remove CLK_TCK definition.
73330 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73332         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73334 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73336         * conform/run-conformtest.sh: New file.
73337         * conform/Makefile: Run run-conformtest for tests.
73338         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73339         support.
73341         * conform/data/uchar.h-data: New file.
73342         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73343         * conform/data/arpa/inet.h-data: Likewise.
73344         * conform/data/assert.h-data: Likewise.
73345         * conform/data/complex.h-data: Likewise.
73346         * conform/data/cpio.h-data: Likewise.
73347         * conform/data/ctype.h-data: Likewise.
73348         * conform/data/dirent.h-data: Likewise.
73349         * conform/data/dlfcn.h-data: Likewise.
73350         * conform/data/errno.h-data: Likewise.
73351         * conform/data/fcntl.h-data: Likewise.
73352         * conform/data/float.h-data: Likewise.
73353         * conform/data/fmtmsg.h-data: Likewise.
73354         * conform/data/fnmatch.h-data: Likewise.
73355         * conform/data/ftw.h-data: Likewise.
73356         * conform/data/glob.h-data: Likewise.
73357         * conform/data/grp.h-data: Likewise.
73358         * conform/data/iconv.h-data: Likewise.
73359         * conform/data/inttypes.h-data: Likewise.
73360         * conform/data/langinfo.h-data: Likewise.
73361         * conform/data/libgen.h-data: Likewise.
73362         * conform/data/limits.h-data: Likewise.
73363         * conform/data/locale.h-data: Likewise.
73364         * conform/data/math.h-data: Likewise.
73365         * conform/data/monetary.h-data: Likewise.
73366         * conform/data/mqueue.h-data: Likewise.
73367         * conform/data/ndbm.h-data: Likewise.
73368         * conform/data/net/if.h-data: Likewise.
73369         * conform/data/netdb.h-data: Likewise.
73370         * conform/data/netinet/in.h-data: Likewise.
73371         * conform/data/nl_types.h-data: Likewise.
73372         * conform/data/poll.h-data: Likewise.
73373         * conform/data/pthread.h-data: Likewise.
73374         * conform/data/pwd.h-data: Likewise.
73375         * conform/data/regex.h-data: Likewise.
73376         * conform/data/sched.h-data: Likewise.
73377         * conform/data/search.h-data: Likewise.
73378         * conform/data/semaphore.h-data: Likewise.
73379         * conform/data/setjmp.h-data: Likewise.
73380         * conform/data/signal.h-data: Likewise.
73381         * conform/data/spawn.h-data: Likewise.
73382         * conform/data/stdarg.h-data: Likewise.
73383         * conform/data/stdio.h-data: Likewise.
73384         * conform/data/stdlib.h-data: Likewise.
73385         * conform/data/string.h-data: Likewise.
73386         * conform/data/strings.h-data: Likewise.
73387         * conform/data/stropts.h-data: Likewise.
73388         * conform/data/sys/ipc.h-data: Likewise.
73389         * conform/data/sys/mman.h-data: Likewise.
73390         * conform/data/sys/msg.h-data: Likewise.
73391         * conform/data/sys/resource.h-data: Likewise.
73392         * conform/data/sys/select.h-data: Likewise.
73393         * conform/data/sys/sem.h-data: Likewise.
73394         * conform/data/sys/shm.h-data: Likewise.
73395         * conform/data/sys/socket.h-data: Likewise.
73396         * conform/data/sys/stat.h-data: Likewise.
73397         * conform/data/sys/statvfs.h-data: Likewise.
73398         * conform/data/sys/time.h-data: Likewise.
73399         * conform/data/sys/timeb.h-data: Likewise.
73400         * conform/data/sys/times.h-data: Likewise.
73401         * conform/data/sys/types.h-data: Likewise.
73402         * conform/data/sys/uio.h-data: Likewise.
73403         * conform/data/sys/un.h-data: Likewise.
73404         * conform/data/sys/utsname.h-data: Likewise.
73405         * conform/data/sys/wait.h-data: Likewise.
73406         * conform/data/syslog.h-data: Likewise.
73407         * conform/data/tar.h-data: Likewise.
73408         * conform/data/termios.h-data: Likewise.
73409         * conform/data/utime.h-data: Likewise.
73410         * conform/data/utmpx.h-data: Likewise.
73411         * conform/data/varargs.h-data: Likewise.
73412         * conform/data/wchar.h-data: Likewise.
73413         * conform/data/wctype.h-data: Likewise.
73414         * conform/data/wordexp.h-data: Likewise.
73416         * include/stropts.h: New file.
73417         * include/uchar.h: New file.
73418         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73419         * include/assert.h: Likewise.
73420         * include/ctype.h: Likewise.
73421         * include/dirent.h: Likewise.
73422         * include/dlfcn.h: Likewise.
73423         * include/fcntl.h: Likewise.
73424         * include/fnmatch.h: Likewise.
73425         * include/glob.h: Likewise.
73426         * include/grp.h: Likewise.
73427         * include/libio.h: Likewise.
73428         * include/locale.h: Likewise.
73429         * include/math.h: Likewise.
73430         * include/net/if.h: Likewise.
73431         * include/netdb.h: Likewise.
73432         * include/netinet/in.h: Likewise.
73433         * include/pthread.h: Likewise.
73434         * include/pwd.h: Likewise.
73435         * include/regex.h: Likewise.
73436         * include/sched.h: Likewise.
73437         * include/search.h: Likewise.
73438         * include/setjmp.h: Likewise.
73439         * include/signal.h: Likewise.
73440         * include/stdio.h: Likewise.
73441         * include/stdlib.h: Likewise.
73442         * include/string.h: Likewise.
73443         * include/sys/cdefs.h: Likewise.
73444         * include/sys/mman.h: Likewise.
73445         * include/sys/msg.h: Likewise.
73446         * include/sys/resource.h: Likewise.
73447         * include/sys/select.h: Likewise.
73448         * include/sys/socket.h: Likewise.
73449         * include/sys/stat.h: Likewise.
73450         * include/sys/statvfs.h: Likewise.
73451         * include/sys/time.h: Likewise.
73452         * include/sys/times.h: Likewise.
73453         * include/sys/uio.h: Likewise.
73454         * include/sys/utsname.h: Likewise.
73455         * include/sys/wait.h: Likewise.
73456         * include/termios.h: Likewise.
73457         * include/time.h: Likewise.
73458         * include/ulimit.h: Likewise.
73459         * include/unistd.h: Likewise.
73460         * include/utime.h: Likewise.
73461         * include/wchar.h: Likewise.
73462         * include/wctype.h: Likewise.
73463         * include/wordexp.h: Likewise.
73465         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73467         * time/time.h: TIME_UTC must be a macro.
73468         Make timespec_get available for ISO C11 only as well.
73470 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73472         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73473         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73475 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73477         * configure.in: Use -o not -a in test for unsupported multi-arch.
73479 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73481         * manual/texinfo.tex: Update to version 2012-01-19.16.
73483 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73485         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73487 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73489         [BZ #13738]
73490         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73491         * manual/fdl-1.3.texi: New file.
73492         * manual/fdl-1.1.texi: File removed.
73494         [BZ #13738]
73495         * manual/libc.texinfo (FDL_VERSION): New @set.
73496         Use it for mention of FDL in cover text.
73497         (Documentation License): Use it in @include file name.
73499 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73500             Roland McGrath  <roland@hack.frob.com>
73502         [BZ #5461]
73503         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73504         (not LONG_LONG_MAX and LONG_LONG_MIN.
73505         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73506         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73507         name.
73508         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73510 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73512         [BZ #2547]
73513         [BZ #11365]
73514         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73515         manipulate bits before adding and subtracting TWO23[sx].
73516         * math/libm-test.inc (nearbyint_test): Add more tests.
73518 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73520         [BZ #2548]
73521         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73522         bits before adding and subtracting TWO23[sx].
73523         * math/libm-test.inc (rint_test): Add more tests.
73524         (rint_test_tonearest): Likewise.
73525         (rint_test_towardzero): Likewise.
73526         (rint_test_downward): Likewise.
73527         (rint_test_upward: Likewise.
73529 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73531         [BZ #10110]
73532         * include/stdc-predef.h: New file.  Extracted from features.h.
73533         * include/features.h: Include stdc-predef.h.
73534         * Makefile (headers): Add stdc-predef.h.
73535         * CONFORMANCE (Compiler limitations): Update.
73537 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73539         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73541 2012-02-21  David S. Miller  <davem@davemloft.net>
73543         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73544         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73546 2012-02-20  David S. Miller  <davem@davemloft.net>
73548         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73549         using a normal save/restore sequence, rather than allocating a
73550         dummy stack frame just to store a frame pointer and restore.
73551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73553 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73555         * manual/install.texi: Fix stray word in line-wrapped comment.
73557 2012-02-20  David S. Miller  <davem@davemloft.net>
73559         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73560         both binutils and gcc support GOTDATA.
73562         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73563         "rd %pc" in the PIC register setup sequences.
73565         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73566         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73567         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73568         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73569         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73571         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73574         (SYSCALL_ERROR_HANDLER): Likewise.
73575         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73576         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73578         (SYSCALL_ERROR_HANDLER): Likewise.
73580         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73581         (HAVE_GCC_GOTDATA): New.
73582         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73583         relocation support in both binutils and gcc.
73584         * sysdeps/sparc/elf/configure: Regenerate.
73586         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73587         * sysdeps/sparc/sparc32/elf/configure: Delete.
73588         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73589         * sysdeps/sparc/sparc64/elf/configure: Delete.
73590         * sysdeps/sparc/elf/configure.in: New file.
73591         * sysdeps/sparc/elf/configure: Generate.
73593         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73594         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73595         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73596         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73597         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73599 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73601         * manual/install.texi: Do not mention specific glibc version
73602         numbers.
73603         * manual/libc.texinfo (VERSION, UPDATED): Update.
73604         (@copying): Use @copyright{} and range of years.
73606 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73608         [BZ #13695]
73609         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73610         [crti.S not in sysdirs] (generated): Do not append.
73611         [crti.S not in sysdirs] (omit-deps): Likewise.
73612         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73613         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73614         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73615         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73616         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73617         Likewise.
73618         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73619         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73620         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73621         * csu/defs.awk: Remove file.
73622         * sysdeps/generic/initfini.c: Likewise.
73623         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73624         variable.
73625         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73626         Likewise.
73628 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73630         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73631         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73632         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73633         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73634         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73635         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73636         <bits/epoll.h>.
73637         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73638         (__EPOLL_PACKED): Define to empty if not defined by
73639         <bits/epoll.h>.
73640         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73642         bits/epoll.h.
73644 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73646         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73647         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73648         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73649         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73650         <bits/timerfd.h>.
73651         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73653         bits/timerfd.h.
73655 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73657         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73658         in C locale.
73659         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73660         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73664 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73666         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73667         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73669 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73671         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73672         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73673         defined.
73674         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73675         Likewise.
73676         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73677         entry for 2.16.
73679 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73681         * math/w_acos.c: Use non-signaling floating-point comparisons.
73682         * math/w_acosf.c: Likewise.
73683         * math/w_acosh.c: Likewise.
73684         * math/w_acoshf.c: Likewise.
73685         * math/w_acoshl.c: Likewise.
73686         * math/w_acosl.c: Likewise.
73687         * math/w_asin.c: Likewise.
73688         * math/w_asinf.c: Likewise.
73689         * math/w_asinl.c: Likewise.
73690         * math/w_atanh.c: Likewise.
73691         * math/w_atanhf.c: Likewise.
73692         * math/w_atanhl.c: Likewise.
73693         * math/w_exp2.c: Likewise.
73694         * math/w_exp2f.c: Likewise.
73695         * math/w_exp2l.c: Likewise.
73696         * math/w_j0.c: Likewise.
73697         * math/w_j0f.c: Likewise.
73698         * math/w_j0l.c: Likewise.
73699         * math/w_j1.c: Likewise.
73700         * math/w_j1f.c: Likewise.
73701         * math/w_j1l.c: Likewise.
73702         * math/w_jn.c: Likewise.
73703         * math/w_jnf.c: Likewise.
73704         * math/w_log.c: Likewise.
73705         * math/w_log10.c: Likewise.
73706         * math/w_log10f.c: Likewise.
73707         * math/w_log10l.c: Likewise.
73708         * math/w_log2.c: Likewise.
73709         * math/w_log2f.c: Likewise.
73710         * math/w_log2l.c: Likewise.
73711         * math/w_logf.c: Likewise.
73712         * math/w_logl.c: Likewise.
73713         * math/w_sqrt.c: Likewise.
73714         * math/w_sqrtf.c: Likewise.
73715         * math/w_sqrtl.c: Likewise.
73716         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73717         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73719         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73720         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73722 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73724         [BZ #9739]
73725         * manual/string.texi (strnlen): Use correct parameter name in
73726         equivalent expression.
73728 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73730         [BZ #11174]
73731         * manual/users.texi (seteuid): Consistently use neweuid for
73732         argument name.
73734 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73736         [BZ #13704]
73737         * manual/nss.texi (Services in the NSS configuration): Correct
73738         list of services in example configuration file.
73740 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73742         [BZ #11322]
73743         * manual/arith.texi: Remove statements about negative zero
73744         behaving identically to zero.
73746 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73748         [BZ #5993]
73749         * manual/install.texi: Do not document upgrading from libc5.
73751 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73753         [BZ #4596]
73754         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73756 2012-02-18  David S. Miller  <davem@davemloft.net>
73758         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73759         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73760         %o7 across the call.
73761         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73762         instead.
73763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73764         SETUP_PIC_REG_LEAF.
73765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73766         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73767         * sysdeps/sparc/crtn.S: Likewise.
73769 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73771         * aout/Makefile: Remove.
73773 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73775         [BZ #13058]
73776         * manual/examples/argp-ex1.c (main): Format definition in GNU
73777         style.
73778         * manual/examples/argp-ex2.c (main): Likewise.
73779         * manual/examples/argp-ex3.c (main): Likewise.
73780         * manual/examples/argp-ex4.c (main): Likewise.
73781         * manual/examples/longopt.c (main): Use new-style prototype
73782         definition.
73783         * manual/examples/strncat.c (main): Specify return type and use
73784         (void) for arguments.
73785         * manual/examples/subopt.c (main): Use char **argv argument.
73787 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73789         [BZ #5077]
73790         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73791         rounding modes.
73793 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73795         [BZ #6907]
73796         * manual/string.texi (strchr): Change when strchrnul is
73797         recommended.
73799 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73801         [BZ #174]
73802         * manual/locale.texi (setlocale): Document LOCPATH.
73804 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73806         [BZ #10210]
73807         * manual/process.texi (execle): Move @dots{} before last argument.
73809 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73811         [BZ #12047]
73812         * manual/charset.texi (Generic Charset Conversion): Fix typo
73813         (LC_TYPE -> LC_CTYPE).
73815 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73817         [BZ #5805]
73818         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73819         (scalbnf): Likewise.
73820         (scalbnl): Likewise.
73821         (scalbln): Likewise.
73822         (scalblnf): Likewise.
73823         (scalblnl): Likewise.
73824         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73825         (vwarnx): Likewise.
73826         (verr): Likewise.
73827         (verrx): Likewise.
73828         * manual/filesys.texi (telldir): Use braces around return type.
73829         * manual/llio.texi (mmap): Add space after comma.
73830         (mmap64): Likewise.
73831         * manual/math.texi (jn): Use @var{} on parameter names.
73832         (jnf): Likewise.
73833         (jnl): Likewise.
73834         (yn): Likewise.
73835         (ynf): Likewise.
73836         (ynl): Likewise.
73837         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73838         line.
73839         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73840         "...".
73841         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73842         (sched_get_priority_max): Likewise.
73843         * manual/signal.texi (sigvec): Add space after comma.
73844         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73845         names.
73846         (if_indextoname): Likewise.
73847         (if_freenameindex): Likewise.
73848         (sendto): Use ',' instead of '.' in prototype.
73849         * manual/startup.texi (syscall): Use @dots{} instead of literal
73850         "...".
73851         * manual/stdio.texi (__fpending): Separate initial words of
73852         paragraph from @deftypefun line.
73853         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73854         "...".
73855         (vsyslog): Use @var{} on parameter names.
73856         * manual/terminal.texi (stty): Use @var{} on parameter names.
73857         * manual/users.texi (getutmp): Use @var{} on parameter names.
73858         (getutmpx): Likewise.
73860 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73862         [BZ #6884]
73863         * manual/stdio.texi (fopen): Fix typos in description of
73864         ",ccs=STRING".
73866 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73868         [BZ #4026]
73869         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73870         get clock_id definition.
73872 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73874         [BZ #4822]
73875         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73876         (madvise): Cast every argument to void on its own.
73878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73880         [BZ #9902]
73881         * manual/startup.texi (Exit Status): Fix typo.
73883 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73885         [BZ #10140]
73886         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73887         * manual/examples/argp-ex2.c: Likewise.
73888         * manual/examples/argp-ex3.c: Likewise.
73890 2012-02-16  Richard Henderson  <rth@redhat.com>
73892         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73893         * sysdeps/s390/s390-32/initfini.c: Remove.
73894         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73895         * sysdeps/s390/s390-64/initfini.c: Remove.
73897 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73899         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73900         compiler output for sysdeps/generic/initfini.c.
73901         * sysdeps/sh/elf/initfini.c: Remove file.
73903 2012-02-16  David S. Miller  <davem@davemloft.net>
73905         [BZ #11494]
73906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73908         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73909         * sysdeps/sparc/crti.S: New file.
73910         * sysdeps/sparc/crtn.S: New file.
73911         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73912         * sysdeps/sparc/sparc64/Makefile: Likewise.
73914 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73916         [BZ #3335]
73917         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73919 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73921         [BZ #4822]
73922         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73924         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73925         (write, read, close): Likewise.
73926         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73928 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73930         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73931         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73932         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73933         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73934         <bits/signalfd.h>.
73935         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73936         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73937         bits/signalfd.h.
73939 2012-02-14  Marek Polacek  <polacek@redhat.com>
73941         * sysdeps/x86_64/crti.S: New file.
73942         * sysdeps/x86_64/crtn.S: New file.
73943         * sysdeps/x86_64/elf/initfini.c: Remove file.
73945 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73947         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73948         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73949         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73950         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73951         <bits/inotify.h>.
73952         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73953         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73954         bits/inotify.h.
73956 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73958         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73959         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73960         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73961         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73962         <bits/eventfd.h>.
73963         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73965         bits/eventfd.h.
73967 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73969         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73970         __feraiseexcept instead of feraiseexcept.
73972         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73973         nanosleep invocations.
73974         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73975         strings, and add error checking for a nanosleep invocations.
73977 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73979         Replace FSF snail mail address with URLs, as per GNU coding standards.
73980         Most of the snail mail addresses were wrong anyway, and omitting
73981         them makes the source code easier to maintain.  Almost all of the
73982         changes are to license notices and to locale LC_IDENTIFICATION
73983         addresses, except for this one:
73984         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73985         not its snail mail address.
73987 2012-02-09  Richard Henderson  <rth@twiddle.net>
73989         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73990         of kernel-features.h.
73992         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73994 2012-02-08  Marek Polacek  <polacek@redhat.com>
73996         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73997         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73998         * sysdeps/gnu/_G_config.h: Likewise.
73999         * sysdeps/generic/_G_config.h: Likewise.
74001 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74003         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74004         tests.
74005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74007         * sysdeps/powerpc/powerpc32/crti.S: New file.
74008         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74009         * sysdeps/powerpc/powerpc64/crti.S: New file.
74010         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74012         * Makeconfig (have-initfini): Don't set.
74013         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74014         * configure.in (nopic_initfini): Don't substitute.
74015         * config.h.in (HAVE_INITFINI): Don't #undef.
74016         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74017         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74019 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74021         Support crti.S and crtn.S provided directly by architectures.
74022         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74023         [crti.S in sysdirs] (omit-deps): Likewise.
74024         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74025         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74026         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74027         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74028         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74029         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74030         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74031         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74032         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74033         compiler output for sysdeps/generic/initfini.c.
74034         * sysdeps/i386/elf/Makefile: Remove file.
74035         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74037 2012-02-07  Marek Polacek  <polacek@redhat.com>
74039         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74040         * sysdeps/gnu/_G_config.h: Likewise.
74041         * sysdeps/mach/hurd/_G_config.h: Likewise.
74043 2012-02-07  Marek Polacek  <polacek@redhat.com>
74045         * math/Makefile (tests): Add tst-CMPLX2.
74046         * math/tst-CMPLX2.c: New file.
74048 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74050         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74052         * math/libm-test.inc (jn_test): Add missing L suffix.
74054 2012-02-06  Marek Polacek  <polacek@redhat.com>
74056         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74057         * sysdeps/i386/fpu/e_powf.S: Likewise.
74058         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74059         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74061         * sysdeps/i386/fpu/e_pow.S: Likewise.
74062         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74063         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74064         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74065         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74066         * sysdeps/i386/fpu/e_log2.S: Likewise.
74067         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74068         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74069         * sysdeps/i386/fpu/e_powl.S: Likewise.
74070         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74071         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74072         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74073         * sysdeps/i386/fpu/e_logl.S: Likewise.
74074         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74075         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74076         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74077         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74078         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74079         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74080         * sysdeps/i386/fpu/e_log.S: Likewise.
74081         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74083         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74084         * sysdeps/i386/fpu/e_logf.S: Likewise.
74085         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74086         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74087         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74088         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74089         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74090         * sysdeps/i386/fpu/e_log10.S: Likewise.
74091         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74092         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74093         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74094         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74095         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74096         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74097         * sysdeps/i386/asm-syntax.h: Likewise.
74098         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74099         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74100         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74101         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74102         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74103         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74104         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74105         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74106         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74107         * sysdeps/powerpc/sysdep.h: Likewise.
74108         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74109         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74111 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74113         [BZ #411]
74114         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74116 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74118         * sysdeps/i386/sysdep.h: Include <features.h>.
74119         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74120         version.
74122 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74124         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74125         Define.
74126         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74127         LOAD_PIC_REG_STR.
74129 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74131         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74132         (SETUP_PIC_REG): Use GET_PC_THUNK.
74133         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74134         macro.
74136 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74138         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74139         for non-PIC compilation.
74140         (SETUP_PIC_REG): Add .p2align directive.
74141         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74142         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74143         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74144         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74146         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74147         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74148         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74149         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74150         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74151         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74152         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74153         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74154         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74155         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74156         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74157         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74162         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74163         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74164         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74165         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74167         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74168         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74173         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74174         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74175         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74177         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74180         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74181         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74183 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74185         * math/tst-CMPLX.c: Include <stdio.h>.
74187 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74189         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74190         float.
74191         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74192         * sysdeps/sparc/bits/mathdef.h: Likewise.
74194 2012-01-31  Marek Polacek  <polacek@redhat.com>
74196         * libio/libio.h: Don't define _PARAMS.
74197         * locale/programs/config.h: Don't define PARAMS.
74198         * stdlib/strtol_l.c: Likewise.
74199         (__strtol_l): Remove PARAMS from the prototype.
74201 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74203         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74204         names.  Just use the correct names.  Remove unnecessary wrapper
74205         functions.
74206         * malloc/arena.c: Likewise.
74207         * malloc/hooks.c: Likewise.
74209         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74210         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74211         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74213 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74215         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74216         into tail calls.
74217         (update_get_addr): New function.
74218         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74219         GET_ADDR_MODULE parameter.
74221 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74223         * crypt/cert.c: Remove __STDC__ conditionals.
74224         * crypt/crypt-entry.c: Likewise.
74225         * crypt/crypt_util.c: Likewise.
74226         * libio/filedoalloc.c: Likewise.
74227         * libio/fileops.c: Likewise.
74228         * libio/genops.c: Likewise.
74229         * libio/iofclose.c: Likewise.
74230         * libio/iofdopen.c: Likewise.
74231         * libio/iofopen.c: Likewise.
74232         * libio/iofopen64.c: Likewise.
74233         * libio/iogetdelim.c: Likewise.
74234         * libio/iopopen.c: Likewise.
74235         * libio/obprintf.c: Likewise.
74236         * libio/oldfileops.c: Likewise.
74237         * libio/oldiofclose.c: Likewise.
74238         * libio/oldiofdopen.c: Likewise.
74239         * libio/oldiofopen.c: Likewise.
74240         * libio/oldiopopen.c: Likewise.
74241         * libio/wfiledoalloc.c: Likewise.
74242         * libio/wgenops.c: Likewise.
74243         * locale/programs/xmalloc.c: Likewise.
74244         * misc/syslog.c: Likewise.
74245         * stdio-common/xbug.c: Likewise.
74246         * string/memchr.c: Likewise.
74247         * string/memcmp.c: Likewise.
74248         * string/memrchr.c: Likewise.
74249         * string/rawmemchr.c: Likewise.
74250         * sysdeps/posix/getcwd.c: Likewise.
74251         * time/strftime_l.c: Likewise.
74253 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74255         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74256         * config.make.in (config-cflags-sse2avx): Define.
74257         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74258         Fix typo.
74260 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74262         * scripts/config.guess: Update from upstream config git repository.
74263         * scripts/config.sub: Likewise.
74265 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74267         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74268         (EM_NUM): Update.
74269         (R_TILEPRO_*, R_TILEGX_*): New macros.
74271         * scripts/firstversions.awk: Fix bug in version range handling.
74273         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74275         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74277         * include/sys/epoll.h: New file.
74278         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74279         libc_hidden_def.
74281 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74283         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74284         Avoid unnecessary __WORDSIZE == 64 test.
74285         (fmaxf): Use VEX format if possible.
74286         (fmax): Likewise.
74287         (fminf): Likewise.
74288         (fmin): Likewise.
74290         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74291         * math/math_private.h: Remove libc_fegetround* and
74292         libc_fesetround*.
74293         * sysdeps/i386/configure.in: Check for -msse2avx.
74294         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74295         also if SSE2AVX is defined.
74296         Remove libc_fegetround* and libc_fesetround*.
74297         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74298         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74300         of HAS_YMM_USABLE.
74301         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74302         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74303         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74304         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74305         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74307         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74309 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74311         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74312         size is not set.
74313         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74315 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74317         [BZ #13618]
74318         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74319         relocation.
74320         * Makeconfig (libm): Define.
74321         * elf/Makefile: Add rules to build and run tst-relsort1.
74322         * elf/tst-relsort1.c: New file.
74323         * elf/tst-relsort1mod1.c: New file.
74324         * elf/tst-relsort1mod2.c: New file.
74326 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74328         * math/s_ldexp.c: Remove __STDC__ conditionals.
74329         * math/s_ldexpf.c: Likewise.
74330         * math/s_ldexpl.c: Likewise.
74331         * math/s_nextafter.c: Likewise.
74332         * math/s_nexttowardf.c: Likewise.
74333         * math/s_significand.c: Likewise.
74334         * math/s_significandf.c: Likewise.
74335         * math/s_significandl.c: Likewise.
74336         * math/w_jnl.c: Likewise.
74337         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74338         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74339         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74340         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74341         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74343         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74344         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74345         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74346         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74347         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74348         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74349         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74350         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74352         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74353         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74354         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74356         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74357         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74358         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74359         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74361         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74362         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74363         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74364         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74365         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74366         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74367         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74368         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74369         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74370         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74371         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74372         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74373         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74374         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74375         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74376         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74377         * sysdeps/ieee754/k_standard.c: Likewise.
74378         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74379         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74380         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74381         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74382         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74383         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74384         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74385         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74386         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74387         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74388         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74389         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74390         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74391         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74392         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74394         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74397         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74400         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74401         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74402         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74403         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74409         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74410         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74411         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74412         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74413         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74414         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74416         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74417         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74418         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74420         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74421         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74423         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74424         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74425         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74426         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74427         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74428         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74431         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74432         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74433         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74434         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74435         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74436         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74437         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74438         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74439         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74440         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74442         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74443         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74444         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74445         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74446         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74447         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74448         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74449         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74450         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74451         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74452         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74453         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74454         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74455         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74456         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74457         * sysdeps/ieee754/s_matherr.c: Likewise.
74458         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74459         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74463 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74465         * crypt/md5.h: Remove __STDC__ conditionals.
74466         * libio/libioP.h: Likewise.
74467         * locale/programs/config.h: Likewise.
74468         * sysdeps/generic/sysdep.h: Likewise.
74469         * sysdeps/i386/asm-syntax.h: Likewise.
74470         * sysdeps/s390/asm-syntax.h: Likewise.
74471         * sysdeps/unix/sysdep.h: Likewise.
74472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74475 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74477         * libio/libio.h: Remove __STDC__ conditionals.
74478         * malloc/obstack.h: Likewise.
74479         * math/complex.h: Likewise.
74480         * math/math.h: Likewise.
74481         * sysdeps/generic/_G_config.h: Likewise.
74482         * sysdeps/gnu/_G_config.h: Likewise.
74483         * sysdeps/mach/hurd/_G_config.h: Likewise.
74484         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74485         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74486         * sysdeps/sparc/bits/mathdef.h: Likewise.
74488 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74490         [BZ #13583]
74491         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74492         Clean up HAS_* macros.
74493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74494         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74495         possible.
74496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74497         HAS_AVX.
74498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74499         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74500         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74501         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74502         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74504 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74506         * elf/tst-unique3.cc (gets): Remove declaration.
74507         * elf/tst-unique3lib.cc (gets): Likewise.
74508         * elf/tst-unique3lib2.cc (gets): Likewise.
74509         * elf/tst-unique4.cc (gets): Likewise.
74511 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74513         * include/stdio.h: Add C++ protection.  Add gets declarations and
74514         definitions.
74515         * debug/tst-chk1.c: Don't declare gets here.
74516         * stdio-common/tst-gets.c: Likewise.
74518 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74520         * posix/glob: Remove directory.
74522 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74524         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74526 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74528         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74529         of the non-standard EPFNOSUPPORT.
74531 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74533         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74534         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74535         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74537 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74539         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74541 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74543         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74544         transient errors.
74545         * nscd/grpcache.c (cache_addgr): Likewise.
74546         * nscd/hstcache.c (cache_addhst): Likewise.
74547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74548         * nscd/pwdcache.c (cache_addpw): Likewise.
74549         * nscd/servicescache.c (cache_addserv): Likewise.
74551 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74553         * malloc/malloc.c: Various cleanups.
74554         * malloc/hooks.c: Likewise.
74556         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74557         * stdlib/bug-fmtmsg1.c: New file.
74559         * stdlib/fmtmsg.c (init): Add missing unlock.
74560         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74562 2012-01-12  Marek Polacek  <polacek@redhat.com>
74564         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74565         and _GNU_SOURCE.
74567 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74569         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74570         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74571         macro to ensure uniqueness of label name.
74572         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74573         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74575 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74577         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74579         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74580         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74584 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74586         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74588         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74589         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74592         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74594         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74595         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74596         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74599         * math/bits/math-finite.h: Add ldexp support.
74601 2012-01-10  Marek Polacek  <polacek@redhat.com>
74603         * locale/programs/localedef.h (show_archive_content): Add noreturn
74604         attribute.
74606 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74608         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74610 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74612         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74614         * io/Makefile (headers): Add bits/poll2.h.
74616 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74619         typo #include statement.
74621 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74623         * include/sys/cdefs.h: Define __attribute_alloc_size.
74624         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74625         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74626         * elf/pldd.c: Likewise.
74627         * iconv/iconv_charmap.c: Likewise.
74628         * iconv/iconvconfig.c: Likewise.
74629         * iconv/strtab.c: Likewise.
74630         * locale/programs/locale.c: Likewise.
74631         * locale/programs/localedef.h: Likewise.
74632         * locale/programs/simple-hash.c: Likewise.
74633         * nscd/nscd.h: Likewise.
74634         * nss/makedb.c: Likewise.
74635         * sysdeps/generic/ldconfig.h: Likewise.
74636         * locale/programs/localedef.c: Remove xmalloc prototype.
74637         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74639 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74641         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74642         appropriate.
74644 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74646         * math/Makefile (tests): Add tst-CMPLX.
74647         * math/tst-CMPLX.c: New file.
74649         * math/complex.h (CMPLXL): Fix typo.
74651         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74652         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74653         GLIBC_2.16.
74654         * debug/tst-chk1.c: Add poll and ppoll tests.
74655         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74656         * include/sys/poll.h: Add hidden proto for ppoll.
74657         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74658         * sysdeps/mach/hurd/ppoll.c: Likewise.
74659         * io/ppoll.c: Likewise.
74660         * debug/poll_chk.c: New file.
74661         * debug/ppoll_chk.c: New file.
74662         * include/bits/poll2.h: New file.
74663         * io/bits/poll2.h: New file.
74665         [BZ #1350]
74666         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74668         * configure.in: static is always set to yes.  Remove.
74669         * config.make.in: Don't set build-static.
74670         * Makeconfig: Remove use of build-static.
74671         * dlfcn/Makefile: Likewise.
74672         * elf/Makefile: Likewise.
74673         * math/Makefile: Likewise.
74674         * misc/Makefile: Likewise.
74675         * nptl/Makefile: Likewise.
74676         * sysdeps/mach/hurd/Makefile: Likewise.
74678         * configure.in: PWD_P is not used anymore.
74679         * config.make.in: Remove PWD_P entry.
74681         * configure.in: Remove last remnants of RANLIB.
74682         No need to check for signed size_t anymore.
74683         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74684         and IA-64.
74685         Remove __builtin_expect test because we require at least gcc 3.4.
74686         * aclocal.m4: Likewise.
74688         * wcsmbs/mbrtoc16.c: Implement using towc function.
74689         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74690         * wcsmbs/wcsmbsload.c: Likewise.
74691         * iconv/gconv_simple.c: Likewise.
74692         * iconv/gconv_int.h: Likewise.
74693         * iconv/gconv_builtin.h: Likewise.
74694         * iconv/iconv_prog.c: Remove CHAR16 handling.
74696         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74698         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74700         * configure.in: Remove --with-elf and --enable-bounded options.
74701         Dont set base_machine for ia64.  More non-ELF conditions removed.
74702         Remove testing and setting of leading underscore information.
74703         * config.make.in (build-bounded): Set to no.
74704         * config.h.in: Remove NO_UNDERSCORES entry.
74705         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74706         them.
74707         * csu/start.c: Remove !NO_UNDERSCORE code.
74708         * locale/localeinfo.h: Likewise.
74709         * sysdeps/generic/machine-gmon.h: Likewise.
74710         * sysdeps/generic/sysdep.h: Likewise.
74711         * sysdeps/i386/sysdep.h: Likewise.
74712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74713         * sysdeps/mach/sysdep.h: Likewise.
74714         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74716         * sysdeps/sh/sysdep.h: Likewise.
74717         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74718         * sysdeps/unix/i386/sysdep.S: Likewise.
74719         * sysdeps/unix/sparc/start.c: Likewise.
74720         * sysdeps/unix/sparc/sysdep.S: Likewise.
74721         * sysdeps/unix/sparc/sysdep.h: Likewise.
74722         * sysdeps/unix/start.c: Likewise.
74723         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74724         * sysdeps/x86_64/sysdep.h: Likewise.
74726 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74728         [BZ #13553]
74729         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74730         for non-gcc.
74731         * argp/argp-fmtstream.h: Use const instead __const.
74732         * argp/argp.h: Likewise.
74733         * assert/assert.h: Likewise.
74734         * bits/fenv.h: Likewise.
74735         * bits/sched.h: Likewise.
74736         * bits/sigset.h: Likewise.
74737         * bits/sigthread.h: Likewise.
74738         * catgets/nl_types.h: Likewise.
74739         * conform/data/pthread.h-data: Likewise.
74740         * crypt/crypt-private.h: Likewise.
74741         * crypt/crypt.h: Likewise.
74742         * crypt/crypt_util.c: Likewise.
74743         * ctype/ctype.h: Likewise.
74744         * debug/execinfo.h: Likewise.
74745         * debug/mbsnrtowcs_chk.c: Likewise.
74746         * debug/mbsrtowcs_chk.c: Likewise.
74747         * debug/wcsnrtombs_chk.c: Likewise.
74748         * debug/wcsrtombs_chk.c: Likewise.
74749         * debug/wcstombs_chk.c: Likewise.
74750         * dirent/dirent.h: Likewise.
74751         * dlfcn/dlfcn.h: Likewise.
74752         * elf/neededtest4.c: Likewise.
74753         * grp/grp.h: Likewise.
74754         * gshadow/gshadow.h: Likewise.
74755         * iconv/gconv.h: Likewise.
74756         * iconv/gconv_int.h: Likewise.
74757         * iconv/gconv_simple.c: Likewise.
74758         * iconv/iconv.h: Likewise.
74759         * iconv/loop.c: Likewise.
74760         * iconv/skeleton.c: Likewise.
74761         * include/aio.h: Likewise.
74762         * include/aliases.h: Likewise.
74763         * include/argz.h: Likewise.
74764         * include/arpa/inet.h: Likewise.
74765         * include/assert.h: Likewise.
74766         * include/dirent.h: Likewise.
74767         * include/dlfcn.h: Likewise.
74768         * include/execinfo.h: Likewise.
74769         * include/fcntl.h: Likewise.
74770         * include/fenv.h: Likewise.
74771         * include/glob.h: Likewise.
74772         * include/grp.h: Likewise.
74773         * include/libintl.h: Likewise.
74774         * include/mntent.h: Likewise.
74775         * include/netdb.h: Likewise.
74776         * include/pwd.h: Likewise.
74777         * include/rpc/netdb.h: Likewise.
74778         * include/sched.h: Likewise.
74779         * include/search.h: Likewise.
74780         * include/shadow.h: Likewise.
74781         * include/signal.h: Likewise.
74782         * include/stdio.h: Likewise.
74783         * include/stdlib.h: Likewise.
74784         * include/string.h: Likewise.
74785         * include/sys/socket.h: Likewise.
74786         * include/sys/stat.h: Likewise.
74787         * include/sys/statfs.h: Likewise.
74788         * include/sys/statvfs.h: Likewise.
74789         * include/sys/syslog.h: Likewise.
74790         * include/sys/time.h: Likewise.
74791         * include/sys/uio.h: Likewise.
74792         * include/time.h: Likewise.
74793         * include/unistd.h: Likewise.
74794         * include/utmp.h: Likewise.
74795         * include/wchar.h: Likewise.
74796         * include/wctype.h: Likewise.
74797         * inet/aliases.h: Likewise.
74798         * inet/arpa/inet.h: Likewise.
74799         * inet/netinet/ether.h: Likewise.
74800         * inet/netinet/in.h: Likewise.
74801         * intl/libintl.h: Likewise.
74802         * io/bits/fcntl2.h: Likewise.
74803         * io/fcntl.h: Likewise.
74804         * io/ftw.h: Likewise.
74805         * io/sys/poll.h: Likewise.
74806         * io/sys/stat.h: Likewise.
74807         * io/sys/statfs.h: Likewise.
74808         * io/sys/statvfs.h: Likewise.
74809         * io/utime.h: Likewise.
74810         * libio/bits/stdio.h: Likewise.
74811         * libio/bits/stdio2.h: Likewise.
74812         * libio/libio.h: Likewise.
74813         * libio/libioP.h: Likewise.
74814         * libio/stdio.h: Likewise.
74815         * locale/lc-ctype.c: Likewise.
74816         * locale/locale.h: Likewise.
74817         * login/utmp.h: Likewise.
74818         * malloc/arena.c: Likewise.
74819         * malloc/malloc.c: Likewise.
74820         * malloc/malloc.h: Likewise.
74821         * malloc/mcheck.c: Likewise.
74822         * malloc/mtrace.c: Likewise.
74823         * math/bits/mathcalls.h: Likewise.
74824         * math/fenv.h: Likewise.
74825         * math/math_private.h: Likewise.
74826         * misc/bits/error.h: Likewise.
74827         * misc/bits/syslog.h: Likewise.
74828         * misc/err.h: Likewise.
74829         * misc/error.h: Likewise.
74830         * misc/fstab.h: Likewise.
74831         * misc/mntent.h: Likewise.
74832         * misc/regexp.h: Likewise.
74833         * misc/search.h: Likewise.
74834         * misc/sgtty.h: Likewise.
74835         * misc/sys/mman.h: Likewise.
74836         * misc/sys/syslog.h: Likewise.
74837         * misc/sys/uio.h: Likewise.
74838         * misc/sys/xattr.h: Likewise.
74839         * misc/ttyent.h: Likewise.
74840         * nis/rpcsvc/ypclnt.h: Likewise.
74841         * nss/nss.h: Likewise.
74842         * posix/bits/unistd.h: Likewise.
74843         * posix/fnmatch.h: Likewise.
74844         * posix/glob.h: Likewise.
74845         * posix/sched.h: Likewise.
74846         * posix/spawn.h: Likewise.
74847         * posix/sys/wait.h: Likewise.
74848         * posix/unistd.h: Likewise.
74849         * posix/wordexp.h: Likewise.
74850         * pwd/pwd.h: Likewise.
74851         * resolv/netdb.h: Likewise.
74852         * resource/sys/resource.h: Likewise.
74853         * rt/aio.h: Likewise.
74854         * rt/bits/mqueue2.h: Likewise.
74855         * rt/mqueue.h: Likewise.
74856         * shadow/shadow.h: Likewise.
74857         * signal/signal.h: Likewise.
74858         * socket/send.c: Likewise.
74859         * socket/sendto.c: Likewise.
74860         * socket/sys/socket.h: Likewise.
74861         * stdio-common/printf.h: Likewise.
74862         * stdlib/bits/stdlib.h: Likewise.
74863         * stdlib/fmtmsg.h: Likewise.
74864         * stdlib/monetary.h: Likewise.
74865         * stdlib/stdlib.h: Likewise.
74866         * stdlib/ucontext.h: Likewise.
74867         * streams/stropts.h: Likewise.
74868         * string/argz.h: Likewise.
74869         * string/bits/string2.h: Likewise.
74870         * string/string.h: Likewise.
74871         * string/strings.h: Likewise.
74872         * sunrpc/rpc/auth.h: Likewise.
74873         * sunrpc/rpc/auth_des.h: Likewise.
74874         * sunrpc/rpc/clnt.h: Likewise.
74875         * sunrpc/rpc/netdb.h: Likewise.
74876         * sunrpc/rpc/pmap_clnt.h: Likewise.
74877         * sunrpc/rpc/xdr.h: Likewise.
74878         * sysdeps/generic/inttypes.h: Likewise.
74879         * sysdeps/generic/net/if.h: Likewise.
74880         * sysdeps/generic/sys/swap.h: Likewise.
74881         * sysdeps/gnu/net/if.h: Likewise.
74882         * sysdeps/gnu/utmpx.h: Likewise.
74883         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74884         * sysdeps/i386/i486/bits/string.h: Likewise.
74885         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74886         * sysdeps/s390/bits/string.h: Likewise.
74887         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74888         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74889         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74890         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74891         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74892         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74893         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74894         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74895         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74896         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74897         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74898         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74899         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74900         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74901         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74902         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74903         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74906         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74907         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74908         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74909         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74910         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74911         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74912         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74913         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74914         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74915         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74916         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74917         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74918         * sysvipc/sys/ipc.h: Likewise.
74919         * sysvipc/sys/msg.h: Likewise.
74920         * sysvipc/sys/sem.h: Likewise.
74921         * sysvipc/sys/shm.h: Likewise.
74922         * termios/termios.h: Likewise.
74923         * time/sys/time.h: Likewise.
74924         * time/time.h: Likewise.
74925         * wcsmbs/bits/wchar2.h: Likewise.
74926         * wcsmbs/uchar.h: Likewise.
74927         * wcsmbs/wchar.h: Likewise.
74928         * wctype/wctype.h: Likewise.
74930         [BZ #13551]
74931         * Makeconfig: Remove all but ELF support including AIX support.
74932         * Makerules: Likewise.
74933         * config.h.in: Likewise.
74934         * config.make.in: Likewise.
74935         * configure: Likewise.
74936         * configure.in: Likewise.
74937         * csu/Makefile: Likewise.
74938         * csu/version.c: Likewise.
74939         * debug/Makefile: Likewise.
74940         * dlfcn/Makefile: Likewise.
74941         * elf/Makefile: Likewise.
74942         * extra-lib.mk: Likewise.
74943         * iconv/Makefile: Likewise.
74944         * include/libc-symbols.h: Likewise.
74945         * include/shlib-compat.h: Likewise.
74946         * resolv/Makefile: Likewise.
74947         * resolv/res_libc.c: Likewise.
74948         * rt/Makefile: Likewise.
74949         * sysdeps/i386/asm-syntax.h: Likewise.
74950         * sysdeps/i386/sysdep.h: Likewise.
74951         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74952         * sysdeps/mach/sysdep.h: Likewise.
74953         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74954         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74955         * sysdeps/s390/asm-syntax.h: Likewise.
74956         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74957         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74958         * sysdeps/sh/sysdep.h: Likewise.
74959         * sysdeps/unix/sparc/sysdep.h: Likewise.
74960         * sysdeps/wordsize-32/divdi3.c: Likewise.
74961         * sysdeps/x86_64/sysdep.h: Likewise.
74963         * argp/Versions: Remove _argp_unlock_xxx.
74965         [BZ #13559]
74966         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74967         * abilist/libBrokenLocale.abilist: Likewise.
74968         * abilist/libanl.abilist: Likewise.
74969         * abilist/libc.abilist: Likewise.
74970         * abilist/libcrypt.abilist: Likewise.
74971         * abilist/libdl.abilist: Likewise.
74972         * abilist/libm.abilist: Likewise.
74973         * abilist/libnsl.abilist: Likewise.
74974         * abilist/libpthread.abilist: Likewise.
74975         * abilist/libresolv.abilist: Likewise.
74976         * abilist/librt.abilist: Likewise.
74977         * abilist/libthread_db.abilist: Likewise.
74978         * abilist/libutil.abilist: Likewise.
74979         * abilist/libnss_db.abilist: New file.
74981         * scripts/abilist.awk: Add support for indirect functions.
74983         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74985         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74987         * shlib-versions: Remove entries for ports architectures.
74989         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74990         files in ports.
74991         * elf/stackguard-macros.h: Remove support for IA-64.
74992         * elf/tst-auditmod1.c: Likewise.
74993         * sysdeps/generic/ldsodefs.h: Likewise.
74995         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74996         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74997         configure files.
74999         [BZ #13552]
75000         * configure.in: Remove --enable-omitfp support.
75001         * FAQ.in: Adjust.
75002         * config.make.in: Likewise.
75003         * Makeconfig: Likewise.
75004         * manual/install.texi: Likewise.
75006         In case anyone cares, the IA-64 architecture could move to ports.
75007         * sysdeps/ia64/*: Removed.
75008         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75009         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75011         [BZ #13555]
75012         * configure.in: Remove entries for unsupported architectures.
75014         [BZ #13533]
75015         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75016         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75017         routines.
75018         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75019         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75020         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75021         fall back to using wcrtomb.
75022         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75023         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75024         renaming.
75025         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75026         * wcsmbs/tst-c16c32-1.c: New file.
75028         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75029         local variable.
75031         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75033         * elf/tst-unique3.cc: Add explicit declaration of gets.
75034         * elf/tst-unique3lib.cc: Likewise.
75035         * elf/tst-unique3lib2.cc: Likewise.
75036         * elf/tst-unique4.cc: Likewise.
75038         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75040 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75042         [BZ #13566]
75043         * assert/assert.h (static_assert): Don't define for C++.
75044         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75045         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75047 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75049         * iconv/loop.c (single loop): Fix assertion in storing of
75050         remaining bytes.
75052         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75054 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75056         * posix/getconf.c: Update copyright year.
75057         * nss/getent.c: Likewise.
75058         * nss/makedb.c: Likewise.
75059         * iconv/iconvconfig.c: Likewise.
75060         * iconv/iconv_prog.c: Likewise.
75061         * elf/ldconfig.c: Likewise.
75062         * elf/pldd.c: Likewise.
75063         * elf/sotruss.ksh: Likewise.
75064         * catgets/gencat.c: Likewise.
75065         * csu/version.c: Likewise.
75066         * elf/ldd.bash.in: Likewise.
75067         * elf/sprof.c (print_version): Likewise.
75068         * locale/programs/locale.c: Likewise.
75069         * locale/programs/localedef.c: Likewise.
75070         * login/programs/pt_chown.c: Likewise.
75071         * nscd/nscd.c (print_version): Likewise.
75072         * debug/xtrace.sh: Likewise.
75073         * malloc/memusage.sh: Likewise.
75074         * malloc/mtrace.pl: Likewise.
75075         * debug/catchsegv.sh: Likewise.
75077 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75079         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75080         pure attribute.
75082 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75084         [BZ #13533]
75085         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75086         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75087         transformations.
75088         * iconv/gconv_int.h: Likewise.
75089         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75090         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75091         from libc for GLIBC_2.16.
75092         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75093         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75094         * wcsmbs/uchar.h: Really define mbstate_t.
75095         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75096         * wcsmbs/c16rtomb.c: New file.
75097         * wcsmbs/mbrtoc16.c: New file.
75098         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75099         for C/POSIX locale.
75100         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75101         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75103         * wcsmbs/wchar.h: Add missing __restrict.
75105 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75107         [BZ #13532]
75108         * time/Makefile (routines): Add timespec_get.
75109         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75110         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75111         timespec for ISO C11.
75112         * time/timespec_get.c: New file.
75113         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75114         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75116         [BZ #13531]
75117         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75118         * stdlib/stdlib.h: Declare aligned_alloc.
75119         * Versions.def: Add GLIBC_2.16 for libc.
75120         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75122         [BZ 13527]
75123         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75124         ISO C11.
75126         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75127         code.
75129         [BZ #13528]
75130         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75132         [BZ #13529]
75133         * assert/assert.h (static_assert): Define.
75135         * version.h: Update for 2.16 development version.
75137         [BZ #13526]
75138         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75139         _ISOC11_SOURCE.
75141         * version.h (RELEASE): Bump for 2.15 release.
75142         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75144         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75145         Patch by Marek Polacek <mpolacek@redhat.com>.
75147         * bits/byteswap.h: Protect long long constants with __extension__.
75148         * sysdeps/i386/bits/byteswap.h: Likewise.
75149         * sysdeps/ia64/bits/byteswap.h: Likewise.
75150         * sysdeps/s390/bits/byteswap.h: Likewise.
75151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75153 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75155         [BZ #13540]
75156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75157         destination buffer.
75158         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75160 2011-12-23  Marek Polacek  <polacek@redhat.com>
75162         * elf/dl-addr.c (determine_info): Add inline keyword.
75163         * elf/tst-auditmod4b.c (check_avx): Likewise.
75164         * elf/tst-auditmod6b.c (check_avx): Likewise.
75165         * elf/tst-auditmod6c.c (check_avx): Likewise.
75166         * elf/tst-auditmod7b.c (check_avx): Likewise.
75168 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75170         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75171         !__SSE_MATH__.
75173 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75175         [BZ #13540]
75176         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75177         processing for last bytes.
75179 2011-08-06  Bruno Haible  <bruno@clisp.org>
75181         [BZ #13061]
75182         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75183         U+0385, not to U+1FEE.
75185         [BZ #13062]
75186         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75187         entry for U+00A5 U+0301.
75189 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75191         [BZ #13166]
75192         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75193         buffer for the output is too small.
75195         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75196         optimization.
75198         [BZ #13185]
75199         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75200         SSE flags if possible.
75202 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75204         [BZ #13540]
75205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75206         processing for last bytes.
75208 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75210         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75211         (syscall-list-default-options, syscall-list-default-condition)
75212         (syscall-list-includes): Define.
75213         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75214         list of ABIs and options and #if conditions for each ABI.  Do not
75215         handle common syscalls between ABIs specially.
75216         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75217         Remove.
75218         (syscall-list-variants, syscall-list-32bit-options)
75219         (syscall-list-32bit-condition, syscall-list-64bit-options)
75220         (syscall-list-64bit-condition): Define.
75221         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75222         (syscall-list-variants, syscall-list-32bit-options)
75223         (syscall-list-32bit-condition, syscall-list-64bit-options)
75224         (syscall-list-64bit-condition): Define.
75225         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75226         Remove.
75227         (syscall-list-variants, syscall-list-32bit-options)
75228         (syscall-list-32bit-condition, syscall-list-64bit-options)
75229         (syscall-list-64bit-condition): Define.
75230         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75231         Remove.
75232         (syscall-list-variants, syscall-list-32bit-options)
75233         (syscall-list-32bit-condition, syscall-list-64bit-options)
75234         (syscall-list-64bit-condition): Define.
75236 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75238         * locale/iso-639.def: Add brx entry.
75240         [BZ #13328]
75241         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75242         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75244         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75245         __feraiseexcept_renamed.
75247 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75249         [BZ #13538]
75250         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75251         EPOLLET with unsigned values.
75252         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75255         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75256         to large cancellation.
75257         * math/s_cacoshf.c: Likewise.
75258         * math/s_cacoshl.c: Likewise.
75260 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75262         [BZ #13305]
75263         [BZ #12786]
75264         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75265         * math/s_cacoshf.c: Likewise.
75266         * math/s_cacoshl.c: Likewise.
75268 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75270         [BZ #13439]
75271         * iconv/gconv.h: Define __GCONV_SWAP.
75272         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75273         * iconvdata/utf-16.c: Likewise.
75274         * iconvdata/utf-32.c: Likewise.
75276 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75278         [BZ #13524]
75279         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75280         numerator after shifting it by one limb.
75282 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75284         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75285         under [__USE_EXTERN_INLINES].
75287 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75289         [BZ #13446]
75290         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75292 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75294         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75295         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75296         optimized code.
75297         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75298         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75299         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75300         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75301         for strncasecmp/strncasecmp_l compilation.
75302         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75303         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75305 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75307         [BZ #13484]
75308         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75309         of __asm__.
75311 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75313         [BZ #13506]
75314         * time/tzfile.c (__tzfile_read): Check values from file header.
75316 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75318         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75319         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75320         * powerpc/powerpc32/dl-start.S: Likewise.
75321         * powerpc/powerpc32/elf/start.S: Likewise.
75322         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75323         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75324         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75325         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75326         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75327         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75328         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75329         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75330         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75331         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75332         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75333         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75334         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75335         * powerpc/powerpc32/memset.S: Likewise.
75336         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75337         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75338         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75339         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75340         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75341         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75342         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75343         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75344         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75345         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75346         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75347         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75348         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75350 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75352         * math/libm-test.inc: Added more nearbyint tests.
75353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75358 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75360         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75361         FD_CLOEXEC.
75363 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75365         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75366         Add wcscpy-ssse3 wcscpy-c.
75367         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75368         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75369         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75370         * sysdeps/x86_64/wcschr.S: New file.
75371         * sysdeps/x86_64/wcsrchr.S: New file.
75372         * string/test-strcmp.c: Remove checking of wcscmp function for
75373         wrong alignments.
75374         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75375         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75376         wcsrchr-sse2 wcsrchr-c.
75377         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75378         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75379         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75380         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75381         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75382         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75383         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75384         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75385         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75386         * wcsmbc/wcschr.c (WCSCHR): New macro.
75388 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75390         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75391         * wcsmbs/test-wcsrchr.c: New file.
75392         * string/test-strrchr.c: Add wcsrchr support.
75393         (WIDE): New macro.
75394         * wcsmbs/test-wcscpy.c: New file.
75395         * string/test-strcpy.c: Add wcscpy support.
75396         (WIDE): New macro.
75398 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75400         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75401         the inner loop.
75403 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75405         [BZ #13472]
75406         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75408 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75410         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75411         Minor optimizations.
75413         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75414         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75415         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75417 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75419         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75420         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75421         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75422         for gcc to avoid warnings.
75423         * inet/Makefile (tests): Add tst-checks.
75424         * inet/tst-checks.c: New file.
75426         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75427         warning.
75429         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75430         __wmemcmp_sse2.
75432         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75433         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75435         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75437 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75439         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75440         problem.
75442         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75444 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75446         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75447         conditional on GCC version.
75448         (__arch_compare_and_exchange_val_8_acq)
75449         (__arch_compare_and_exchange_val_16_acq)
75450         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75451         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75452         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75454 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75456         * sysdeps/sh/backtrace.c: New file.
75458 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75460         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75461         parenthesis.
75463 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75465         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75466         falling back to utime.
75468 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75470         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75471         expectations for float.
75473 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75475         * locale/weight.h (findidx): Add parameter len.
75476         * locale/weightwc.h (findidx): Likewise.
75477         * posix/fnmatch_loop.c (FCT): Adjust caller.
75478         * posix/regcomp.c (build_equiv_class): Likewise.
75479         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75480         * posix/regexec.c (check_node_accept_bytes): Likewise.
75481         * string/strcoll_l.c (STRCOLL): Likewise.
75482         * string/strxfrm_l.c (STRXFRM): Likewise.
75484 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75486         * Makefile.in: Remove CVSOPT handling.
75487         * configure.in: Remove use of AC_REVISION.
75488         * iconvdata/Makefile (distribute): No need to filter out CVS.
75489         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75490         handling.
75492 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75494         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75495         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75496         [USE_AS_STRNCASECMP_L]: Likewise.
75497         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75498         NO_TLS_DIRECT_SEG_REFS.
75499         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75500         Fix argument offsets for non-PIC.
75501         [USE_AS_STRNCASECMP_L]: Likewise.
75502         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75503         NO_TLS_DIRECT_SEG_REFS.
75505 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75507         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75508         O_CLOEXEC.
75509         * locale/loadlocale.c (_nl_load_locale): Likewise.
75511 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75513         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75514         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75515         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75516         (SYSCALL_GETTIME): Set errno on error.
75518         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75519         count references to noai6ai_cached.
75521 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75523         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75525         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75526         FD_CLOEXEC for /proc/self/maps.
75528         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75529         FD_CLOEXEC for /proc/meminfo.
75531         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75532         gai.conf.
75534         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75535         FD_CLOEXEC for given file.
75537         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75539         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75540         FD_CLOEXEC for /etc/hosts.
75541         (_gethtent): Likewise.
75543         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75545         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75546         cancellation and set FD_CLOEXEC for /etc/netgroup.
75548         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75549         reading /etc/publickey.
75551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75552         allow cancellation when reading /etc/group.
75554         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75555         cancellation.
75556         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75558         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75559         when using data file.
75561         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75563         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75564         (write_nis_obj): Use "c" and "e" in fopen.
75566         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75568         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75570         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75572         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75574         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75575         locale.alias.
75577         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75579         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75581         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75583         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75584         file parsing and set FD_CLOEXEC.
75586 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75588         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75590 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75592         * malloc/arena.c (arena_get2): Don't call reused_arena when
75593         _int_new_arena failed.
75595 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75597         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75598         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75599         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75600         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75601         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75602         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75603         to compile strcasecmp and strncasecmp.
75604         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75605         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75609 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75611         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75612         locale-defines.sym to gen-as-const-headers.
75613         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75614         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75615         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75616         to compile strcasecmp and strncasecmp.
75617         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75618         strcasecmp_l and strncasecmp_l.
75619         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75620         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75621         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75622         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75623         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75624         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75625         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75626         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75627         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75628         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75629         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75631 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75633         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75634         result of SYSDEP_GETTIME_CPU to retval.
75635         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75636         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75638         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75639         variable.
75641         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75642         mantissa words.
75643         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75645         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75646         from unused variable.
75648         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75649         DWARF definitions.
75650         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75651         for assembling.
75653         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75654         over namespaces.
75656         * sunrpc/rpc_prot.c (rejected): Fix case value.
75658         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75659         unsigned long long int to avoid warnings in shift.
75661         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75662         of use of trans.
75663         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75664         variable tmp.
75666         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75667         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75668         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75670         * nis/nis_table.c (nis_list): Use variable of correct type for
75671         result of __follow_path call.
75673 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75675         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75676         of math functions ceil, trunc, floor, round, and sqrt, when
75677         avaliable on the platform.
75678         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75679         name clash.
75680         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75681         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75682         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75684 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75686         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75689 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75691         * include/unistd.h: Fix __readlink return type.
75692         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75694 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75696         * stdlib/ucontext.h: Undo last change for makecontext.
75698 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75700         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75702         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75703         * setjmp/setjmp.h: Mark functions as non-leaf.
75704         * setjmp/bits/setjmp2.h: Likewise.
75705         * stdlib/ucontext.h: Likewise.
75707 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75709         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75710         (reused_arena): Don't check arena limit.
75711         (arena_get2): Atomically check arena limit.
75713 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75715         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75716         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75719         instructions.
75721 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75723         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75724         handler when locking.
75726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75727         Fix size of allocated buffer.
75729 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75731         [BZ #10103]
75732         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75733         declarations for long double functions.
75734         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75736         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75738 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75740         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75741         installed.
75743         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75744         is disabled.
75746 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75748         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75750 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75752         * include/alloca.h (stackinfo_alloca_round): Define.
75753         (extend_alloca): Use it.
75754         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75755         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75756         here.
75758         * scripts/check-local-headers.sh: Ignore libaudit.h.
75760         * nscd/Makefile (extra-objs): Make recursively expanded.
75762 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75764         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75767         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75768         * posix/tst-rfc3484-2.c: Likewise.
75769         * posix/tst-rfc3484-3.c: Likewise.
75771         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75772         process_vm_writev.
75773         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75774         process_vm_writev.
75775         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75776         process_vm_writev from libc using GLIBC_2.15 version.
75778         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75780 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75782         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75783         stack usage.
75785 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75787         [BZ #13367]
75788         * nss/getent.c (initgroups_keys): Show error message in case no group
75789         names are given.
75791         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75792         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75793         __bump_nl_timestamp.
75794         * nscd/connections (nscd_init): When host database is served open
75795         netlink socket and request notification about configuration changes.
75796         (main_loop_poll): Track netlink file descriptor and bump timestamp
75797         in case data becomes available.
75798         (main_loop_epoll): Likewise.
75799         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75800         (database_pers_head): Add extra_data fileds.
75801         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75802         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75803         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75804         Adjust caller.
75805         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75806         in6ai data, call __free_in6ai.
75807         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75808         Add -DHAVE_NETLINK.
75809         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75810         interface information.  Reuse previous data if netlink timestamp
75811         is not changed.
75812         (__bump_nl_timestamp): New function.
75813         (__free_in6ai): New function.
75815 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75818         close_not_cancel_no_status here.
75819         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75821 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75823         [BZ #13276]
75824         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75825         return value.
75827         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75828         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75829         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75831 2011-07-03  Andreas Jaeger  <aj@suse.de>
75833         [BZ #10709]
75834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75835         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75836         * math/libm-test.inc (sin_test): Add test case.
75838 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75840         [BZ #13337]
75841         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75842         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75844         * elf/chroot_canon.c (chroot_canon): Cleanups.
75846         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75848         [BZ #13335]
75849         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75850         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75852         * string/test-strchr.c: Make usable for strchrnul testing.
75853         * string/test-strchrnul.c: New file.
75854         * string/Makefile (strop-tests): Add strchrnul.
75856         * po/it.po: Update from translation team.
75857         * po/es.po: Likewise.
75859 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75861         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75862         the three constants needed as parameters.  Drop the others.
75863         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75864         __m128i_strloadu_tolower.
75865         Create and initialize variable zero and use it in all the places
75866         where _mm_setzero_si128 was used.
75868         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75869         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75870         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75871         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75872         anymore.
75873         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75874         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75875         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75876         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75877         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75878         __mpranred, __mptan.
75879         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75880         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75881         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75882         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75883         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75884         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75885         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75886         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75887         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75889 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75891         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75892         redefine if SHARED.
75893         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75896         wide char related routines to wcsmbs subdir.
75898 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75900         [BZ #13344]
75901         * misc/sys/cdefs.h (__THROWNL): Define.
75902         * posix/unistd.h: Use __THREADNL instead of __THREAD
75903         for memory synchronization functions.
75905 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75907         [BZ #13349]
75908         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75909         doesn't exist.
75910         * manual/stdio.texi (Obstack Streams): Node removed.
75912 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75914         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75915         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75916         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75918         * math/math_private.h (math_force_eval): Allow non-addressable
75919         arguments.
75920         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75922 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75924         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75925         file is not needed.
75927         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75928         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75929         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75930         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75934         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75935         Add AVX variants.
75936         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75937         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75938         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75939         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75940         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75941         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75942         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75943         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75944         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75945         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75946         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75947         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75948         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75949         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75950         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75951         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75952         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75953         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75954         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75956         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75957         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75959         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75960         place.  Use VEX encoding when compiling for AVX.
75962 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75964         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75965         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75967         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75969 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75971         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75972         useless if() expression.
75973         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75974         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75975         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75977         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75978         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75979         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75981         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75983         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75984         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75985         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75986         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75987         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75988         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75989         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75990         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75991         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75993         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75995 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75997         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75998         condition.
75999         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76001 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76003         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76004         .text section.  Avoid duplicate constants.
76005         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76007         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76009         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76013         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76014         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76015         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76016         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76017         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76018         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76019         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76020         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76021         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76022         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76025         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76026         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76027         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76028         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76029         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76030         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76031         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76032         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76033         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76034         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76035         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76036         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76037         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76038         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76039         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76040         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76041         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76042         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76043         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76044         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76046         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76047         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76048         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76049         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76051 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76053         * sysdeps/x86_64/dla.h: Move to ...
76054         * sysdeps/x86_64/fpu/dla.h: ...here.
76055         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76056         situations.  Use __builtin_fma only for gcc 4.6 and up.
76058         * config.make.in: Add have-mfma4 entry.
76059         * configure.in: Substitute libc_cv_cc_fma4.
76060         * math/Makefile (dbl-only-routines): Add sincostab.
76061         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76062         Use __sincostab not sincos.
76063         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76064         name is a macro.
76065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76067         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76069         using __copysign.
76070         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76071         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76072         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76073         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76074         and __inv.
76075         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76076         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76077         __copysign.
76078         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76079         define aliases when function name is a macro.
76080         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76081         sysdeps/ieee754/dbl-64/sincos.tbl.
76082         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76083         fma4-enabled routines.
76084         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76085         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76086         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76087         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76088         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76089         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76091         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76093         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76094         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76095         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76096         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76097         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76098         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76099         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76100         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76101         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76102         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76103         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76104         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76105         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76106         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76107         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76108         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76110         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76111         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76112         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76113         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76115         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76116         rename.
76117         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76123         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76126 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76128         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76130 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76134         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76135         prediction.
76136         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76138         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76139         Remove unused variable magic_bits.
76140         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76142         * string/strnlen.c: Define and use STRNLEN macro.
76143         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76144         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76146         * wcsmbs/wcslen.c: Define and use WCSLEN.
76147         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76148         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76149         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76150         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76151         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76152         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76153         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76155 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76158         strnlen-sse2-no-bsf.
76159         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76160         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76161         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76162         Add strnlen support.
76163         (USE_AS_STRNLEN): New macro.
76164         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76165         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76166         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76167         * sysdeps/x86_64/wcslen.S: New file.
76169 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76171         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76172         XMM-moves are used for copying on small sizes.
76174 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76176         * wcsmbs/Makefile (strop-tests): Add wcschr.
76177         * wcsmbs/test-wcschr.c: New file.
76178         * string/test-strchr.c: Update.
76179         Add wcschr support.
76180         (WIDE): New macro.
76182 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76184         * wcsmbs/Makefile (strop-tests): Add wcslen.
76185         * wcsmbs/test-wcslen.c: New file.
76186         * string/test-strlen.c: Update.
76187         Add wcslen support.
76188         (WIDE): New macro.
76190 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76192         * po/it.po: Update from translation team.
76194 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76196         * sysdeps/x86_64/wcscmp.S: Update.
76197         Fix wrong comparison semantics.
76198         wcscmp shall use signed comparison not unsigned.
76199         Don't use substraction to avoid overflow bug.
76200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76201         * wcsmbc/wcscmp.c: Likewise.
76202         * string/test-strcmp.c: Likewise.
76203         Add new tests to check cases with negative values.
76205 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76207         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76208         * sysdeps/x86_64/dla.h: ...here.  New file.
76209         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76219 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76222         __ynl_finite aliases.
76224 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76228         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76229         define DLA_FMA.
76230         [DLA_FMA] (EMULV): Use DLA_FMA.
76231         [DLA_FMA] (MUL12): Use EMULV.
76232         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76233         that are not needed.
76234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76242 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76244         * math/s_nan.c: Undef __nan.
76245         * math/s_nanf.c: Undef __nanf.
76246         * math/s_nanl.c: Undef __nanl.
76247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76248         "math_private.h".
76250 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76252         * math/s_catan.c: Add branch predictions.
76253         * math/s_catanf.c: Likewise.
76254         * math/s_catanh.c: Likewise.
76255         * math/s_catanhf.c: Likewise.
76256         * math/s_catanhl.c: Likewise.
76257         * math/s_catanl.c: Likewise.
76258         * math/s_cexp.c: Likewise.
76259         * math/s_cexpf.c: Likewise.
76260         * math/s_cexpl.c: Likewise.
76261         * math/s_clog.c: Likewise.
76262         * math/s_clog10.c: Likewise.
76263         * math/s_clog10f.c: Likewise.
76264         * math/s_clog10l.c: Likewise.
76265         * math/s_clogf.c: Likewise.
76266         * math/s_clogl.c: Likewise.
76267         * math/s_csqrt.c: Likewise.
76268         * math/s_csqrtf.c: Likewise.
76269         * math/s_csqrtl.c: Likewise.
76270         * math/s_ctanf.c: Likewise.
76271         * math/s_ctanh.c: Likewise.
76272         * math/s_ctanhf.c: Likewise.
76273         * math/s_ctanhl.c: Likewise.
76274         * math/s_ctanl.c: Likewise.
76276         * math/math_private.h: Define __nan, __nanf, __nanl.
76277         * math/s_cacosh.c: Include <math_private.h>.
76278         * math/s_cacoshl.c: Likewise.
76279         * math/s_casinh.c: Likewise.
76280         * math/s_casinhf.c: Likewise.
76281         * math/s_casinhl.c: Likewise.
76282         * math/s_ccos.c: Rely entire on ccosh.
76283         * math/s_ccosf.c: Rely entire on ccoshf.
76284         * math/s_ccosl.c: Rely entirely on ccoshl.
76285         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76286         Remove tests for FE_INVALID.
76287         * math/s_ccoshf.c: Likewise.
76288         * math/s_ccoshl.c: Likewise.
76289         * math/s_csin.c: Likewise.
76290         * math/s_csinf.c: Likewise.
76291         * math/s_csinh.c Likewise.
76292         * math/s_csinhf.c: Likewise.
76293         * math/s_csinhl.c: Likewise.
76294         * math/s_csinl.c: Likewise.
76295         * math/s_ctan.c: Likewise.
76296         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76297         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76300 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76303         compilation problems.
76305         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76306         __builtin_expect.
76308 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76310         * sysdeps/i386/configure.in: Test for -mfma4 option.
76311         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76312         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76313         COMMON_CPUID_INDEX_80000001.
76314         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76315         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76316         use it if FMA3 is not supported.
76317         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76319         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76320         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76322 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76324         [BZ #12892]
76325         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76326         it would create a cycle with a link time dependency.
76328 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76330         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76331         instruction.
76332         * string/Makefile (strop-tests): Add rawmemchr.
76333         * string/test-rawmemchr.c: New file.
76335         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76336         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76337         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76338         when compiling str{,n}casecmp and when AVX is available.  Hook up
76339         new optimized code in initializers.
76341 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76343         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76344         __feraiseexcept instead of feraiseexcept.
76346 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76348         * math/math_private.h: Define defaults for libc_fetestexcept and
76349         libc_feupdateenv.
76350         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76351         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76352         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76353         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76354         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76355         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76356         libc_fetestexcept and libc_feupdateenv.
76358         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76359         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76360         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76361         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76362         libc_feholdexcept_setround.
76364         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76365         Add s_nearbyint-c and s_nearbyintf-c.
76366         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76367         nearbyintf inlines.
76368         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76369         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76370         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76371         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76373         * math/math_private.h: Define defaults for libc_fegetround,
76374         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76375         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76376         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76378         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76379         standard functions.
76380         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76381         Remove comments and hacks for old compiler versions.
76382         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76383         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76384         libc_feholdexceptl.
76386 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76388         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76389         (__feraiseexcept_renamed): Add __NTH.
76390         (feraiseexcept): Add __NTH.  Rename local variables to fix
76391         namespace violations.
76393 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76395         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76397         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76399         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76400         recently added interfaces.
76401         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76403         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76404         about macro parameter expansion.
76406         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76407         __NO_MATH_INLINES is defined.  Cleanups.
76409         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76410         and __floorf is target has SSE4.1.
76411         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76412         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76413         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76414         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76416         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76417         name.
76418         (floorf): Likewise.
76420         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76422 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76424         * misc/sys/cdefs.h: Fix last change.
76426         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76427         database lookup.
76429 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76431         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76433         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76435         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76436         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76438         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76439         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76440         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76441         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76442         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76443         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76444         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76445         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76446         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76447         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76448         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76449         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76451         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76452         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76453         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76456         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76457         ceil, ceilf, floor, floorf.
76459         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76460         Perform IRELATIVE relocations last.
76462         * elf/do-rel.h: Add another parameter nrelative, replacing the
76463         local variable with the same name.  Change name of the function
76464         to end in Rel or Rela (uppercase).
76465         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76466         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76467         elf_dynamic_do_##reloc function.
76469 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76471         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76472         is sufficient, at least on modern CPUs.
76474         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76476         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76479         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76480         __expl_finite.
76481         * math/bits/math-finite.h: Add entries for exp.
76482         * math/e_expl.c: Add __*_finite alias.
76483         * sysdeps/i386/fpu/e_exp.S: Likewise.
76484         * sysdeps/i386/fpu/e_expf.S: Likewise.
76485         * sysdeps/i386/fpu/e_expl.c: Likewise.
76486         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76487         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76488         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76489         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76490         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76491         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76492         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76494         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76495         is sufficient, at least on modern CPUs.
76497         * ctype/ctype-info.c (__ctype_init): Define.
76498         * include/ctype.h (__ctype_init): Declare.
76499         (__ctype_b_loc): The variable is always initialized.
76500         (__ctype_toupper_loc): Likewise.
76501         (__ctype_tolower_loc): Likewise.
76502         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76503         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76505 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76507         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76509         * configure.in: Also look in $cxxmachine/include for C++ system
76510         headers.
76512 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76514         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76515         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76516         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76517         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76518         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76519         (USE_AS_WMEMCMP): New macro.
76520         Fixing indents.
76521         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76522         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76523         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76524         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76526         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76527         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76529         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76530         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76531         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76532         (USE_AS_WMEMCMP): New macro.
76533         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76534         * sysdeps/string/test-memcmp.c: Update.
76535         Fix simple_wmemcmp.
76536         Add new tests.
76537         * wcsmbs/wmemcmp.c: Update.
76538         (WMEMCMP): New macro.
76539         Fix overflow bug.
76541 2011-10-12  Andreas Jaeger  <aj@suse.de>
76543         [BZ #13268]
76544         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76546 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76548         * libio/iofwide.c (do_length): Avoid warning.
76550         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76552 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76554         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76556         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76557         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76558         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76559         * sysdeps/i386/i686/fpu/e_log.S: New file.
76560         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76561         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76563         * ctype/ctype.h: Add support for inlined isXXX functions when
76564         compiling C++ code.
76566 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76568         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76570         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76572 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76574         [BZ #13291]
76575         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76577 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76579         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76580         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76581         feraiseexcept.
76583         * sysdeps/x86_64/memrchr.S: Check for zero size.
76585         * string/stratcliff.c: Add memrchr tests.
76587 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76590         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76591         rawmemchr-sse2 rawmemchr-sse2-bsf.
76592         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76593         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76594         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76595         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76596         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76597         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76598         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76599         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76600         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76601         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76602         * string/memrchr.c (MEMRCHR): New macro.
76604 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76606         Add integration with gcc's -ffinite-math-only and optimize wrapper
76607         functions in libm.
76608         * Versions.def: Define GLIBC_2.15 version for libm.
76609         * math/Makefile (headers): Add bits/math-finite.h.
76610         * math/bits/math-finite.h: New file.
76611         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76612         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76613         * math/e_acoshl.c: Add __*_finite alias.
76614         * math/e_acosl.c: Likewise.
76615         * math/e_asinl.c: Likewise.
76616         * math/e_atan2l.c: Likewise.
76617         * math/e_atanhl.c: Likewise.
76618         * math/e_coshl.c: Likewise.
76619         * math/e_exp10.c: Likewise.
76620         * math/e_exp10f.c: Likewise.
76621         * math/e_exp10l.c: Likewise.
76622         * math/e_exp2l.c: Likewise.
76623         * math/e_fmodl.c: Likewise.
76624         * math/e_gammal_r.c: Likewise.
76625         * math/e_hypotl.c: Likewise.
76626         * math/e_j0l.c: Likewise.
76627         * math/e_j1l.c: Likewise.
76628         * math/e_jnl.c: Likewise.
76629         * math/e_lgammal_r.c: Likewise.
76630         * math/e_log10l.c: Likewise.
76631         * math/e_log2l.c: Likewise.
76632         * math/e_logl.c: Likewise.
76633         * math/e_powl.c: Likewise.
76634         * math/e_sinhl.c: Likewise.
76635         * math/e_sqrtl.c: Likewise.
76636         * math/e_scalb.c: Completely rewritten and optimized.
76637         * math/e_scalbf.c: Likewise.
76638         * math/e_scalbl.c: Likewise.
76639         * math/w_acos.c: Likewise.
76640         * math/w_acosf.c: Likewise.
76641         * math/w_acosl.c: Likewise.
76642         * math/w_acosh.c: Likewise.
76643         * math/w_acoshf.c: Likewise.
76644         * math/w_acoshl.c: Likewise.
76645         * math/w_asin.c: Likewise.
76646         * math/w_asinf.c: Likewise.
76647         * math/w_asinl.c: Likewise.
76648         * math/w_atan2.c: Likewise.
76649         * math/w_atan2f.c: Likewise.
76650         * math/w_atan2l.c: Likewise.
76651         * math/w_atanh.c: Likewise.
76652         * math/w_atanhf.c: Likewise.
76653         * math/w_atanhl.c: Likewise.
76654         * math/w_exp10.c: Likewise.
76655         * math/w_exp10f.c: Likewise.
76656         * math/w_exp10l.c: Likewise.
76657         * math/w_fmod.c: Likewise.
76658         * math/w_fmodf.c: Likewise.
76659         * math/w_fmodl.c: Likewise.
76660         * math/w_j0.c: Likewise.
76661         * math/w_j0f.c: Likewise.
76662         * math/w_j0l.c: Likewise.
76663         * math/w_j1.c: Likewise.
76664         * math/w_j1f.c: Likewise.
76665         * math/w_j1l.c: Likewise.
76666         * math/w_jn.c: Likewise.
76667         * math/w_jnf.c: Likewise.
76668         * math/w_log.c: Likewise.
76669         * math/w_logf.c: Likewise.
76670         * math/w_logl.c: Likewise.
76671         * math/w_log10.c: Likewise.
76672         * math/w_log10f.c: Likewise.
76673         * math/w_log10l.c: Likewise.
76674         * math/w_log2.c: Likewise.
76675         * math/w_log2f.c: Likewise.
76676         * math/w_log2l.c: Likewise.
76677         * math/w_pow.c: Likewise.
76678         * math/w_powf.c: Likewise.
76679         * math/w_powl.c: Likewise.
76680         * math/w_remainder.c: Likewise.
76681         * math/w_remainderf.c: Likewise.
76682         * math/w_remainderl.c: Likewise.
76683         * math/w_scalb.c: Likewise.
76684         * math/w_scalbf.c: Likewise.
76685         * math/w_scalbl.c: Likewise.
76686         * math/w_sqrt.c: Likewise.
76687         * math/w_sqrtf.c: Likewise.
76688         * math/w_sqrtl.c: Likewise.
76689         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76690         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76691         used.
76692         * math/math_private.h: Declare __kernel_standard_f.
76693         * math/w_cosh.c: Remove cruft and optimize a bit.
76694         * math/w_coshf.c: Likewise.
76695         * math/w_coshl.c: Likewise.
76696         * math/w_exp2.c: Likewise.
76697         * math/w_exp2f.c: Likewise.
76698         * math/w_exp2l.c: Likewise.
76699         * math/w_hypot.c: Likewise.
76700         * math/w_hypotf.c: Likewise.
76701         * math/w_hypotl.c: Likewise.
76702         * math/w_lgamma.c: Likewise.
76703         * math/w_lgamma_r.c: Likewise.
76704         * math/w_lgammaf.c: Likewise.
76705         * math/w_lgammaf_r.c: Likewise.
76706         * math/w_lgammal.c: Likewise.
76707         * math/w_lgammal_r.c: Likewise.
76708         * math/w_sinh.c: Likewise.
76709         * math/w_sinhf.c: Likewise.
76710         * math/w_sinhl.c: Likewise.
76711         * math/w_tgamma.c: Likewise.
76712         * math/w_tgammaf.c: Likewise.
76713         * math/w_tgammal.c: Likewise.
76714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76715         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76716         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76717         Minor optimizations.  Pretty printing.  Remove cruft.
76718         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76719         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76720         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76721         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76722         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76723         * sysdeps/i386/fpu/e_asin.S: Likewise.
76724         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76725         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76726         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76727         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76728         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76729         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76730         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76731         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76732         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76733         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76734         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76735         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76736         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76737         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76738         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76739         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76740         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76741         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76742         * sysdeps/i386/fpu/e_log.S: Likewise.
76743         * sysdeps/i386/fpu/e_log10.S: Likewise.
76744         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76745         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76746         * sysdeps/i386/fpu/e_log2.S: Likewise.
76747         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76748         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76749         * sysdeps/i386/fpu/e_logf.S: Likewise.
76750         * sysdeps/i386/fpu/e_logl.S: Likewise.
76751         * sysdeps/i386/fpu/e_pow.S: Likewise.
76752         * sysdeps/i386/fpu/e_powf.S: Likewise.
76753         * sysdeps/i386/fpu/e_powl.S: Likewise.
76754         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76755         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76756         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76757         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76758         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76759         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76760         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76761         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76762         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76763         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76764         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76766         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76767         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76768         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76769         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76770         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76771         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76772         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76773         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76774         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76776         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76777         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76779         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76780         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76781         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76783         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76784         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76785         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76786         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76787         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76788         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76789         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76790         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76791         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76792         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76793         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76794         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76795         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76796         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76797         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76798         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76799         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76800         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76801         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76802         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76803         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76804         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76805         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76806         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76807         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76808         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76809         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76810         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76811         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76813         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76814         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76815         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76816         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76817         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76818         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76819         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76820         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76821         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76822         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76823         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76824         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76827         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76829         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76831         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76834         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76835         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76838         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76839         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76840         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76842         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76843         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76844         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76846         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76847         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76848         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76849         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76850         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76851         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76852         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76853         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76854         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76855         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76856         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76857         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76858         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76859         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76860         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76861         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76862         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76863         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76864         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76865         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76866         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76867         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76868         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76869         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76871         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76872         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76873         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76874         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76875         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76876         (__isnanf): Likewise.
76877         (__isinf_ns): Likewise.
76878         (__isinf_nsf): Likewise.
76879         (__finite): Likewise.
76880         (__finitef): Likewise.
76881         (__ieee754_sqrt): Define as macro.
76882         (__ieee754_sqrtf): Define as macro.
76883         (__ieee754_sqrtl): Define as macro.
76884         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76885         inlined copy.
76886         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76887         __FINITE_MATH_ONLY__ consistent.
76888         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76890 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76892         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76893         of rawmemchr.
76895         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76897 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76899         * po/ja.po: Update from translation team.
76901 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76903         * locale/programs/locarchive.c (prepare_address_space): New function.
76904         (create_archive, enlarge_archive, open_archive): Use it.
76906         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76907         inside [SHARED], where it is used.
76909         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76911         * nss/getent.c (netgroup_keys): Remove unused variable.
76912         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76914 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76916         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76917         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76918         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76919         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76920         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76921         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76922         * math/Makefile (libm-calls): Add s_isinf_ns.
76923         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76924         * math/multc3.c: Likewise.
76925         * math/s_casin.c: Likewise.
76926         * math/s_casinf.c: Likewise.
76927         * math/s_casinl.c: Likewise.
76928         * math/s_ccos.c: Likewise.
76929         * math/s_ccosf.c: Likewise.
76930         * math/s_ccosl.c: Likewise.
76931         * math/s_ctan.c: Likewise.
76932         * math/s_ctanf.c: Likewise.
76933         * math/s_ctanh.c: Likewise.
76934         * math/s_ctanhf.c: Likewise.
76935         * math/s_ctanhl.c: Likewise.
76936         * math/s_ctanl.c: Likewise.
76937         * math/w_fmod.c: Likewise.
76938         * math/w_fmodf.c: Likewise.
76939         * math/w_fmodl.c: Likewise.
76940         * math/w_remainder.c: Likewise.
76941         * math/w_remainderf.c: Likewise.
76942         * math/w_remainderl.c: Likewise.
76943         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76944         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76947         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76948         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76949         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76950         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76952         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76953         of the number.
76954         * stdio-common/printf_fphex.c: Likewise.
76955         * stdio-common/printf_size.c: Likewise.
76957         * math/e_exp10.c: Include math_private.h using <...> not "...".
76958         * math/e_exp10f.c: Likewise.
76959         * math/e_exp10l.c: Likewise.
76960         * math/e_exp2l.c: Likewise.
76961         * math/e_j0l.c: Likewise.
76962         * math/e_j1l.c: Likewise.
76963         * math/e_jnl.c: Likewise.
76964         * math/e_lgammal_r.c: Likewise.
76965         * math/e_rem_pio2l.c: Likewise.
76966         * math/e_scalb.c: Likewise.
76967         * math/e_scalbf.c: Likewise.
76968         * math/e_scalbl.c: Likewise.
76969         * math/k_cosl.c: Likewise.
76970         * math/k_sinl.c: Likewise.
76971         * math/k_tanl.c: Likewise.
76972         * math/s_cacoshf.c: Likewise.
76973         * math/s_catan.c: Likewise.
76974         * math/s_catanf.c: Likewise.
76975         * math/s_catanh.c: Likewise.
76976         * math/s_catanhf.c: Likewise.
76977         * math/s_catanhl.c: Likewise.
76978         * math/s_catanl.c: Likewise.
76979         * math/s_ccosh.c: Likewise.
76980         * math/s_ccoshf.c: Likewise.
76981         * math/s_ccoshl.c: Likewise.
76982         * math/s_cexp.c: Likewise.
76983         * math/s_cexpf.c: Likewise.
76984         * math/s_cexpl.c: Likewise.
76985         * math/s_clog.c: Likewise.
76986         * math/s_clog10.c: Likewise.
76987         * math/s_clog10f.c: Likewise.
76988         * math/s_clog10l.c: Likewise.
76989         * math/s_clogf.c: Likewise.
76990         * math/s_clogl.c: Likewise.
76991         * math/s_csin.c: Likewise.
76992         * math/s_csinf.c: Likewise.
76993         * math/s_csinh.c: Likewise.
76994         * math/s_csinhf.c: Likewise.
76995         * math/s_csinhl.c: Likewise.
76996         * math/s_csinl.c: Likewise.
76997         * math/s_csqrt.c: Likewise.
76998         * math/s_csqrtf.c: Likewise.
76999         * math/s_csqrtl.c: Likewise.
77000         * math/s_ctan.c: Likewise.
77001         * math/s_ctanf.c: Likewise.
77002         * math/s_ctanh.c: Likewise.
77003         * math/s_ctanhf.c: Likewise.
77004         * math/s_ctanhl.c: Likewise.
77005         * math/s_ctanl.c: Likewise.
77006         * math/s_ldexp.c: Likewise.
77007         * math/s_ldexpf.c: Likewise.
77008         * math/s_ldexpl.c: Likewise.
77009         * math/s_significand.c: Likewise.
77010         * math/s_significandf.c: Likewise.
77011         * math/s_significandl.c: Likewise.
77012         * math/w_acos.c: Likewise.
77013         * math/w_acosf.c: Likewise.
77014         * math/w_acosh.c: Likewise.
77015         * math/w_acoshf.c: Likewise.
77016         * math/w_acoshl.c: Likewise.
77017         * math/w_acosl.c: Likewise.
77018         * math/w_asin.c: Likewise.
77019         * math/w_asinf.c: Likewise.
77020         * math/w_asinl.c: Likewise.
77021         * math/w_atan2.c: Likewise.
77022         * math/w_atan2f.c: Likewise.
77023         * math/w_atan2l.c: Likewise.
77024         * math/w_atanh.c: Likewise.
77025         * math/w_atanhf.c: Likewise.
77026         * math/w_atanhl.c: Likewise.
77027         * math/w_cosh.c: Likewise.
77028         * math/w_coshf.c: Likewise.
77029         * math/w_coshl.c: Likewise.
77030         * math/w_dremf.c: Likewise.
77031         * math/w_exp10.c: Likewise.
77032         * math/w_exp10f.c: Likewise.
77033         * math/w_exp10l.c: Likewise.
77034         * math/w_exp2.c: Likewise.
77035         * math/w_exp2f.c: Likewise.
77036         * math/w_fmod.c: Likewise.
77037         * math/w_fmodf.c: Likewise.
77038         * math/w_fmodl.c: Likewise.
77039         * math/w_hypot.c: Likewise.
77040         * math/w_hypotf.c: Likewise.
77041         * math/w_hypotl.c: Likewise.
77042         * math/w_j0.c: Likewise.
77043         * math/w_j0f.c: Likewise.
77044         * math/w_j0l.c: Likewise.
77045         * math/w_j1.c: Likewise.
77046         * math/w_j1f.c: Likewise.
77047         * math/w_j1l.c: Likewise.
77048         * math/w_jn.c: Likewise.
77049         * math/w_jnf.c: Likewise.
77050         * math/w_jnl.c: Likewise.
77051         * math/w_lgamma.c: Likewise.
77052         * math/w_lgamma_r.c: Likewise.
77053         * math/w_lgammaf.c: Likewise.
77054         * math/w_lgammaf_r.c: Likewise.
77055         * math/w_lgammal.c: Likewise.
77056         * math/w_lgammal_r.c: Likewise.
77057         * math/w_log.c: Likewise.
77058         * math/w_log10.c: Likewise.
77059         * math/w_log10f.c: Likewise.
77060         * math/w_log10l.c: Likewise.
77061         * math/w_log2.c: Likewise.
77062         * math/w_log2f.c: Likewise.
77063         * math/w_log2l.c: Likewise.
77064         * math/w_logf.c: Likewise.
77065         * math/w_logl.c: Likewise.
77066         * math/w_pow.c: Likewise.
77067         * math/w_powf.c: Likewise.
77068         * math/w_powl.c: Likewise.
77069         * math/w_remainder.c: Likewise.
77070         * math/w_remainderf.c: Likewise.
77071         * math/w_remainderl.c: Likewise.
77072         * math/w_scalb.c: Likewise.
77073         * math/w_scalbf.c: Likewise.
77074         * math/w_scalbl.c: Likewise.
77075         * math/w_sinh.c: Likewise.
77076         * math/w_sinhf.c: Likewise.
77077         * math/w_sinhl.c: Likewise.
77078         * math/w_sqrt.c: Likewise.
77079         * math/w_sqrtf.c: Likewise.
77080         * math/w_sqrtl.c: Likewise.
77081         * math/w_tgamma.c: Likewise.
77082         * math/w_tgammaf.c: Likewise.
77083         * math/w_tgammal.c: Likewise.
77085         * po/ja.po: Update from translation team.
77087 2011-09-29  Andreas Jaeger  <aj@suse.de>
77089         [BZ #13179]
77090         * sunrpc/netname.c (netname2host): Fix logic.
77092         [BZ #6779]
77093         [BZ #6783]
77094         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77095         correctly.
77096         * math/w_remainder.c (__remainder): Likewise.
77097         * math/w_remainderf.c (__remainderf): Likewise.
77098         * math/libm-test.inc (remainder_test): Add test cases.
77100 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77102         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77103         sdiv_qrnnd.
77105 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77107         * string/test-memcmp.c: Avoid unncessary #defines.
77108         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77110 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77112         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77113         Use new sse2 version for core i3 - i7 as it's faster
77114         than sse42 version.
77115         (bit_Prefer_PMINUB_for_stringop): New.
77116         * sysdeps/x86_64/rawmemchr.S: Update.
77117         Replace with faster SSE2 version.
77118         * sysdeps/x86_64/memrchr.S: New file.
77119         * sysdeps/x86_64/memchr.S: Update.
77120         Replace with faster SSE2 version.
77122 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77124         * elf/dl-load.c (lose): Add cast to avoid warning.
77126 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77128         * po/ca.po: Update from translation team.
77130         * inet/getnetgrent_r.c: Hook up nscd.
77131         * nscd/Makefile (routines): Add nscd_netgroup.
77132         (nscd-modules): Add netgroupcache.
77133         (CFLAGS-netgroupcache.c): Define.
77134         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77135         (cache_search): Add const to second parameter.
77136         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77137         INNETGR.
77138         (dbs): Add netgrdb entry.
77139         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77140         (verify_persistent_db): Handle netgrdb.
77141         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77142         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77143         GETFDNETGR.
77144         (netgroup_response_header): Define.
77145         (innetgroup_response_header): Define.
77146         (datahead): Add netgroup_response_header and innetgroup_response_header
77147         elements.
77148         * nscd/nscd.conf: Add entries for netgroup cache.
77149         * nscd/nscd.h (dbtype): Add netgrdb.
77150         (_PATH_NSCD_NETGROUP_DB): Define.
77151         (netgroup_iov_disabled): Declare.
77152         (xmalloc, xcalloc, xrealloc): Move declarations here.
77153         (cache_search): Adjust prototype.
77154         Add netgroup-related prototypes.
77155         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77156         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77157         (__nscd_innetgr): Declare.
77158         * nscd/selinux.c (perms): Use access_vector_t as element type and
77159         add netgroup-related initializers.
77160         * nscd/netgroupcache.c: New file.
77161         * nscd/nscd_netgroup.c: New file.
77162         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77163         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77164         For four parameters use innetgr.
77165         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77166         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77167         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77168         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77170         * nscd/connections.c (register_traced_file): Don't register file
77171         for disabled databases.
77173 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77175         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77177         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77178         from tree and freeing node.
77180 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77182         * nss/nsswitch.c (__nss_database_lookup): Handle
77183         nss_parse_service_list out of memory case.
77185 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77187         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77188         out of memory case.
77190 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77192         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77193         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77194         pass it down.
77195         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77196         elf_machine_rela, elf_machine_lazy_rel.
77197         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77198         (ELF_DYNAMIC_DO_REL): Likewise.
77199         (ELF_DYNAMIC_DO_RELA): Likewise.
77200         (ELF_DYNAMIC_RELOCATE): Likewise.
77201         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77202         to ELF_DYNAMIC_DO_REL.
77203         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77204         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77205         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77206         elf_machine_rela.
77207         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77208         skip_ifunc, don't call ifunc function if non-zero.
77209         (elf_machine_rela): Likewise.
77210         (elf_machine_lazy_rel): Likewise.
77211         (elf_machine_lazy_rela): Likewise.
77212         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77213         (elf_machine_lazy_rel): Likewise.
77214         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77215         Likewise.
77216         (elf_machine_lazy_rel): Likewise.
77217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77218         Likewise.
77219         (elf_machine_lazy_rel): Likewise.
77220         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77221         (elf_machine_lazy_rel): Likewise.
77222         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77223         (elf_machine_lazy_rel): Likewise.
77224         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77225         (elf_machine_lazy_rel): Likewise.
77226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77227         (elf_machine_lazy_rel): Likewise.
77228         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77229         (elf_machine_lazy_rel): Likewise.
77230         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77231         (elf_machine_lazy_rel): Likewise.
77233 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77235         * nss/nss_files/files-init.c (_nss_files_init): Use static
77236         initialization for all the *_traced_file variables.
77238 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77240         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77242 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77244         [BZ #13226]
77245         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77247 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77249         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77250         Reread the line before reparsing it.
77252 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77254         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77256 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77257             Maxim Kuvyrkov  <maxim@codesourcery.com>
77258             Joseph Myers  <joseph@codesourcery.com>
77260         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77261         if needed for __stack_chk_guard.
77263 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77265         * sysdeps/posix/spawni.c (script_execute): Always define it.
77266         It will be optimized away if unused.
77267         (maybe_script_execute): New function.
77268         (__spawni): Call it.
77270         * Makerules: Don't include tls.make.
77271         (config-tls): Always set to thread.
77272         * tls.make.c: File removed.
77274 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77276         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77277         * config.make.in (CPPFLAGS-config): New substituted variable.
77279 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77283         [BZ #13192]
77284         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77285         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77287 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77289         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77290         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77292         (CALL_FAIL): Likewise.
77293         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77294         (CALL_FAIL): Macro removed.
77295         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77297 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77299         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77300         for __FINITE_MATH_ONLY__ == 1.
77302 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77304         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77305         __ieee754_sqrt instead of sqrt.
77306         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77307         __ieee754_sqrtf instead of sqrtf.
77308         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77309         __floorf instead of floorf.
77310         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77311         __floorf, __truncf instead of floorf, truncf.
77313 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77315         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77317         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77318         __extern_always_inline.
77319         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77320         32-bit.
77322 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77324         * elf/rtld.c (dl_main): Also relocate in dependency order when
77325         doing symbol dependency testing.
77327 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77330         Always define `refsym'.
77332 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77334         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77335         (__FD_ELT): Renamed from __FDELT.
77336         * misc/bits/select2.h (__FD_ELT): Likewise.
77337         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77338         __FD_MASK instead of __FDELT, __FDMASK.
77339         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77340         Likewise.
77341         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77342         Likewise.
77344         * elf/Makefile (gen-ldd): Fix pattern.
77346         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77347         (init_tls): Likewise.
77349 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77351         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77353 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77355         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77356         `struct cmsghdr *' instead of `void *'.
77357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77358         Likewise.
77360 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77362         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77363         if non-absolute.
77364         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77365         ldd_rewrite_script.
77367 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77369         * configure.in: Remove --with-tls option.
77370         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77371         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77372         out in case it is missing.
77373         * sysdeps/ia64/elf/configure.in: Likewise.
77374         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77375         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77376         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77377         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77378         * sysdeps/sh/elf/configure.in: Likewise.
77379         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77380         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77381         * sysdeps/x86_64/elf/configure.in: Likewise.
77382         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77383         * sysdeps/mach/hurd/tls.h: Likewise.
77385         [BZ #13067]
77386         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77388         [BZ #13090]
77389         * configure.in: Fix use of AC_INIT.
77391         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77393 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77395         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77396         __set_errno.
77397         * malloc/hooks.c: Likewise.
77399         [BZ #11929]
77400         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77401         variables statically.
77402         (narenas): Initialize.
77403         (list_lock): Initialize.
77404         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77405         initializtion of main_arena and list_lock.  Small cleanups.
77406         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77407         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77408         Add initializers to main_arena and mp_.
77409         (malloc_state): Remove pagesize member.  Change all users to use
77410         GLRO(dl_pagesize).
77412         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77413         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77414         is always initialized.
77416         * malloc/malloc.c: Removed unused configurations and dead code.
77417         * malloc/arena.c: Likewise.
77418         * malloc/hooks.c: Likewise.
77419         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77421         * include/tls.h: Removed.  USE___THREAD must always be defined.
77422         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77423         * elf/dl-libc.c: Likewise.
77424         * elf/dl-tsd.c: Likewise.
77425         * include/errno.h: Likewise.
77426         * include/netdb.h: Likewise.
77427         * include/resolv.h: Likewise.
77428         * inet/herrno-loc.c: Likewise.
77429         * inet/herrno.c: Likewise.
77430         * malloc/arena.c: Likewise.
77431         * malloc/hooks.c: Likewise.
77432         * malloc/malloc.c: Likewise.
77433         * resolv/res-state.c: Likewise.
77434         * resolv/res_libc.c: Likewise.
77435         * sysdeps/i386/dl-machine.h: Likewise.
77436         * sysdeps/ia64/dl-machine.h: Likewise.
77437         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77438         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77439         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77440         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77441         * sysdeps/sh/dl-machine.h: Likewise.
77442         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77443         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77444         * sysdeps/unix/i386/sysdep.S: Likewise.
77445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77446         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77451         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77455         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77456         * sysdeps/x86_64/dl-machine.h: Likewise.
77457         * tls.make.c: Likewise.
77459         * configure.in: Remove --with-__thread option.  Make tests for
77460         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77461         tls_model attribute fail if no support is available.  Remove
77462         USE_IN_LIBIO.
77463         * Makeconfig: Adjust for dropped configure option.  All features are
77464         now mandatory.
77465         * Makerules: Likewise.
77466         * Versions.def: Likewise.
77467         * argp/argp-fmtstream.c: Likewise.
77468         * argp/argp-fmtstream.h: Likewise.
77469         * argp/argp-help.c: Likewise.
77470         * assert/assert.c: Likewise.
77471         * config.h.in: Likewise.
77472         * config.make.in: Likewise.
77473         * configure: Likewise.
77474         * configure.in: Likewise.
77475         * csu/Versions: Likewise.
77476         * csu/init.c: Likewise.
77477         * elf/tst-audit2.c: Likewise.
77478         * elf/tst-tls10.c: Likewise.
77479         * elf/tst-tls10.h: Likewise.
77480         * elf/tst-tls11.c: Likewise.
77481         * elf/tst-tls12.c: Likewise.
77482         * elf/tst-tls14.c: Likewise.
77483         * elf/tst-tlsmod11.c: Likewise.
77484         * elf/tst-tlsmod12.c: Likewise.
77485         * elf/tst-tlsmod13.c: Likewise.
77486         * elf/tst-tlsmod13a.c: Likewise.
77487         * elf/tst-tlsmod14a.c: Likewise.
77488         * elf/tst-tlsmod15b.c: Likewise.
77489         * elf/tst-tlsmod16a.c: Likewise.
77490         * elf/tst-tlsmod16b.c: Likewise.
77491         * elf/tst-tlsmod7.c: Likewise.
77492         * elf/tst-tlsmod8.c: Likewise.
77493         * elf/tst-tlsmod9.c: Likewise.
77494         * gmon/gmon.c: Likewise.
77495         * grp/fgetgrent_r.c: Likewise.
77496         * grp/putgrent.c: Likewise.
77497         * hurd/fopenport.c: Likewise.
77498         * include/libc-symbols.h: Likewise.
77499         * include/tls.h: Likewise.
77500         * intl/gettextP.h: Likewise.
77501         * intl/loadinfo.h: Likewise.
77502         * locale/global-locale.c: Likewise.
77503         * locale/localeinfo.h: Likewise.
77504         * mach/devstream.c: Likewise.
77505         * malloc/arena.c: Likewise.
77506         * malloc/set-freeres.c: Likewise.
77507         * misc/err.c: Likewise.
77508         * misc/getttyent.c: Likewise.
77509         * misc/mntent_r.c: Likewise.
77510         * posix/getopt.c: Likewise.
77511         * posix/wordexp.c: Likewise.
77512         * pwd/fgetpwent_r.c: Likewise.
77513         * resolv/Versions: Likewise.
77514         * resolv/res_hconf.c: Likewise.
77515         * shadow/fgetspent_r.c: Likewise.
77516         * shadow/putspent.c: Likewise.
77517         * stdio-common/printf_fphex.c: Likewise.
77518         * stdio-common/tmpfile.c: Likewise.
77519         * stdlib/abort.c: Likewise.
77520         * stdlib/fmtmsg.c: Likewise.
77521         * sunrpc/auth_unix.c: Likewise.
77522         * sunrpc/clnt_perr.c: Likewise.
77523         * sunrpc/clnt_tcp.c: Likewise.
77524         * sunrpc/clnt_udp.c: Likewise.
77525         * sunrpc/clnt_unix.c: Likewise.
77526         * sunrpc/openchild.c: Likewise.
77527         * sunrpc/svc_simple.c: Likewise.
77528         * sunrpc/svc_tcp.c: Likewise.
77529         * sunrpc/svc_udp.c: Likewise.
77530         * sunrpc/svc_unix.c: Likewise.
77531         * sunrpc/xdr.c: Likewise.
77532         * sunrpc/xdr_array.c: Likewise.
77533         * sunrpc/xdr_rec.c: Likewise.
77534         * sunrpc/xdr_ref.c: Likewise.
77535         * sunrpc/xdr_stdio.c: Likewise.
77537 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77539         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77541 2011-07-03  Andreas Jaeger  <aj@suse.de>
77543         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77544         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77545         regenerate with gen-libm-tests.pl.
77547 2010-05-12  Petr Baudis  <pasky@suse.cz>
77549         [BZ #11589]
77550         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77551         around j0() zero points by switching to j1().
77552         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77555         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77557 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77559         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77560         instead of 0.
77561         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77562         instead of 0.
77563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77564         Patch in part by Pavel Roskin <proski@gnu.org>.
77566         [BZ #13138]
77567         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77568         realloc.
77569         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77570         Free memory block if necessary.
77572         [BZ #12847]
77573         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77574         be NULL.  Don't lock in this case.
77576 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77578         * elf/elf.h (ELFOSABI_GNU): New macro.
77579         (ELFOSABI_LINUX): Define to that.
77581 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77583         * string/strncat.c (strncat): Undef the symbol in case it has been
77584         defined in bits/string.h.
77586 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77588         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77590         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77591         link map.
77593 2011-08-17  Andreas Jaeger  <aj@suse.de>
77595         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77597 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77598             Ian Lance Taylor  <iant@google.com>
77600         * math/libm-test.inc (lround_test): New testcase.
77601         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77603 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77605         * Makefile: Remove support for automatic cvs check-ins.
77606         * Makerules: Likewise.
77607         * config.make.in: Likewise.
77608         * configure.in: Likewise.
77609         * intl/Makefile: Likewise.
77610         * locale/Makefile: Likewise.
77611         * po/Makefile: Likewise.
77612         * posix/Makefile: Likewise.
77613         * sysdeps/gnu/Makefile: Likewise.
77614         * sysdeps/mach/hurd/Makefile: Likewise.
77615         * sysdeps/sparc/sparc32/Makefile: Likewise.
77617         [BZ #13118]
77618         * posix/Makefile (bug-regex32-ENV): Define.
77619         Patch by John Stanley <jpsinthemix@verizon.net>.
77621         * misc/Makefile (headers): Add bits/select2.h.
77622         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77623         * misc/bits/select2.h: New file.
77624         * include/bits/select2.h: New file.
77625         * debug/Makefile (routines): Add fdelt_chk.
77626         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77627         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77628         FD_ISSET.
77629         * debug/fdelt_chk.c: New file.
77631         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77632         * wcsmbs/test-wmemcmp.c: Likewise.
77633         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77634         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77636 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77638         * string/Makefile (strop-tests): Add memcmp.
77639         * string/test-wmemcmp.c: New file.
77640         * string/test-memcmp.c: Add wmemcmp support.
77642 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77644         [BZ #13153]
77645         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77646         2011-07-19 change.
77648         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77649         garbage value in a __mach_port_mod_refs call in the cases of the
77650         task-self and thread-self ports.
77652 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77654         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77656 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77658         * elf/dl-load.c (lose): Check for non-null L.
77660 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77662         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77664         * elf/dl-libc.c (dlerror_run): Pass back error code from
77665         dl_catch_error.
77667         [BZ #13123]
77668         * elf/dl-load.c (lose): Free l_origin if it is valid.
77670         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77671         names.
77672         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77673         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77675         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77676         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77677         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77679 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77681         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77682         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77683         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77684         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77685         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77686         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77687         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77688         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77689         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77690         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77692 2011-08-15  Alan Modra  <amodra@gmail.com>
77694         [BZ #13092]
77695         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77696         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77697         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77698         ppc_mcount to static-only-routines.
77699         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77700         __mcount_internal.
77701         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77702         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77704 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77706         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77707         for finite and infinity parameters.
77709 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77711         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77712         and add nop instructions for throughput optimization.
77713         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77715 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77717         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77718         aligned copy for power7 with vector-scalar instructions.
77719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77721 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77723         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77724         AVX check.
77726 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77728         [BZ #13144]
77729         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77730         last change.
77732 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77734         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77735         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77736         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77738         clock_gettime.
77740 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77743         Forgot to demangle the pointer.
77745         * sysdeps/i386/sysdep.h: Define atom_text_section.
77746         * sysdeps/x86_64/sysdep.h: Likewise.
77747         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77748         section with atom_text_section.
77749         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77751         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77755         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77756         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77757         already be defined.  Change to take two parameters and don't assign
77758         result to variable.  Adjust all users.
77759         Define INTERNAL_GETTIME if not already defined.
77760         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77761         call.
77762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77763         HAVE_CLOCK_GETTIME_VSYSCALL.
77764         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77766         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77767         gettimeofday vsyscall, just use time.
77769 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77771         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77772         <errno.h>.
77774 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77776         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77777         syscall on x86-64.
77778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77779         syscall.
77780         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77782         syscall if possible.
77784 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77786         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77787         e_ident.  Don't pass to find_mapsXX.
77788         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77790 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77793         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77794         * sysdeps/x86_64/multiarch/strchr.S: Update.
77795         Check bit_slow_BSF bit.
77796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77797         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77798         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77800 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77802         [BZ #13134]
77803         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77804         before glibc 2.15.
77805         (tryshell): Define.
77806         (__spawni): Change last parameter to be flag.  Test
77807         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77808         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77809         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77810         * posix/spawni.c: Likewise.
77811         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77812         * posix/spawnp.c: Likewise.  Change normal version to use
77813         SPAWN_XFLAGS_USE_PATH.
77814         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77815         SPAWN_XFLAGS_TRY_SHELL.
77817         [BZ #13150]
77818         * posix/glob.h: Remove gcc 1.x support.
77820         [BZ #13068]
77821         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77823 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77826         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77827         strrchr-sse2-bsf
77828         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77829         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77830         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77831         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77832         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77833         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77835 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77837         * sysdeps/x86_64/wcscmp.S: New file.
77839         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77840         wcscmp-c wcscmp-sse2
77841         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77842         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77843         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77844         * wcsmbs/wcscmp.c: Allow renaming.
77846 2011-09-05  David S. Miller  <davem@davemloft.net>
77848         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77849         stack slot, rather than the struct return pointer slot.
77850         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77851         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77853         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77855 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77857         * po/ja.po: Update from translation team.
77859         [BZ #13144]
77860         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77861         kernel in 64-bit binaries.
77863 2011-09-01  David S. Miller  <davem@davemloft.net>
77865         * elf/elf.h (HWCAP_SPARC_*): Move to..
77866         * sysdeps/sparc/sysdep.h: this new file and add new values.
77867         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77868         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77869         _DL_HWCAP_COUNT to 24.
77870         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77871         entries.
77872         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77873         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77874         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77876         instead of magic constants.
77877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77879 2011-08-31  David S. Miller  <davem@davemloft.net>
77881         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77883         Reimplement to do errno handling inline.
77884         (SYSCALL_ERROR_HANDLER): New macro.
77885         (__SYSCALL_STRING): Do not do errno handling in asm.
77886         (__CLONE_SYSCALL_STRING): Delete.
77887         (__INTERNAL_SYSCALL_STRING): Delete.
77888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77889         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77890         (PSEUDO): Reimplement to do errno handling inline.
77891         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77892         (SYSCALL_ERROR_HANDLER): New macro.
77893         (__SYSCALL_STRING): Do not do errno handling in asm.
77894         (__CLONE_SYSCALL_STRING): Delete.
77895         (__INTERNAL_SYSCALL_STRING): Delete.
77896         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77897         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77898         i386.
77899         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77900         (inline_syscall*): Add 'err' argument.
77901         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77902         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77903         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77904         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77906         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77907         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77909 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77911         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77913 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77915         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77916         directive.
77918 2011-08-24  David S. Miller  <davem@davemloft.net>
77920         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77922 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77924         * elf/Makefile: Add rules to build and run unload8 test.
77925         * elf/unload8.c: New file.
77926         * elf/unload8mod1.c: New file.
77927         * elf/unload8mod1x.c: New file.
77928         * elf/unload8mod2.c: New file.
77929         * elf/unload8mod3.c: New file.
77931         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77932         it wasn't used.
77934 2011-08-23  David S. Miller  <davem@davemloft.net>
77936         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77937         subtract stack bias.
77938         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77939         %sp not %fp in calculations.
77940         (_JMPBUF_UNWINDS_ADJ): Likewise.
77942         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77943         (aio_suspend): Call it to force an exception region around the
77944         AIO_MISC_WAIT() invocation.
77946 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77948         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77949         backslash.
77951 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77953         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77954         protection macro.
77955         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77956         and <dl-machine.h>.
77957         (Elf64_FuncDesc): Remove.
77959 2011-08-22  David S. Miller  <davem@davemloft.net>
77961         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77962         sigaltstack check, add missing cfi directives.
77963         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77964         missing cfi directives, and sigaltstack handling.
77966 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77968         [BZ #11724]
77969         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77970         object is seen twice.
77971         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77973         * elf/Makefile (distribute): Add tst-initorder2.c.
77974         (tests): Add tst-initorder2.
77975         (modules-names): Add tst-initorder2a tst-initorder2b
77976         tst-initorder2c tst-initorder2d.  Add rules to build them.
77977         ($(objpfx)tst-initorder2.out): New rule.
77978         * elf/tst-initorder2.c: New file.
77979         * elf/tst-initorder2.exp: New file.
77981 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77983         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77985         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77986         dependencies back to end of function.
77988         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77989         $(elfobjdir)/ld.so.
77991 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77994         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77996         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77997         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77998         of __vdso_gettimeofday.
77999         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78000         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78001         attribute_hidden.
78002         (_libc_vdso_platform_setup): Remove initialization of
78003         __vdso_gettimeofday and __vdso_time.
78005 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78007         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78008         and fgetc_unlocked.
78009         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78010         getc_unlocked.
78012         * elf/dl-open.c (add_to_global): Report additions to the global scope
78013         for LD_DEBUG=scopes.
78014         (dl_open_worker): Also print scope of newly loaded dependencies.
78015         (_dl_show_scope): Indicate if there is no scope.
78017         [BZ #13114]
78018         * stdio-common/Makefile (tests): Add bug24.
78019         * stdio-common/bug24.c: New file.
78021 2011-08-19  Andreas Jaeger  <aj@suse.de>
78023         [BZ #13114]
78024         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78025         non-existant file when using close-on-exec mode.
78027 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78030         the very first instruction.
78032         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78033         the CFI state in the end.
78034         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78035         inclusion of dl-trampoline.h.
78036         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78038 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78040         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78041         expectations for long double.
78043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78044         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78046 2011-08-14  David S. Miller  <davem@davemloft.net>
78048         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78049         artificual limit depends upon the system page size.
78051 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78053         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78054         * resolv/Makefile: Define CFLAGS-libresolv.
78056 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78058         * nss/makedb.c (compute_tables): Make variables used in nested
78059         function static.
78061 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78063         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78064         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78065         if buffer was too small.
78067         * elf/pldd.c (main): Attach to all threads in the process.
78068         Rewrite /proc handling to use *at functions.
78070 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78072         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78073         specifies first scope to show.
78074         (dl_open_worker): Update callers.  Move printing scope of new
78075         object to before the relocation.
78076         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78077         * sysdeps/generic/ldsodefs.h: Update declaration.
78079         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78080         string for the scope number.
78082 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78084         * nscd/servicescache.c (cache_addserv): Make sure written is always
78085         initialized.
78087 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78089         * sysdeps/i386/i486/bits/atomic.h
78090         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78091         statement expression, so as to suppress "set but not used" warning.
78092         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78094         * string/strncat.c (STRNCAT): Use prototype definition.
78096         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78097         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78098         -Iprograms here.
78099         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78100         (localedef-modules): Add localedef.
78101         (locale-modules): Add locale.
78103         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78104         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78105         to avoid a warning.
78107 2011-08-14  David S. Miller  <davem@davemloft.net>
78109         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78110         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78112 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78114         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78115         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78116         * elf/rtld.c (dl_main): Set l_name of vDSO.
78117         Call _dl_show_scope when DL_DEBUG_SCOPES.
78118         (process_dl_debug): Recognize scopes flag and also set it for all.
78119         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78120         Declare _dl_show_scope.
78122         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78123         (do_dlopen): Pass caller_dlopen to dl_open.
78124         (__libc_dlopen_mode): Initialize caller_dlopen.
78126         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78127         of libc.  Make tolower call locale-independent.  Optimize a bit by
78128         using isdigit instead of isalnum.
78129         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78131 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78133         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78134         was a dependency or dynamically loaded.
78136 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78138         * intl/l10nflist.c: Allow architecture-specific pop function.
78139         * sysdeps/x86_64/l10nflist.c: New file.
78141         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78142         classification.
78144 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78146         * include/dirent.h: Add libc_hidden_proto for scandirat and
78147         scandirat64.  Don't declare __scandirat64.
78148         * dirent/scandirat.c: Add libc_hidden_def.
78149         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78150         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78152 2011-08-10  David S. Miller  <davem@davemloft.net>
78154         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78155         enum.
78156         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78158         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78160 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78162         * Versions.def [libc]: Add GLIBC_2.15.
78163         * dirent/Makefile (routines): Add scandirat and scandirat64.
78164         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78165         GLIBC_2.15.
78166         * dirent/dirent.h: Declare scandirat and scandirat64.
78167         * dirent/scandirat.c: New file.
78168         * dirent/scandirat64.c: New file.
78169         * sysdeps/wordsize-64/scandirat.c: New file.
78170         * sysdeps/wordsize-64/scandirat64.c: New file.
78171         * dirent/opendir.c: Define opendirat.
78172         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78173         using scandirat.
78174         * dirent/scandir64.c: Adjust for scandir.c change.
78175         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78176         __scandirat64, and __scandir_cancel_handler.
78177         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78178         additional parameter and use openat instead of open (outside of ld.so).
78179         Add new __opendir as wrapper around __opendirat.
78180         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78181         here without requiring old scandirat implementation.
78183 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78185         * dirent/scandir.c (cancel_handler): Renamed to
78186         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78187         defined.  Adjust users.
78188         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78189         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78191 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78193         * string/test-string.h (IMPL): Use __STRING to expand name and then
78194         stringify it.
78196         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78197         of cleanups.
78199 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78201         * string/Makefile: Update.
78202         (strop-tests): Append strncat.
78203         * string/test-wcscmp.c: New file.
78204         New comprehensive test for wcscmp.
78205         * string/test-strcmp.c: Update.
78206         (WIDE): New define.
78208 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78210         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78211         line.
78213 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78216         encoding to ACE if AI_IDN.
78218 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78220         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78221         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78223 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78226         Fix overflow bug in strncat.
78227         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78229         * string/test-strncat.c: Update.
78230         Add new tests for checking overflow bugs.
78232 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78235         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78236         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78237         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78238         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78239         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78240         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78241         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78242         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78244         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78245         (USE_AS_STRCAT): Define.
78246         Add strcat and strncat support.
78247         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78249 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78251         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78252         __n bigger than INT_MAX+1.
78253         (__strncmp_g): Likewise.
78255 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78257         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78258         * libio/stido.h: Likewise.
78260         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78261         (AF_NFC): Define.
78262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78263         (AF_NFC): Define.
78265         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78266         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78267         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78268         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78271         [BZ #13021]
78272         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78273         installed.
78275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78276         typo.
78277         (_dl_x86_64_save_sse): Likewise.
78279 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78282         OSXSAVE.
78283         (_dl_x86_64_save_sse): Likewise.
78285         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78287         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78289 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78292         change.
78293         (_dl_x86_64_save_sse): Use correct AVX check.
78295 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78298         bug in strncpy/strncat.
78299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78301 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78303         * string/tester.c (test_strcat): Add tests for different alignments
78304         of source and destination.
78305         (test_strncat): Likewise.
78307 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78309         [BZ #12852]
78310         * posix/glob.c (glob): Check passed in values before using them in
78311         expressions to avoid some overflows.
78312         (glob_in_dir): Likewise.
78314         [BZ #13007]
78315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78316         check for AVX enablement so that we don't crash with old kernels and
78317         new hardware.
78318         * elf/tst-audit4.c: Add same checks here.
78319         * elf/tst-audit6.c: Likewise.
78321         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78323 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78325         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78327 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78329         * po/cs.po: Update from translation team.
78330         * po/bg.po: Likewise.
78332 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78334         * misc/sys/cdefs.h: Add support for const attribute.
78335         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78336         to gnu_dev_{major,minor,makedev} functions.
78338 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78340         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78342 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78344         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78345         strlen results.
78347 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78350         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78351         register in order to avoid conflicts with the soft frame pointer
78352         being held in r11 when necessary.
78353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78354         (INTERNAL_VSYSCALL_NCS): Likewise.
78356 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78358         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78359         * elf/dl-fini.c (_dl_fini): Adjust caller.
78360         * elf/dl-close.c (_dl_close_worker): Likewise.
78361         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78363 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78365         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78366         "aux_cache->nlibs < 0".
78368         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78369         in the reload-count case.
78371 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78374         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78375         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78376         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78377         * sysdeps/x86_64/multiarch/strcat.S: New file.
78378         * sysdeps/x86_64/multiarch/strncat.S: New file.
78379         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78380         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78381         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78382         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78384         (USE_AS_STRCAT): Define.
78385         Add strcat and strncat support.
78386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78387         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78388         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78389         * string/strncat.c: Update.
78390         (USE_AS_STRNCAT): Define.
78391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78392         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78393         and i7.
78394         * sysdeps/x86_64/multiarch/init-arch.h
78395         (bit_Prefer_PMINUB_for_stringop): New.
78396         (index_Prefer_PMINUB_for_stringop): Likewise.
78397         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78398         bit_Prefer_PMINUB_for_stringop.
78400 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78402         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78403         buffer64.
78404         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78405         of casting of buffer.
78406         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78407         buffer32 and buffer64.
78408         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78409         writes instead of casting of buffer.
78410         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78411         buffer32.
78412         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78413         casting of buffer.
78415 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78417         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78419 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78421         * nscd/nscd.c (termination_handler): Don't do anything for a database
78422         if it has not yet been initialized.
78424 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78426         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78428 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78430         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78432 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78434         * po/nl.po: Update from translation team.
78435         * po/sv.po: Likewise.
78437 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78439         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78440         now disallowed by GCC.
78442         * configure.in (use-default-link): Default to yes if a test -shared
78443         link meets our qualifications.
78444         * configure: Regenerated.
78446         * config.make.in (output-format): New variable.
78447         * configure.in: Check for ld --print-output-format support.
78448         * configure: Regenerated.
78449         * Makerules ($(common-objpfx)format.lds)
78450         [$(output-format) != unknown]: Just use $(output-format),
78451         instead of the linker-script munging.
78453 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78455         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78456         of $(common-objpfx)shlib.lds.
78457         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78459         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78460         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78462         * configure.in (-z relro check): Adjust test code to add a large
78463         writable data section after it.
78464         * configure: Regenerated.
78466 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78468         * configure.in (-z relro check): Fix test code to make the variable
78469         truly const.
78470         * configure: Regenerated.
78472 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78474         * nscd/nscd.h (struct traced_file): Define.
78475         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78476         elements.  Add traced_files.
78477         (inotify_fd): Declare.
78478         (register_traced_file): Declare.
78479         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78480         (inotify_fd): Export.
78481         (resolv_conf_descr): Remove.
78482         (nscd_init): Move inotify descriptor creation to main.
78483         Don't register files for notification here.
78484         (register_traced_file): New function.
78485         (invalidate_cache): Don't use reset_res to determine whether to call
78486         res_init, go through the list of registered files.
78487         (main_loop_poll): The inotify descriptors are now stored in the
78488         structures for the traced files.
78489         (main_loop_epoll): Likewise.
78490         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78491         to __nss_disable_nscd.
78492         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78493         for a database anymore.  Check the records for all the registered
78494         files instead.
78495         * nss/Makefile (libnss_files-routines): Add files-init.
78496         (libnss_db-routines): Add db-init.
78497         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78498         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78499         * nss/nss_db/db-init.c: New file.
78500         * nss/nss_files/files-init.c: New file.
78501         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78502         __nss_lookup_function.
78503         (__nss_lookup_function): Call nss_load_library.
78504         (nss_load_all_libraries): New function.
78505         (__nss_disable_nscd): Take parameter with callback function for files
78506         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78507         used for the cached services.
78508         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78509         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78510         options for features to all the files in nscd.
78512         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78514 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78516         * csu/elf-init.c (__libc_csu_init): Comment typo.
78518 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78520         * po/pl.po: Update from translation team.
78521         * po/ja.po: Likewise.
78522         * po/ru.po: Likewise.
78523         * po/ko.po: Likewise.
78524         * po/fr.po: Likewise.
78526 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78528         * configure.in (.ctors/.dtors header and trailer check):
78529         Use an empirical test on a built program.
78530         * configure: Regenerated.
78532         * configure.in (-z relro check): Use an empirical test on a built DSO.
78533         Detect, but do not require, on ia64.
78534         * configure: Regenerated.
78536         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78537         Update tests that use readelf to use $READELF instead.
78538         * configure: Regenerated.
78540 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78542         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78543         if the result is not used.
78545 2011-07-05  Andreas Jaeger  <aj@suse.de>
78547         [BZ#9696]
78548         * stdlib/tst-strtod.c: Add testcase.
78550 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78552         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78553         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78554         The latter has a higher limit.  Take additional parameter to pass to
78555         the new function.
78556         (__pathconf): Pass file to __statfs_link_max.
78557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78558         __statfs_link_max.
78559         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78560         __statfs_link_max.
78562         [BZ #12868]
78563         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78564         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78565         Handle Lustre.
78566         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78567         (__statfs_filesize_max): Likewise.
78568         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78570 2011-07-05  Andreas Jaeger  <aj@suse.de>
78572         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78574 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78576         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78577         `status' variable.
78578         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78579         Likewise.
78581 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78583         * Makefile (strop-tests): Add strncat.
78584         * string/test-strncat.c: New file.
78586 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78588         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78590 2011-06-21  Andreas Jaeger  <aj@suse.de>
78592         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78593         Copy rule from iconvdata/Makefile.
78595 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78597         [BZ #12922]
78598         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78599         but no long options are defined, just return 'W'.
78601 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78603         [BZ #9696]
78604         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78606 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78608         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78609         netgroups to read.
78610         (innetgr): Likewise.
78612 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78614         * config.make.in (install_root): Default to $(DESTDIR).
78616 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78618         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78620 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78622         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78624         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78625         containing directory rather than embedding absolute directory names.
78627         * scripts/check-local-headers.sh: Rewritten using awk.
78628         Match by word, not by line.  Print error messages for matches.
78629         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78631         * Makerules [shlib-lds-flags empty]:
78632         ($(common-objpfx)libc_pic.opts): New target.
78633         ($(common-objpfx)libc_pic.os.clean): New target.
78634         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78636         * config.make.in (OBJCOPY): New variable.
78637         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78638         * configure: Regenerated.
78640         * config.make.in (use-default-link): New variable.
78641         * configure.in (use_default_link): Grok --with-default-link to set it.
78642         * configure: Regenerated.
78643         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78644         (shlib-lds, shlib-lds-flags): Define to empty.
78646         * Makerules (shlib-lds): New variable.
78647         (shlib-lds-flags): New variable.
78648         (build-shlib, build-moduile, build-module-asneeded): Use it.
78649         ($(common-objpfx)libc.so): Use $(shlib-lds).
78650         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78651         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78653         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78654         DT_FLAGS/DT_FLAGS_1 with zero flags.
78656         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78657         linker script munging.
78659 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78661         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78662         as 128-bit value.
78663         * crypt/sha512.c (sha512_process_block): Perform total addition using
78664         128-bit if possible.
78665         (__sha512_finish_ctx): Likewise.
78666         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78667         as 64-bit value.
78668         * crypt/sha256.c (SWAP64): Define.
78669         (sha256_process_block): Perform total addition using 64-bit if
78670         possible.
78671         (__sha256_finish_ctx): Likewise.
78673 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78675         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78676         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78677         * nscd/hstcache.c (cache_addhst): Likewise.
78678         * nscd/grpcache.c (cache_addgr): Likewise.
78679         * nscd/aicache.c (addhstaiX): Likewise.
78680         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78682 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78684         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78685         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78686         * nscd/hstcache.c (cache_addhst): Likewise.
78687         * nscd/grpcache.c (cache_addgr): Likewise.
78688         * nscd/aicache.c (addhstaiX): Likewise.
78690 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78692         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78693         domain only when needed.
78695 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78698         is always restored.
78700 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78702         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78703         are re-adding the entry.
78704         * nscd/servicescache.c (cache_addserv): Likewise.
78706 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78708         * sysdeps/generic/dl-irel.h: fix protection against multiple
78709         inclusions.
78710         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78712 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78714         [BZ #12935]
78715         * malloc/memusage.sh: Fix quoting in message.
78716         * debug/xtrace.sh: Likewise.
78718         * configure.in: Remove support for --experimental-malloc option, make
78719         it the default.
78720         * config.make.in: Likewise.
78721         * malloc/Makefile: Likewise.
78723 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78725         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78726         two-byte characters.
78728 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78730         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78731         AC_CACHE_CHECK invocation.
78732         * configure: Regenerated.
78734         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78736 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78738         [BZ #12350]
78739         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78740         bit from old_res_options.
78742         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78744         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78745         value type for setfct.
78747 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78750         __gettimeofday instead of gettimeofday.
78752 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78754         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78756 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78758         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78761         info.
78763 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78766         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78767         strcpy-sse2-unaligned strncpy-sse2-unaligned
78768         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78769         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78770         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78771         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78772         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78773         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78775         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78776         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78777         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78778         (STRCPY): Support SSE2 and SSSE3 versions.
78780 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78782         [BZ #12874]
78783         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78784         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78785         kernels which artificially limit size of requests.
78787 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78790         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78791         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78792         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78793         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78794         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78795         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78796         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78797         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78798         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78799         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78800         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78801         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78802         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78803         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78805         Enable unaligned load optimization for Intel Core i3, i5 and i7
78806         processors.
78807         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78808         Define.
78809         (index_Fast_Unaligned_Load): Define.
78810         (HAS_FAST_UNALIGNED_LOAD): Define.
78812 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78814         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78816 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78818         [BZ #12907]
78819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78820         until it is clear that the information is realy needed.
78821         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78823 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78827 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78830         /sys/devices/system/cpu/online if it is usable.
78832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78833         reading the information from the /proc filesystem to once a second.
78835 2011-06-21  Andreas Jaeger  <aj@suse.de>
78837         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78838         NULL after inclusion of kernel headers.
78840 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78842         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78843         calls to internal_setent.
78845         [BZ #12885]
78846         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78847         addresses using gethostbyname4_r ignore IPv4 addresses.
78849         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78850         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78852         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78854 2011-06-20  David S. Miller  <davem@davemloft.net>
78856         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78857         inclusions.
78858         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78860         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78861         (elf_irel): Use it.
78862         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78863         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78864         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78865         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78866         * sysdeps/x86_64/dl-irel.h: Likewise.
78868         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78869         * elf/dl-sym.c: Likewise.
78871 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78873         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78874         need to dereference resplen2.
78876 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78878         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78880 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78882         * Makeconfig: Define vardbdir and inst_vardbdir.
78883         * nss/Makefile: Add rules to install db-Makefile.
78885         * nss/nss_db/db-XXX.c: Cleanup.
78887         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78888         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78889         GLIBC_PRIVATE.
78890         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78891         * nss/makedb.c: Implement -g option to specify that value strings
78892         are generated and should not be added to table iterated over for
78893         get*ent calls.
78894         * nss/nss_db/db-initgroups.c: New file.
78896         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78897         interface.
78899         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78900         (internal_getgrouplist): Adjust to name change.
78901         Update use_initgroups_entry if this is not the first call.
78902         * nss/databases.def: Add initgroups entry.
78904         * nss/makedb.c (compute_tables): Check result of multiple hash table
78905         sizes to minimize maximum chain length.
78907 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78909         * Versions.def: Add entry for libnss_db.
78910         * shlib-versions: Likewise.
78911         * nss/Makefile: Add rules to build libnss_db.
78912         * nss/Versions: Add libnss_db information.  Organize libnss_files
78913         entries better.
78914         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78915         makedb progra.  Some minor improvements to generate smaller files.
78916         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78917         here from...
78918         * nss/makedb.c: ...here.
78919         Improve database format to be smaller and require less memory at
78920         runtime.
78921         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78922         db anymore.
78923         * nss/nss_db/db-netgrp.c: Likewise.
78924         * nss/nss_db/db-open.c: Likewise.
78925         * nss/nss_files/flies-XXX.x: Adjust comments.
78926         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78927         * nss/nss_files/files-grp.c: Likewise.
78928         * nss/nss_files/files-hosts.c: Likewise.
78929         * nss/nss_files/files-network.c: Likewise.
78930         * nss/nss_files/files-proto.c: Likewise.
78931         * nss/nss_files/files-pwd.c: Likewise.
78932         * nss/nss_files/files-rpc.c: Likewise.
78933         * nss/nss_files/files-service.c: Likewise.
78934         * nss/nss_files/files-sgrp.c: Likewise.
78935         * nss/nss_files/files-spwd.c: Likewise.
78936         * nss/nss_db/db-alias.c: Removed.
78937         * nss/nss_db/dummy-db.h: Removed.
78939 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78941         * nss/makedb.c: Rewritten to not use database library.
78942         * nss/Makefile: Update to build new makedb program.
78944 2011-06-14  Andreas Jaeger  <aj@suse.de>
78946         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78947         memset declaration.
78949 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78952         tmpbuf.
78954 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78956         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78957         * elf/Makefile ($(objpfx)ld.so): Likewise.
78959         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78960         Don't list ld.so twice in dependencies.
78962         * posix/bug-regex31.c: Include <stdlib.h>.
78964         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78966         * nis/nss_compat/compat-spwd.c
78967         (getspent_next_nss_netgr): Remove unused variable.
78968         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78970         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78971         nonmembers" output to use the right array.
78973         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78975         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78977         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78978         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78979         * catgets/gencat.c (read_input_file): Likewise.
78980         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78982         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78983         variable definition inside #if's controlling its use.
78985         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78987         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78989         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78991         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78992         unreachable code.
78994         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78996         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78997         * configure: Regenerated.
78999         * Makerules: Revert last change.
79000         * elf/Makefile: Likewise.
79002 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79004         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79005         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79006         (reloc-link): Likewise.
79008 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79010         * elf/Makefile: Add rules to build pldd.
79011         * elf/pldd.c: New file.
79012         * elf/pldd-xx.c: New file.
79014 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79016         * version.h: Update for 2.15 development version.
79018 2011-06-07  David S. Miller  <davem@davemloft.net>
79020         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79021         ifuncs.
79022         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79023         elf_machine_lazy_rel): Likewise.
79024         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79026         elf_machine_lazy_rel): Likewise.
79027         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79028         dl_hwcap via passed in argument.
79029         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79030         Likewise.
79032 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79034         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79036 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79038         [BZ #12849]
79039         * manual/fdl-1.1.texi: New file, verbatim from:
79040         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79041         * manual/lgpl-2.1.texi: New file, verbatim from:
79042         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79043         * manual/Makefile (licenses): New variable, list those new file names.
79044         (texis): Use it.
79045         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79047         * manual/fdl.texi: File removed.
79048         * manual/lesser.texi: File removed.
79049         * manual/libc.texinfo (Copying, Documentation License):
79050         Use new @include file names, put @appendix directive before @include.
79052 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79054         [BZ #12841]
79055         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79056         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79057         (mq_open): Add __NTH.
79059 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79062         Assume Intel Core i3/i5/i7 processor if AVX is available.
79064 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79067         typo.
79069 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79071         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79072         memory.  Use alloca_account.  Fix memory leak when retrying.
79074 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79076         * version.h (RELEASE): Bump for 2.14 release.
79077         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79079         * config.make.in (RANLIB): Remove entry.
79081 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79083         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79084         (libc.pot): Work around missing support for .ksh extension in xgettext.
79086         [BZ #12684]
79087         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79088         if both request failed.
79089         (send_dg): In case of server errors clear resplen or *resplen2.
79091         [BZ #12454]
79092         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79093         when there are multiple maps.
79094         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79095         (_dl_fini): Remove test here.
79097         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79099 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79101         [BZ #12350]
79102         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79103         bit from old_res_options.
79104         (gaih_inet): Likewise.
79106         [BZ #11099]
79107         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79108         as signed.
79110         * resolv/res_init.c (res_setoptions): Make the code more compact.
79112         [BZ #11558]
79113         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79114         set RES_USEVC.
79116         [BZ #11634]
79117         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79119         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79121         [BZ #11781]
79122         * malloc/malloc.h: Declare malloc hook variables as volatile.
79124         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79125         in last patch.
79127         [BZ #11799]
79128         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79129         raise in the comment.
79130         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79131         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79132         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79134 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79136         [BZ #12811]
79137         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79138         grow the buffers more if it already has to be sufficient.
79139         (build_wcs_upper_buffer): Likewise.
79140         * posix/regexec.c (check_matching): Likewise.
79141         (clean_state_log_if_needed): Likewise.
79142         (extend_buffers): Don't enlarge buffers beyond size of the input
79143         buffer.
79144         Patches mostly by Emil Wojak <emil@wojak.eu>.
79145         * posix/bug-regex32.c: New file.
79146         * posix/Makefile (tests): Add bug-regex32.
79148         * locale/findlocale.c (_nl_find_locale): Return right away if
79149         _nl_explode_name failed.
79150         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79152         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79154         * debug/xtrace.sh: Unify messages.
79155         * malloc/memusage.sh: Likewise.
79157         [BZ #12813]
79158         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79159         time symbol from vDSO.  Substitute with vsyscall if not available.
79160         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79161         __vdso_time.
79163         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79164         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79165         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79166         Add sendmmsg and internal_sendmmsg.
79167         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79168         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79169         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79171         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79172         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79173         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79175 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79177         [BZ #12813]
79178         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79179         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79180         available.
79181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79182         __vdso_getcpu.
79184         [BZ #12814]
79185         * iconvdata/Makefile (tests): Add bug-iconv9.
79186         * iconvdata/bug-iconv9.c: New file.
79188 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79190         [BZ #12814]
79191         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79193 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79196         (struct user_regs_struct): Change intcs field back to cs.
79198 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79200         * po/ja.po: Update from translation team.
79202 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79204         [BZ #12795]
79205         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79206         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79208 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79210         * stdlib/longlong.h: Update from GCC.
79212 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79214         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79215         parameter name.
79216         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79217         Add parameter name.
79218         (__sysconf): Pass it down.
79220 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79222         [BZ #12671]
79223         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79224         some situations.
79225         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79226         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79227         add in in __libc_use_alloca calls.  Adjust callers.
79228         (glob): Use malloc in some situations.
79230         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79231         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79232         pltexit.
79234 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79236         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79237         and CLOCK_BOOTTIME_ALARM.
79239         [BZ #12782]
79240         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79241         is returned.
79243         * string/_strerror.c (__strerror_r): Print negative errors as signed
79244         numbers.
79246         [BZ #12777]
79247         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79248         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79249         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79251         * configure.in: Fix typo in redirection and correct removal of test
79252         files in two cases.
79254         [BZ #12788]
79255         * locale/setlocale.c (new_composite_name): Fix test to check for
79256         identical name of all categories.
79258         [BZ #12792]
79259         * libio/filedoalloc.c (local_isatty): New function.
79260         (_IO_file_doallocate): Use local_isatty.
79261         * stdio-common/perror.c (perror): In case a new stream is used
79262         forward the stream error.
79263         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79264         error flag.
79266 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79268         [BZ #11884]
79269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79270         alloca.
79271         * include/alloca.h (extend_alloca_account): Define.
79273         [BZ #11857]
79274         * posix/regex.h: Fix comments with documentation of user-accessible
79275         fields after compilation and describe correct free'ing of pattern
79276         after re_compile_pattern.
79277         Patch by Reuben Thomas <rrt@sc3d.org>.
79279 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79281         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79282         and -mno-altivec to prevent the compiler from using Altivec and/or
79283         VSX instructions when the corresponding registers are not available.
79285 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79287         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79289 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79291         * libio/freopen.c (freopen): Use __dup2, not dup2.
79292         * libio/freopen64.c (freopen64): Likewise.
79294 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79296         [BZ #12775]
79297         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79298         * math/Makefile (tests): Add test-powl.
79299         (CFLAGS-test-powl.c): Define.
79300         * math/test-powl.c: New file.
79302 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79304         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79306 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79308         [BZ #11837]
79309         * iconvdata/gb18030.c: Update to GB18020-2005.
79311 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79313         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79314         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79315         Patch by Aharon Robbins <arnold@skeeve.com>.
79317         [BZ #11892]
79318         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79319         on the stack.
79321         [BZ #11895]
79322         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79323         through underflows.
79325         [BZ #12766]
79326         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79327         point to strings before performing equality test for error_one_per_line
79328         mode.
79330         [BZ #11697]
79331         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79333         [BZ #11820]
79334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79335         (struct user_fpregs_struct): Avoid __uint*_t types.
79337         [BZ #6420]
79338         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79339         symbol info.  Use it instead of calling _dl_addr locally.
79340         (lock_and_info): New function.
79341         (tr_freehook): Call lock_and_info and pass symbol info as additional
79342         parameter to tr_where.
79343         (tr_mallochook): Likewise.
79344         (tr_reallochook): Likewise.
79345         (tr_memalignhook): Likewise.
79347         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79348         used and couldn't be at all thread-safe.
79350 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79352         * libio/freopen.c (freopen): Don't close old file descriptor
79353         before the new one is opened.  Instead dup the new file descriptor
79354         to the old one after the new stream is created.
79355         * libio/freopen64.c (freopen64): Likewise.
79356         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79357         * libio/fileops.c (_IO_new_file_close_it): Handle new
79358         _IO_FLAGS2_NOCLOSE flag.
79359         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79360         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79361         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79362         _IO_FLAGS2_NOCLOSE flag.
79363         * include/unistd.h: Add hidden_proto for dup3.
79364         Define __have_dup3.
79365         * io/dup3.c: Define hidden symbol.
79366         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79368         [BZ #7101]
79369         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79370         when an incomplete long option is used.
79371         * posix/tst-getopt_long1.c: New file.
79372         * posix/Makefile (tests): Add tst-getopt_long1.
79374         [BZ #10138]
79375         * scripts/config.guess: Update from autoconf-2.68.
79376         * scripts/config.sub: Likewise.
79378         [BZ #10157]
79379         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79380         tests into ...
79381         (has_cpuclock): ...this.  New function.
79382         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79383         macro here based on has_cpuclock code.
79385         [BZ #10149]
79386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79387         First byte (not low byte) is now always NUL.
79388         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79391         Use non-cancelable interfaces.
79393         [BZ #9809]
79394         * locale/iso-639.def: Add entry for Sorani.
79396         [BZ #11901]
79397         * include/stdlib.h: Move include protection to the right place.
79398         Define abort_msg_s.  Declare __abort_msg with it.
79399         * stdlib/abort.c (__abort_msg): Adjust type.
79400         * assert/assert.c (__assert_fail_base): New function.  Majority
79401         of code from __assert_fail.  Allocate memory for __abort_msg with
79402         mmap.
79403         (__assert_fail): Now call __assert_fail_base.
79404         * assert/assert-perr.c: Remove bulk of implementation.  Use
79405         __assert_fail_base.
79406         * include/assert.hL Declare __assert_fail_base.
79407         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79408         mmap.
79409         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79411 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79413         [BZ #11952]
79414         [BZ #12453]
79415         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79416         until all modules are registered in the DTV.
79417         * elf/Makefile: Add rules to build and run tst-tls19.
79418         * elf/tst-tls19.c: New file.
79419         * elf/tst-tls19mod1.c: New file.
79420         * elf/tst-tls19mod2.c: New file.
79421         * elf/tst-tls19mod3.c: New file.
79422         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79424         [BZ #12083]
79425         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79426         correctly.
79428         [BZ #12601]
79429         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79430         two-byte sequence errors.
79431         * iconvdata/Makefile (tests): Add bug-iconv8.
79432         * iconvdata/bug-iconv8.c: New file.
79434         [BZ #12626]
79435         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79436         buf2 definition.
79438         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79440         [BZ #12432]
79441         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79442         (dummy_getcfa): New function.
79443         (init): Get _Unwind_GetCFA address, use dummy if not found.
79444         (backtrace_helper): In recursion check, also check whether CFA changes.
79445         (__backtrace): Completely initialize arg.
79447         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79448         storing incomplete byte sequence in state object.  Avoid testing for
79449         guaranteed too small input if we know there is enough data available.
79451 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79453         * Makeconfig (+link-pie): Indent.
79454         * Rules (binaries-pie): Define if $(have-fpie) and
79455         $(build-shared).
79456         (binaries-shared): Also filter out $(binaries-pie).
79457         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79458         * nscd/Makefile (others-pie): Add nscd.
79459         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79460         ($(objpfx)nscd): Remove command override.
79461         * login/Makefile (others-pie): Add pt_chown.
79462         ($(objpfx)pt_chown): Remove command override.
79463         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79464         remove command overrides.
79466 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79468         * libio/tst_putwc.c: Fix error messages.
79470         [BZ #12724]
79471         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79472         currently writing and seek to current position when not.
79473         * libio/Makefile (tests): Add bug-fclose1.
79474         * libio/bug-fclose1.c: New file.
79476 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79478         [BZ #12511]
79479         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79480         don't set DF_1_NODELETE here.
79481         (do_lookup_x): When entering new entry test for copy relocation
79482         and if necessary set DF_1_NODELETE flag.
79483         * elf/tst-unique4.cc: New file.
79484         * elf/tst-unique4.h: New file.
79485         * elf/tst-unique4lib.cc: New file.
79486         * elf/Makefile: Add rules to build and run tst-unique4.
79487         Patch by Piotr Bury <pbury@goahead.com>.
79489 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79491         [BZ #12052]
79492         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79494         [BZ #12625]
79495         * misc/mntent_r.c (addmntent): Flush the stream after the output
79497         [BZ #12393]
79498         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79499         (is_trusted_path_normalize): Skip initial colon.  Append slash
79500         to empty buffer.  Duplicate is_trusted_path code but allow
79501         constructed patch to be prefix.
79502         (is_dst): Allow $ORIGIN followed by /.
79503         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79504         Correct testing of result of is_trusted_path_normalize
79505         (decompose_rpath): Fix warning.
79507 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79509         [BZ #11257]
79510         * grp/initgroups.c (internal_getgrouplist): When we found the service
79511         list through the initgroups entry in nsswitch.conf do not always
79512         continue on a successful lookup.  Don't always use the
79513         __nss_group_database value if it is set.
79514         * nss/nsswitch.conf (initgroups): Change action for successful db
79515         lookup to continue for compatibility.
79517 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79519         [BZ #11532]
79520         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79521         and CP774 modules.
79522         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79523         and CP774 modules.
79524         * iconvdata/tst-tables.sh: Likewise.
79525         * iconvdata/cp770.c: New file.
79526         * iconvdata/cp771.c: New file.
79527         * iconvdata/cp772.c: New file.
79528         * iconvdata/cp773.c: New file.
79529         * iconvdata/cp774.c: New file.
79530         * iconvdata/testdata/CP770: New file.
79531         * iconvdata/testdata/CP770..UTF8: New file.
79532         * iconvdata/testdata/CP771: New file.
79533         * iconvdata/testdata/CP771..UTF8: New file.
79534         * iconvdata/testdata/CP772: New file.
79535         * iconvdata/testdata/CP772..UTF8: New file.
79536         * iconvdata/testdata/CP773: New file.
79537         * iconvdata/testdata/CP773..UTF8: New file.
79538         * iconvdata/testdata/CP774: New file.
79539         * iconvdata/testdata/CP774..UTF8: New file.
79541         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79542         END CHARMAP line.
79543         * iconvdata/gen-8bit-gap.sh: Likewise.
79544         * iconvdata/gen-8bit.sh: Likewise.
79546         * locale/iso-639.def: Add ary entry.
79548         [BZ #11258]
79549         * locale/C-translit.h.in: Add U20A1 transliteration.
79551         [BZ #12178]
79552         * locale/iso-639.def: Add wae entry.
79553         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79555         [BZ #12545]
79556         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79557         for n.
79559         [BZ #12711]
79560         * locale/C-translit.h.in: Add entry for U20B9.
79561         Patch by pravin.d.s@gmail.com.
79563 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79565         [BZ #12713]
79566         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79567         ENAMETOOLONG use generic getcwd.
79568         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79569         in rtld.  Use *stat64.
79570         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79571         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79572         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79573         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79574         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79575         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79576         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79577         __fstatat64 macros.
79578         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79579         * dirent/rewinddir.c: Add libc_hidden_def.
79580         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79581         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79583         * include/dirent.h (__alloc_dir): Add flags parameter.
79584         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79585         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79586         __alloc_dir.
79587         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79588         from fdopendir if O_CLOEXEC is already set.
79590 2011-03-15  Alan Modra  <amodra@gmail.com>
79592         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79593         l_tls_firstbyte_offset non-zero.  Save padding offset in
79594         l_tls_firstbyte_offset for later use.
79595         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79596         freeing static tls block.
79598 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79600         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79601         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79602         being defined by the kernel headers.
79604 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79606         [BZ #12734]
79607         * resolv/resolv.h: Define RES_NOTLDQUERY.
79608         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79609         no-tld-query and set RES_NOTLDQUERY.
79610         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79611         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79612         modern BIND to search name as TLD unless forbidden.
79614 2011-05-07  Petr Baudis  <pasky@suse.cz>
79615             Ulrich Drepper  <drepper@gmail.com>
79617         [BZ #12393]
79618         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79619         (is_trusted_path): ...to here.
79620         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79621         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79622         using is_trusted_path_normalize() in setuid scripts.
79624 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79626         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79627         __BEGIN/__END_DECLS.
79629 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79632         NSS_STATUS_NOTFOUND if no record was found.
79634 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79636         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79637         (headers-not-in-tirpc): Remove rpc/netdb.h
79638         * resolv/netdb.h: Revert last change.
79640 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79642         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79643         circular dependency between libgcc.a and libc.a.
79645 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79647         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79648         * nis/Makefile: Don't install rpcsvc/*.
79649         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79650         instead of <rpc/types.h>.
79651         (MAXHOSTNAMELEN): Define.
79653 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79655         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79657 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79659         [BZ #12714]
79660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79661         gethostbyname4_r when IPv6 results are possible.
79663 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79665         [BZ #12723]
79666         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79667         _PC_PIPE_BUF handling.
79669 2011-04-30  Bruno Haible  <bruno@clisp.org>
79671         [BZ #12717]
79672         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79673         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79674         to 'int'.
79675         * inet/getnameinfo.c (getnameinfo): Likewise.
79677 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79679         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79680         to groups setting in database lookup.
79681         * nss/nsswitch.conf: Add initgroups entry.
79683 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79685         [BZ #12685]
79686         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79687         mode string.
79688         Patch by Eric Blake <eblake@redhat.com>.
79690 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79692         * sunrpc/Makefile (need-export-routines): Add svc_run.
79693         (routines): Remove svc_run.
79694         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79695         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79696         * sunrpc/svc_run.c (svc_run): Likewise.
79697         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79699 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79702         problem in reallocation in last patch.
79704 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79706         * sunrpc/Makefile: Move inclusion of Rules.
79708 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79710         * nss/nss_files/files-initgroups.c: New file.
79711         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79712         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79713         _nss_files_initgroups_dyn.
79715 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79717         * elf/elf.h (R_ARM_IRELATIVE): Define.
79719 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79721         * po/ru.po: Update from translation team.
79723 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79725         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79726         dependencies.
79728 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79730         [BZ #12653]
79731         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79732         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79733         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79735         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79737 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79740         differing bytes.
79741         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79745 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79747         [BZ #12420]
79748         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79749         storing it.
79750         * stdlib/bug-getcontext.c: New file.
79751         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79753 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79755         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79756         instructions into .machine "z9-109".
79757         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79758         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79760 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79762         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79763         between environment variables and auxiliary vector.
79765 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79767         * Makefile: Add rules to build linkobj/libc.so.
79768         * include/libc-symbols.h: Define libc_hidden_nolink.
79769         * include/rpc/auth.h: Mark functions which are to be hidden.
79770         * include/rpc/auth_des.h: Likewise.
79771         * include/rpc/auth_unix.h: Likewise.
79772         * include/rpc/clnt.h: Likewise.
79773         * include/rpc/des_crypt.h: Likewise.
79774         * include/rpc/key_prot.h: Likewise.
79775         * include/rpc/pmap_clnt.h: Likewise.
79776         * include/rpc/pmap_prot.h: Likewise.
79777         * include/rpc/pmap_rmt.h: Likewise.
79778         * include/rpc/rpc_msg.h: Likewise.
79779         * include/rpc/svc.h: Likewise.
79780         * include/rpc/svc_auth.h: Likewise.
79781         * include/rpc/xdr.h: Likewise.
79782         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79783         * nss/Makefile: Likewise.
79784         * sunrpc/Makefile: Don't install headers.  Build library with normal
79785         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79786         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79787         for the compat linking library.  Remove use of INTDEF/INTUSE.
79788         * sunrpc/auth_none.c: Likewise.
79789         * sunrpc/auth_unix.c: Likewise.
79790         * sunrpc/authdes_prot.c: Likewise.
79791         * sunrpc/authuxprot.c: Likewise.
79792         * sunrpc/clnt_gen.c: Likewise.
79793         * sunrpc/clnt_perr.c: Likewise.
79794         * sunrpc/clnt_raw.c: Likewise.
79795         * sunrpc/clnt_simp.c: Likewise.
79796         * sunrpc/clnt_tcp.c: Likewise.
79797         * sunrpc/clnt_udp.c: Likewise.
79798         * sunrpc/clnt_unix.c: Likewise.
79799         * sunrpc/des_crypt.c: Likewise.
79800         * sunrpc/des_soft.c: Likewise.
79801         * sunrpc/get_myaddr.c: Likewise.
79802         * sunrpc/key_call.c: Likewise.
79803         * sunrpc/key_prot.c: Likewise.
79804         * sunrpc/netname.c: Likewise.
79805         * sunrpc/pm_getmaps.c: Likewise.
79806         * sunrpc/pm_getport.c: Likewise.
79807         * sunrpc/pmap_clnt.c: Likewise.
79808         * sunrpc/pmap_prot.c: Likewise.
79809         * sunrpc/pmap_prot2.c: Likewise.
79810         * sunrpc/pmap_rmt.c: Likewise.
79811         * sunrpc/publickey.c: Likewise.
79812         * sunrpc/rpc_cmsg.c: Likewise.
79813         * sunrpc/rpc_common.c: Likewise.
79814         * sunrpc/rpc_dtable.c: Likewise.
79815         * sunrpc/rpc_prot.c: Likewise.
79816         * sunrpc/rpc_thread.c: Likewise.
79817         * sunrpc/rtime.c: Likewise.
79818         * sunrpc/svc.c: Likewise.
79819         * sunrpc/svc_auth.c: Likewise.
79820         * sunrpc/svc_authux.c: Likewise.
79821         * sunrpc/svc_raw.c: Likewise.
79822         * sunrpc/svc_run.c: Likewise.
79823         * sunrpc/svc_simple.c: Likewise.
79824         * sunrpc/svc_tcp.c: Likewise.
79825         * sunrpc/svc_udp.c: Likewise.
79826         * sunrpc/svc_unix.c: Likewise.
79827         * sunrpc/svcauth_des.c: Likewise.
79828         * sunrpc/xcrypt.c: Likewise.
79829         * sunrpc/xdr.c: Likewise.
79830         * sunrpc/xdr_array.c: Likewise.
79831         * sunrpc/xdr_float.c: Likewise.
79832         * sunrpc/xdr_intXX_t.c: Likewise.
79833         * sunrpc/xdr_mem.c: Likewise.
79834         * sunrpc/xdr_rec.c: Likewise.
79835         * sunrpc/xdr_ref.c: Likewise.
79836         * sunrpc/xdr_sizeof.c: Likewise.
79837         * sunrpc/xdr_stdio.c: Likewise.
79839 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79841         [BZ #12650]
79842         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79843         * sysdeps/ia64/dl-tls.h: Likewise.
79844         * sysdeps/powerpc/dl-tls.h: Likewise.
79845         * sysdeps/s390/dl-tls.h: Likewise.
79846         * sysdeps/sh/dl-tls.h: Likewise.
79847         * sysdeps/sparc/dl-tls.h: Likewise.
79848         * sysdeps/x86_64/dl-tls.h: Likewise.
79849         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79851 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79853         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79854         rpath element also skip the following colon.
79855         (expand_dynamic_string_token): Add is_path parameter and pass
79856         down to DL_DST_REQUIRED and _dl_dst_substitute.
79857         (decompose_rpath): Call expand_dynamic_string_token with
79858         non-zero is_path.  Ignore empty rpaths.
79859         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79860         with zero is_path.
79862 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79865         Make cancelable.
79867 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79869         [BZ #12655]
79870         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79871         Patch by Filipe David Manana <fdmanana@apache.org>.
79873 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79875         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79876         Maintain aligned stack.
79877         (CHECK_RSP): Remove unused macro.
79879 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79881         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79882         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79884 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79886         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79888         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79890 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79892         [BZ #12518]
79893         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79894         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79895         * sysdeps/x86_64/memmove.c: New file.
79896         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79897         (memcpy): Renamed to ...
79898         (__new_memcpy): This.
79899         (memcpy): Provide GLIBC_2_14 memcpy.
79900         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79901         (memcpy): Provide GLIBC_2_2_5 memcpy.
79903 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79905         [BZ #12631]
79906         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79908 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79910         * misc/syncfs.c: New file.
79911         * misc/Makefile (routines): Add syncfs.
79912         * posix/unistd.h: Declare syncfs.
79913         * sysdeps/unix/syscalls.list: Add syncfs.
79915 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79917         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79918         open_by_handle_at.
79919         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79920         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79921         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79922         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79923         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79924         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79925         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79927 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79929         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79930         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79931         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79937         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79938         sync_file_range.c with -fexceptions.
79939         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79940         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79941         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79942         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79943         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79944         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79946         sync_file_range as cancellation point
79947         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79948         now a wrapper around __call_sync_file_range with cancellation handling.
79949         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79950         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79951         function name to __call_sync_file_range.
79952         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79953         Add call_sync_file_range.
79955 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79958         bits/timex.h.
79960 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79962         * iconv/iconv.h: Fix typo in comment.
79963         * io/fcntl.h: Likewise.
79964         * libio/stdio.h: Likewise.
79965         * posix/spawn.h: Likewise.
79966         * posix/unistd.h: Likewise.
79967         * stdlib/stdlib.h: Likewise.
79968         * time/time.h: Likewise.
79969         * wcsmbs/wchar.h: Likewise.
79971         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79972         open_by_handle): Add.
79973         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79974         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79975         Augment a few comments.
79976         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79978         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79979         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79981         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79982         open_by_handle.
79984         * io/fcntl.h (AT_EMPTY_PATH): Define.
79986 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79988         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79989         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79990         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79991         to...
79992         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79993         * Versions.def: Add GLIBC_2.14.
79994         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79995         Export.
79997 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79999         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80000         round counter.
80001         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80003 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80005         [BZ #12597]
80006         * string/test-strncmp.c (do_page_test): New function.
80007         (check2): Likewise.
80008         (test_main): Call check2.
80009         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80011 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80013         [BZ #12587]
80014         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80015         Handle cache information in CPU leaf 4.
80016         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80018 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80020         [BZ #12583]
80021         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80022         character representation.
80023         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80025 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80028         END(__isnan) to END(__isnanf) to match function entry point/label
80029         EALIGN(__isnanf,...).
80031 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80033         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80035 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80037         [BZ #12510]
80038         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80039         copy from the symbol referenced in the relocation to initialize the
80040         used variable.
80041         Patch by Piotr Bury <pbury@goahead.com>.
80042         * elf/Makefile: Add rules to build and tst-unique3.
80043         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80044         * elf/tst-unique3.cc: New file.
80045         * elf/tst-unique3.h: New file.
80046         * elf/tst-unique3lib.cc: New file.
80047         * elf/tst-unique3lib2.cc: New file.
80049         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80051 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80053         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80054         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80055         to _start.
80057 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80059         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80060         to-be-loaded object along a path to loader is ld.so.
80062 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80063             Ulrich Drepper  <drepper@gmail.com>
80065         * sysdeps/x86_64/memset.S: After aligning destination, code
80066         branches to different locations depending on the value of
80067         misalignment, when multiarch is enabled. Fix this.
80069 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80071         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80072         Set _x86_64_preferred_memory_instruction for AMD processsors.
80073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80074         Set bit_Prefer_SSE_for_memop for AMD processors.
80076 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80078         * libio/fmemopen.c (fmemopen): Optimize a bit.
80080 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80082         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80084 2011-03-03  Roland McGrath  <roland@redhat.com>
80086         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80088 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80090         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80091         __bzero_ultra1 instead of __memset_ultra1.
80093 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80094             Ulrich Drepper  <drepper@gmail.com>
80096         [BZ #12509]
80097         * include/link.h (struct link_map): Add l_orig_initfini.
80098         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80099         returning unsuccessfully.
80100         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80101         close of a file loaded at startup, restore the original l_initfini
80102         list.
80103         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80104         list, store the pointer.
80105         * elf/Makefile ($(objpfx)noload-mem): New rule.
80106         (noload-ENV): Define.
80107         (tests): Add $(objpfx)noload-mem.
80108         * elf/noload.c: Include <memcheck.h>.
80109         (main): Call mtrace.  Close all opened handles.
80111 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80113         [BZ #12454]
80114         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80115         dependencies are missing.
80117 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80119         Fix __if_freereq crash: Unlike the generic version which uses free,
80120         Hurd needs munmap.
80121         * sysdeps/mach/hurd/ifreq.h: New file.
80123 2011-01-27  Petr Baudis  <pasky@suse.cz>
80124             Ulrich Drepper  <drepper@gmail.com>
80126         [BZ 12445]#
80127         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80128         to extend_alloca().
80129         * stdio-common/bug23.c: New file.
80130         * stdio-common/Makefile (tests): Add bug23.
80132 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80133             Ulrich Drepper  <drepper@gmail.com>
80135         [BZ #12489]
80136         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80137         before performing relro protection.  At old place add assertion
80138         to make sure nothing changed.
80140 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80141             Glauber de Oliveira Costa  <glommer@gmail.com>
80143         * elf/elf.h: Add new ARM TLS relocs.
80145 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80148         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80149         cast from r3.
80150         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80151         'tests' variable.
80152         * sysdeps/wordsize-64/tst-writev.c: New file.
80154 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80156         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80157         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80158         insns in _dl_start to prevent a TOC reference before relocs are
80159         resolved.
80161 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80163         [BZ #12469]
80164         * Makeconfig: Remove RANLIB definition.
80165         * Makerules: Don't use RANLIB.
80166         * aclocal.m4: Remove ranlib test.
80167         * configure.in: No need to check for ranlib.
80168         * elf/rtld-Rules: Don't use RANLIB.
80170 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80172         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80173         protection macro.
80174         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80175         inclusion protection macro.
80177         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80178         SIGRTMIN and SIGRTMAX and print information in that case only when
80179         SIGRTMIN is defined.
80181 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80183         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80184         arginfo fn returning -1.
80186         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80187         and thousands string is zero terminated.
80189 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80192         sysdeps/unix/sysv/linux/bits/socket.h.
80194 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80196         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80197         (__CPU_COUNT): Remove old macros.
80198         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80199         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80200         (__CPU_ALLOC, __CPU_FREE): Add macros.
80201         (__sched_cpualloc, __sched_cpufree): Add declarations.
80203 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80205         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80206         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80207         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80208         (readdhstai): Return value of addhstaiX call.
80209         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80210         (addgrbyX): Return value returned by cache_addgr.
80211         (readdgrbyname): Return value returned by addgrbyX.
80212         (readdgrbygid): Likewise.
80213         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80214         (addpwbyX): Return value returned by cache_addpw.
80215         (readdpwbyname): Return value returned by addhstbyX.
80216         (readdpwbyuid): Likewise.
80217         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80218         (addservbyX): Return value returned by cache_addserv.
80219         (readdservbyname): Return value returned by addservbyX:
80220         (readdservbyport): Likewise.
80221         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80222         (addhstbyX): Return value returned by cache_addhst.
80223         (readdhstbyname): Return value returned by addhstbyX.
80224         (readdhstbyaddr): Likewise.
80225         (readdhstbynamev6): Likewise.
80226         (readdhstbyaddrv6): Likewise.
80227         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80228         (readdinitgroups): Return value returned by addinitgroupsX.
80229         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80230         (prune_cache): Keep track of timeout value of re-added entries.
80231         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80232         * nscd/nscd.h: Adjust prototypes of readd* functions.
80234 2011-02-04  Roland McGrath  <roland@redhat.com>
80236         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80237         (nis_stats): Likewise.
80238         * nis/nis_modify.c (nis_modify): Likewise.
80239         * nis/nis_remove.c (nis_remove): Likewise.
80240         * nis/nis_add.c (nis_add): Likewise.
80242         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80244         * posix/fnmatch_loop.c: Add some consts.
80246         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80248 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80250         [BZ #12460]
80251         * config.make.in (config-cflags-novzeroupper): Define.
80252         * configure.in: Substitute libc_cv_cc_novzeroupper.
80253         * elf/Makefile (AVX-CFLAGS): Define.
80254         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80255         (CFLAGS-tst-auditmod4a.c): Likewise.
80256         (CFLAGS-tst-auditmod4b.c): Likewise.
80257         (CFLAGS-tst-auditmod6b.c): Likewise.
80258         (CFLAGS-tst-auditmod6c.c): Likewise.
80259         (CFLAGS-tst-auditmod7b.c): Likewise.
80260         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80262 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80264         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80265         function to the callback.
80266         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80268 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80270         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80271         of errno.
80273 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80275         [BZ #11724]
80276         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80277         of constructors.
80278         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80279         of destructors.
80280         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80282         [BZ #11724]
80283         * elf/Makefile: Add rules to build and run new test.
80284         * elf/tst-initorder.c: New file.
80285         * elf/tst-initorder.exp: New file.
80286         * elf/tst-initordera1.c: New file.
80287         * elf/tst-initordera2.c: New file.
80288         * elf/tst-initordera3.c: New file.
80289         * elf/tst-initordera4.c: New file.
80290         * elf/tst-initorderb1.c: New file.
80291         * elf/tst-initorderb2.c: New file.
80292         * elf/tst-order-a1.c: New file.
80293         * elf/tst-order-a2.c: New file.
80294         * elf/tst-order-a3.c: New file.
80295         * elf/tst-order-a4.c: New file.
80296         * elf/tst-order-b1.c: New file.
80297         * elf/tst-order-b2.c: New file.
80298         * elf/tst-order-main.c: New file.
80299         New test case by George Gensure <werkt0@gmail.com>.
80301 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80304         decoding ACE if AI_CANONIDN.
80306 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80308         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80310 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80312         * version.h (RELEASE): Bump for 2.13 release.
80313         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80315         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80317         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80318         MADV_NOHUGEPAGE.
80319         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80320         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80321         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80322         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80323         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80324         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80326         * posix/getconf.c: Update copyright year.
80327         * catgets/gencat.c: Likewise.
80328         * csu/version.c: Likewise.
80329         * debug/catchsegv.sh: Likewise.
80330         * debug/xtrace.sh: Likewise.
80331         * elf/ldconfig.c: Likewise.
80332         * elf/ldd.bash.in: Likewise.
80333         * elf/sprof.c (print_version): Likewise.
80334         * iconv/iconv_prog.c: Likewise.
80335         * iconv/iconvconfig.c: Likewise.
80336         * locale/programs/locale.c: Likewise.
80337         * locale/programs/localedef.c: Likewise.
80338         * malloc/memusage.sh: Likewise.
80339         * malloc/mtrace.pl: Likewise.
80340         * nscd/nscd.c (print_version): Likewise.
80341         * nss/getent.c: Likewise.
80343         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80344         PF_CAIF, and PF_ALG.
80345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80347 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80349         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80350         (modules-names): Use them.
80351         (ifunc-test-modules, ifunc-pie-tests): Define.
80352         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80353         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80354         (test-extras): Likewise.
80355         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80356         $(compile-command.c).
80357         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80358         (all-built-dso): Define.
80359         (check-textrel.out, check-execstack.out): Depend on it.
80361         * configure.in: Don't override --enable-multi-arch.
80363 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80365         [BZ #6812]
80366         * nscd/hstcache.c (tryagain): Define.
80367         (cache_addhst): Return tryagain not notfound for temporary errors.
80368         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80369         failed.
80371 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80373         [BZ #10563]
80374         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80375         to make the syscall.
80376         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80378         [BZ #12378]
80379         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80380         and fall back to matching as normal character if the string ends before
80381         the matching ']' is found.  This is what POSIX requires.
80382         * posix/testfnm.c: Adjust test result.
80383         * posix/globtest.sh: Adjust test result.  Add new test.
80384         * posix/tst-fnmatch.input: Likewise.
80385         * posix/tst-fnmatch2.c: Add new test.
80387 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80389         * elf/Makefile (check-execstack): Revert last change.  Depend on
80390         check-execstack.h.
80391         (check-execstack.h): New target.
80392         (generated): Add check-execstack.h.
80393         * elf/check-execstack.c: Include "check-execstack.h".
80394         (main): Revert last change.
80395         (handle_file): Return zero if GNU_STACK is absent and
80396         DEFAULT_STACK_PERMS doesn't include PF_X.
80398 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80400         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80401         in child fails because the descriptor is already closed.
80402         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80403         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80404         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80406         [BZ #12397]
80407         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80408         syscall.
80410         [BZ #10484]
80411         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80412         temporary buffer used to handle multi lookups locally.
80413         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80415 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80417         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80418         loader is ld.so.
80420 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80422         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80423         alignment for SSE2.
80425 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80427         [BZ #12394]
80428         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80429         characters.  When rounding increased number of integer digits recompute
80430         number of groups.
80431         * stdio-common/tst-grouping.c: New file.
80432         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80434 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80436         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80437         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80439         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80440         void.
80441         * bits/select.h: Likewise.
80443 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80445         * po/ja.po: Update from translation team.
80447 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80449         [BZ #11155]
80450         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80451         implementation just like for lxstat, fxstatat, et al.
80453 2010-12-27  Jim Meyering  <meyering@redhat.com>
80455         [BZ #12348]
80456         * posix/regexec.c (build_trtable): Return failure indication upon
80457         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80459 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80461         [BZ #12201]
80462         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80463         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80464         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80465         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80467         [BZ #12207]
80468         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80470         [BZ #12204]
80471         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80472         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80474 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80476         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80477         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80478         script has SORT_BY_INIT_PRIORITY.
80479         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80480         NO_CTORS_DTORS_SECTIONS is defined.
80481         * elf/soinit.c: Likewise.
80482         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80483         NO_CTORS_DTORS_SECTIONS is defined.
80484         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80485         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80486         * sysdeps/sh/init-first.c: Likewise.
80487         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80489 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80491         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80492         always use the slow path.
80494 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80496         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80497         similar rule which adds the sysdep directories to the header search in
80498         order to pick up the correct platform stackinfo.h.
80499         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80500         perform test if it is, otherwise return successfully without testing.
80501         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80502         DEFAULT_STACK_PERMS define in stackinfo.h.
80503         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80504         defined in stackinfo.h.
80505         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80506         DEFAULT_STACK_PERMS defined in stackinfo.h.
80507         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80508         * sysdeps/ia64/stackinfo.h: Likewise.
80509         * sysdeps/s390/stackinfo.h: Likewise.
80510         * sysdeps/sh/stackinfo.h: Likewise.
80511         * sysdeps/sparc/stackinfo.h: Likewise.
80512         * sysdeps/x86_64/stackinfo.h: Likewise.
80513         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80514         PF_X for powerpc64.  Retain PF_X for powerpc32.
80516 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80518         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80519         accurately.
80520         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80521         GETDENTS_64BIT_ALIGNED.
80523 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80525         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80527 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80529         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80530         _GNU_SOURCE.
80532         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80533         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80534         Remove __restrict.
80535         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80536         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80538 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80540         [BZ #11655]
80541         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80542         are initialized.
80544 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80546         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80548 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80550         * po/it.po: Update from translation team.
80552 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80555         unused codes.
80557 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80559         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80561 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80563         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80564         specially.
80565         (gaih_getanswer_slice): Likewise.
80567 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80571 2010-05-31  Petr Baudis  <pasky@suse.cz>
80573         [BZ #11149]
80574         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80575         silently even in the chroot mode.
80577 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80579         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80580         last patch a bit.  Pretty printing
80582 2010-05-31  Petr Baudis <pasky@suse.cz>
80584         [BZ #10085]
80585         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80586         initialization of skip_initgroups_dyn.
80588 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80590         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80591         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80593 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80595         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80597 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80599         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80600         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80601         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80602         ($(objpfx)tst-fnmatch-mem): New rule.
80603         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80604         * posix/tst-fnmatch.c (main): Call mtrace.
80606 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80609         Support Intel processor model 6 and model 0x2c.
80611 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80613         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80614           signed comparison.
80616 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80618         [BZ #12205]
80619         * string/test-strncasecmp.c (check_result): New function.
80620         (do_one_test): Use it.
80621         (check1): New function.
80622         (test_main): Use it.
80623         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80624         Support strcasecmp and strncasecmp.
80626 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80628         [BZ #12194]
80629         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80630         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80632 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80634         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80635         IFUNC support.
80636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80637         memset-x86-64.
80638         * sysdeps/x86_64/multiarch/bzero.S: New file.
80639         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80640         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80641         * sysdeps/x86_64/multiarch/memset.S: New file.
80642         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80644         Set bit_Prefer_SSE_for_memop for Intel processors.
80645         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80646         Define.
80647         (index_Prefer_SSE_for_memop): Define.
80648         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80650 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80652         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80653         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80655 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80657         [BZ #12191]
80658         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80659         (__x86_64_raw_data_cache_size_half): Likewise.
80660         (__x86_64_raw_shared_cache_size): Likewise.
80661         (__x86_64_raw_shared_cache_size_half): Likewise.
80663         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80664         (__x86_64_raw_data_cache_size_half): Likewise.
80665         (__x86_64_raw_shared_cache_size): Likewise.
80666         (__x86_64_raw_shared_cache_size_half): Likewise.
80667         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80668         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80669         and __x86_64_raw_shared_cache_size_half.  Round
80670         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80671         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80672         to multiple of 256 bytes.
80674 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80676         [BZ #12167]
80677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80678         of inacessible symlinks.  Verify result of symlink before returning it.
80679         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80680         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80682 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80684         * math/math.h (isinf): Fix typo in comment.
80686 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80688         * po/da.po: Update from translation team.
80690 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80692         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80693         is added to the list.
80695 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80696             Ulrich Drepper  <drepper@gmail.com>
80698         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80699         the global list here.  Move code to...
80700         (_dl_add_to_namespace_list): ...here.  New function.
80701         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80702         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80703         * elf/dl-load.c (lose): Don't remove the element from the list.
80704         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80705         (_dl_map_object): Likewise.
80707 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80709         [BZ #12159]
80710         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80711         into all bytes of SSE register.
80712         Patch by Richard Li <richardpku@gmail.com>.
80714 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80716         [BZ #12140]
80717         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80718         perturbing.
80720 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80722         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80723         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80724         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80725         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80727         submachine.
80728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80730 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80732         * include/dlfcn.h (__RTLD_SECURE): Define.
80733         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80734         mode & __RTLD_SECURE instead.
80735         (open_path): Rename preloaded parameter to secure.
80736         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80737         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80738         * elf/dl-deps.c (openaux): Likewise.
80739         * elf/rtld.c (struct map_args): Remove is_preloaded.
80740         (map_doit): Don't use it.
80741         (dl_main): Likewise.
80742         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80743         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80745 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80747         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80748         (sysd-rules-targets): Remove duplicates.
80749         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80750         rtld-%.$o dependency.
80752 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80754         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80755         _dl_map_object do it.
80757 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80759         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80760         fast fma builtins, define the macros in the C99 standard.
80761         (FP_FAST_FMAF): Likewise.
80762         (FP_FAST_FMAL): Likewise.
80763         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80765         * bits/mathdef.h: Update copyright year.
80766         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80768 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80770         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80771         builtins, define the macros in the C99 standard.
80772         (FP_FAST_FMAF): Likewise.
80773         (FP_FAST_FMAL): Likewise.
80774         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80775         multiply/add.
80776         (FP_FAST_FMAF): Likewise.
80778 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80780         [BZ #3268]
80781         * math/libm-test.inc (fma_test): Some new testcases.
80782         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80784         y and infinite z.  Do multiplication by C already in long double.
80785         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80787         y and infinite z.  Do bitwise or of inexact bit into u.d.
80788         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80789         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80790         * sysdeps/i386/fpu/s_fma.S: Removed.
80791         * sysdeps/i386/fpu/s_fmal.S: Removed.
80793 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80795         [BZ #3268]
80796         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80798         computation is not scheduled after fetestexcept.  Fix value
80799         of minimum denormal long double.
80801 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80803         [BZ #3268]
80804         * math/libm-test.inc (fma_test): Add some more tests.
80805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80806         correctly.
80808 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80810         * scripts/data/localplt-s390-linux-gnu.data: New file.
80811         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80813 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80815         [BZ #3268]
80816         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80817         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80818         instead of dbl-64.
80819         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80820         inlines.
80821         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80823         if one of x and y is very large and the other is subnormal.
80824         * sysdeps/s390/fpu/s_fmaf.c: New file.
80825         * sysdeps/s390/fpu/s_fma.c: New file.
80826         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80827         * sysdeps/powerpc/fpu/s_fma.S: New file.
80828         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80829         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80830         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80832 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80834         [BZ #3268]
80835         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80836         fma tests.
80837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80838         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80839         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80840         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80841         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80842         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80843         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80845 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80847         [BZ #12078]
80848         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80849         * posix/bug-regex31.input: Add test case.
80851 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80853         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80854         * posix/bug-regex31.input: New file.
80856         [BZ #12078]
80857         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80858         (parse_sub_exp): Fix last change, use postorder.
80860         * posix/bug-regex31.c: New file.
80861         * posix/Makefile: Add rules to build and run bug-regex31.
80863         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80865         [BZ #12078]
80866         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80868         [BZ #12108]
80869         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80870         to have entries in sys_siglist.
80872         [BZ #12093]
80873         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80874         be NULL.
80876 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80878         [BZ #3268]
80879         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80880         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80881         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80882         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80883         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80884         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80885         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80886         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80887         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80888         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80889         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80890         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80891         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80892         * math/ftestexcept.c (fetestexcept): Likewise.
80893         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80894         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80895         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80896         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80897         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80898         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80899         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80901 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80903         [BZ #12107]
80904         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80905         newline.
80907 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80909         * string/bug-strstr1.c: New file.
80910         * string/Makefile: Add rules to build and run bug-strstr1.
80912 2010-10-05  Eric Blake  <eblake@redhat.com>
80914         [BZ #12092]
80915         * string/str-two-way.h (two_way_long_needle): Always clear memory
80916         when skipping input due to the shift table.
80918 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80920         [BZ #12005]
80921         * malloc/mcheck.c: Handle large requests.
80923         [BZ #12077]
80924         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80925         for strncmp and strncasecmp.
80926         * string/stratcliff.c: Add tests for strcmp and strncmp.
80927         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80929 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80931         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80932         __set_fpscr.
80934 2010-09-30  Andreas Jaeger  <aj@suse.de>
80936         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80937         (CGROUP_SUPER_MAGIC): Define.
80938         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80939         Handle btrfs and cgroup file systems.
80940         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80941         Likewise.
80943 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80945         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80946         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80948 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80950         [BZ #12067]
80951         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80952         trying to locate the ELF header.
80954 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80956         [BZ #11611]
80957         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80958         Mask out sign-bit copies when constructing f_fsid.
80960 2010-09-24  Petr Baudis <pasky@suse.cz>
80962         * debug/stack_chk_fail_local.c: Add missing licence exception.
80963         * debug/warning-nop.c: Likewise.
80965 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80967         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80968         implementing getdents64 using getdents syscall, set d_type if
80969         __ASSUME_GETDENTS32_D_TYPE.
80971 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80973         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80974         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80976 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80978         [BZ #12037]
80979         * posix/unistd.h: Undo change of feature selection for ftruncate from
80980         2010-01-11.
80982 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80984         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80985         detection.
80987 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80989         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80990         fanotify_mark.
80991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80993 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80995         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80996         variables after CHECK_SP call.
80997         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80999 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81000             Ulrich Drepper  <drepper@redhat.com>
81002         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81003         re-relocationg ld.so.
81004         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81005         _dl_init_paths call.
81006         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81007         here anymore.
81009 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81011         * resolv/res_init.c (__res_vinit): Count the default server we added.
81013 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81014             Ulrich Drepper  <drepper@redhat.com>
81016         [BZ #11968]
81017         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81018         (____longjmp_chk): Use %ebx for saving value across system call.
81019         Add unwind info.
81021 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81023         * manual/Makefile: Don't mix pattern rules with normal rules.
81025 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81027         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81028         operation.
81029         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81030         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81031         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81032         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81034         Likewise.
81036 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81038         [BZ #11979]
81039         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81040         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81042 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81044         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81045         * sysdeps/x86_64/addmul_1.S: Likewise.
81046         * sysdeps/x86_64/lshift.S: Likewise.
81047         * sysdeps/x86_64/mul_1.S: Likewise.
81048         * sysdeps/x86_64/rshift.S: Likewise.
81049         * sysdeps/x86_64/sub_n.S: Likewise.
81050         * sysdeps/x86_64/submul_1.S: Likewise.
81052 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81054         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81055         Define __sched_param instead of SCHED_* and sched_param when
81056         <bits/sched.h> is included with __need_schedparam defined.
81057         * bits/sched.h [__need_schedparam]
81058         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81059         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81060         (__defined_schedparam): Define to 1.
81061         (__sched_param): New structure, identical to sched_param.
81062         (__need_schedparam): Undefine.
81064 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81066         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81067         (epoll_create1): Declare.
81069         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81071 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81073         [BZ #7066]
81074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81075         shifting retval into place.
81077 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81079         * nis/rpcsvc/nis.h: Update copyright notice.
81080         * nis/rpcsvc/nis.x: Likewise.
81081         * nis/rpcsvc/nis_callback.h: Likewise.
81082         * nis/rpcsvc/nis_callback.x: Likewise.
81083         * nis/rpcsvc/nis_object.x: Likewise.
81084         * nis/rpcsvc/nis_tags.h: Likewise.
81085         * nis/rpcsvc/yp.h: Likewise.
81086         * nis/rpcsvc/yp.x: Likewise.
81087         * nis/rpcsvc/ypupd.h: Likewise.
81088         * nis/yp_xdr.c: Likewise.
81089         * nis/ypupdate_xdr.c: Likewise.
81091         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81092         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81093         (pmap_getport): Use __libc_rpc_getport.
81094         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81095         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81096         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81098 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81101         fanotify_mark.
81103 2010-08-27  Roland McGrath  <roland@redhat.com>
81105         * sysdeps/i386/i686/multiarch/Makefile
81106         (CFLAGS-varshift.c): New variable.
81108 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81110         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81111         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81113         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81115         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81117 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81119         * sysdeps/x86_64/strlen.S: Unroll the loop.
81120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81121         strlen-sse2 strlen-sse2-bsf.
81122         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81123         __strlen_no_bsf if bit_Slow_BSF is set.
81124         (__strlen_sse42): Removed.
81125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81126         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81128 2010-08-25  Roland McGrath  <roland@redhat.com>
81130         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81131         * sysdeps/x86_64/multiarch/varshift.c: New file.
81132         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81133         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81134         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81135         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81137 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81140         strlen-sse2 strlen-sse2-bsf.
81141         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81142         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81143         (__strlen_sse2): Removed.
81144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81147         bit_Slow_BSF for Atom.
81148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81149         (index_Slow_BSF): Define.
81150         (HAS_SLOW_BSF): Define.
81152 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81154         [BZ #10851]
81155         * resolv/res_init.c (__res_vinit): When no server address at all
81156         is given default to loopback.
81158 2010-08-24  Roland McGrath  <roland@redhat.com>
81160         * configure.in: Remove config-name.h generation.
81161         * configure: Regenerated.
81162         * config-name.in: File removed.
81163         * scripts/config-uname.sh: New file.
81164         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81165         ($(objdir)config-name.h): New target.
81167         * sunrpc/rpc_parse.h: Avoid nested comment.
81169 2010-08-24  Richard Henderson  <rth@redhat.com>
81170             Ulrich Drepper  <drepper@redhat.com>
81171             H.J. Lu  <hongjiu.lu@intel.com>
81173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81175         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81176         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81177         _mm_alignr_epi8 with _mm_loadu_si128.
81178         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81179         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81180         (__m128i_shift_right): Removed.
81181         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81182         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81183         * sysdeps/x86_64/multiarch/varshift.h: New file.
81184         * sysdeps/x86_64/multiarch/varshift.S: New file.
81186 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81188         * configure.in: Move assembler checks to before sysdep dir checking.
81190 2010-08-20  Petr Baudis  <pasky@suse.cz>
81192         * LICENSES: Sync the sunrpc license.
81194 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81196         * sunrpc/auth_des.c: Update copyright notice once again.
81197         * sunrpc/auth_none.c: Likewise.
81198         * sunrpc/auth_unix.c: Likewise.
81199         * sunrpc/authdes_prot.c: Likewise.
81200         * sunrpc/authuxprot.c: Likewise.
81201         * sunrpc/bindrsvprt.c: Likewise.
81202         * sunrpc/clnt_gen.c: Likewise.
81203         * sunrpc/clnt_perr.c: Likewise.
81204         * sunrpc/clnt_raw.c: Likewise.
81205         * sunrpc/clnt_simp.c: Likewise.
81206         * sunrpc/clnt_tcp.c: Likewise.
81207         * sunrpc/clnt_udp.c: Likewise.
81208         * sunrpc/clnt_unix.c: Likewise.
81209         * sunrpc/des_crypt.c: Likewise.
81210         * sunrpc/des_soft.c: Likewise.
81211         * sunrpc/get_myaddr.c: Likewise.
81212         * sunrpc/getrpcport.c: Likewise.
81213         * sunrpc/key_call.c: Likewise.
81214         * sunrpc/key_prot.c: Likewise.
81215         * sunrpc/openchild.c: Likewise.
81216         * sunrpc/pm_getmaps.c: Likewise.
81217         * sunrpc/pm_getport.c: Likewise.
81218         * sunrpc/pmap_clnt.c: Likewise.
81219         * sunrpc/pmap_prot.c: Likewise.
81220         * sunrpc/pmap_prot2.c: Likewise.
81221         * sunrpc/pmap_rmt.c: Likewise.
81222         * sunrpc/rpc/auth.h: Likewise.
81223         * sunrpc/rpc/auth_unix.h: Likewise.
81224         * sunrpc/rpc/clnt.h: Likewise.
81225         * sunrpc/rpc/des_crypt.h: Likewise.
81226         * sunrpc/rpc/key_prot.h: Likewise.
81227         * sunrpc/rpc/netdb.h: Likewise.
81228         * sunrpc/rpc/pmap_clnt.h: Likewise.
81229         * sunrpc/rpc/pmap_prot.h: Likewise.
81230         * sunrpc/rpc/pmap_rmt.h: Likewise.
81231         * sunrpc/rpc/rpc.h: Likewise.
81232         * sunrpc/rpc/rpc_des.h: Likewise.
81233         * sunrpc/rpc/rpc_msg.h: Likewise.
81234         * sunrpc/rpc/svc.h: Likewise.
81235         * sunrpc/rpc/svc_auth.h: Likewise.
81236         * sunrpc/rpc/types.h: Likewise.
81237         * sunrpc/rpc/xdr.h: Likewise.
81238         * sunrpc/rpc_clntout.c: Likewise.
81239         * sunrpc/rpc_cmsg.c: Likewise.
81240         * sunrpc/rpc_common.c: Likewise.
81241         * sunrpc/rpc_cout.c: Likewise.
81242         * sunrpc/rpc_dtable.c: Likewise.
81243         * sunrpc/rpc_hout.c: Likewise.
81244         * sunrpc/rpc_main.c: Likewise.
81245         * sunrpc/rpc_parse.c: Likewise.
81246         * sunrpc/rpc_parse.h: Likewise.
81247         * sunrpc/rpc_prot.c: Likewise.
81248         * sunrpc/rpc_sample.c: Likewise.
81249         * sunrpc/rpc_scan.c: Likewise.
81250         * sunrpc/rpc_scan.h: Likewise.
81251         * sunrpc/rpc_svcout.c: Likewise.
81252         * sunrpc/rpc_tblout.c: Likewise.
81253         * sunrpc/rpc_util.c: Likewise.
81254         * sunrpc/rpc_util.h: Likewise.
81255         * sunrpc/rpcinfo.c: Likewise.
81256         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81257         * sunrpc/rpcsvc/key_prot.x: Likewise.
81258         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81259         * sunrpc/rpcsvc/mount.x: Likewise.
81260         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81261         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81262         * sunrpc/rpcsvc/rex.x: Likewise.
81263         * sunrpc/rpcsvc/rstat.x: Likewise.
81264         * sunrpc/rpcsvc/rusers.x: Likewise.
81265         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81266         * sunrpc/rpcsvc/spray.x: Likewise.
81267         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81268         * sunrpc/rtime.c: Likewise.
81269         * sunrpc/svc.c: Likewise.
81270         * sunrpc/svc_auth.c: Likewise.
81271         * sunrpc/svc_authux.c: Likewise.
81272         * sunrpc/svc_raw.c: Likewise.
81273         * sunrpc/svc_run.c: Likewise.
81274         * sunrpc/svc_simple.c: Likewise.
81275         * sunrpc/svc_tcp.c: Likewise.
81276         * sunrpc/svc_udp.c: Likewise.
81277         * sunrpc/svc_unix.c: Likewise.
81278         * sunrpc/svcauth_des.c: Likewise.
81279         * sunrpc/xcrypt.c: Likewise.
81280         * sunrpc/xdr.c: Likewise.
81281         * sunrpc/xdr_array.c: Likewise.
81282         * sunrpc/xdr_float.c: Likewise.
81283         * sunrpc/xdr_mem.c: Likewise.
81284         * sunrpc/xdr_rec.c: Likewise.
81285         * sunrpc/xdr_ref.c: Likewise.
81286         * sunrpc/xdr_sizeof.c: Likewise.
81287         * sunrpc/xdr_stdio.c: Likewise.
81289         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81290         handling.
81292 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81294         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81296 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81298         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81299         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81300         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81301         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81302         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81303         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81304         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81305         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81307         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81308         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81309         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81310         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81311         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81313 2010-07-26  Anton Blanchard  <anton@samba.org>
81315         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81316         * malloc/arena.c (heap_trim): Likewise.
81318 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81320         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81321         here.  Not...
81322         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81323         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81325 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81327         * sysdeps/i386/elf/Makefile: New file.
81329 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81331         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81332         from fanotify_init.
81333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81336 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81338         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81339         of strncasecmp_l.
81340         * sysdeps/multiarch/strcmp.S: Likewise.
81342 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81344         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81345         strncase_l-nonascii.
81346         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81347         Add strncase_l-ssse3.
81348         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81349         * sysdeps/x86_64/strcmp.S: Likewise.
81350         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81351         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81352         * sysdeps/x86_64/strncase.S: New file.
81353         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81354         * sysdeps/x86_64/strncase_l.S: New file.
81355         * string/Makefile (strop-tests): Add strncasecmp.
81356         * string/test-strncasecmp.c: New file.
81358         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81359         warning.
81361         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81362         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81364 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81366         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81368 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81370         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81371         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81372         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81374 2010-05-01  Alan Modra  <amodra@gmail.com>
81376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81377         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81378         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81379         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81380         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81381         tidying.  Don't tail-call __sigjmp_save for static lib.
81382         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81383         save location.
81384         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81385         (CALL_MCOUNT): Add eh info, and nop after bl.
81386         (TAIL_CALL_SYSCALL_ERROR): New macro.
81387         (PSEUDO_RET): Use it.
81388         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81389         Correct save location of integer regs and cr.
81390         (_dl_profile_resolve): Correct cr save location.  Delete nops
81391         after bl when SHARED.  Reduce cfi size a little by better
81392         placement of cfi directives.
81393         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81394         make a stack frame.  Instead use parm save area as a temp.
81395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81396         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81398         Don't make a stack frame for parent, use parm save area.
81399         Increase child stack frame to 112 bytes.  Don't save unused reg,
81400         and adjust reg usage.  Set up cfi on error recovery and
81401         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81403         (__makecontext): Add dummy nop after jump to exit.
81404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81405         Use correct parm save area and cr save, reduce stack frame.
81406         Correct cfi for possible PSEUDO_RET frame setup.
81407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81408         Branch to local label emitted by PSEUDO_RET rather than
81409         __syscall_error.
81411 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81413         [BZ #11904]
81414         * locale/programs/locale.c (print_assignment): New function.
81415         (show_locale_vars): Use it.
81417 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81419         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81420         field.
81421         (struct statfs64): Likewise.
81422         (_STATFS_F_FLAGS): Define.
81423         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81425         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81426         (ST_VALID): Define locally.
81427         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81428         __statvfs_getflags, use the provided value.
81429         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81430         __ASSUME_STATFS_F_FLAGS.
81432         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81434         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81435         Add sys/fanotify.h.
81436         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81437         fanotify_mask for GLIBC_2.13.
81438         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81439         fanotify_init and fanotify_mark.
81440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81441         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81443         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81444         Add prlimit.
81445         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81446         prlimit64 for GLIBC_2.13.
81447         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81448         prlimit64.
81449         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81450         syscall.
81451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81453         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81454         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81456         add prlimit alias.
81457         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81459         [BZ #11903]
81460         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81461         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81463         * nss/Makefile: Add rules to build and run tst-nss-test1.
81464         * shlib-versions: Add entry for libnss_test1.
81465         * nss/nss_test1.c: New file.
81466         * nss/tst-nss-test1.c: New file.
81468         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81469         (__nss_configure_lookup): Set appropriate entry in
81470         __nss_configure_lookup to true.
81471         * nss/nsswitch.h: Define enum with indeces of databases in
81472         databases and __nss_database_custom arrays.  Declare
81473         __nss_database_custom.
81474         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81475         to avoid using nscd when custom rules are installed.
81476         * nss/getXXbyYY_r.c: Likewise.
81477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81479         * nss/nss_files/files-parse.c: Whitespace fixes.
81481 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81483         [BZ #11883]
81484         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81485         * posix/fnmatch_loop.c: Likewise.
81487 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81489         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81490         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81491         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81492         * Versions.def [GLIBC_2.13]: Add.
81494 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81496         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81497         Also fail if tpwd after pwuid call is NULL.
81499 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81501         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81502         when converting to ms.
81504 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81506         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81507         EOPNOTSUPP errors with ENOTTY.
81508         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81509         EOPNOTSUPP errors with ENOTTY.
81511 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81513         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81514         Add strcasecmp_l-ssse3.
81515         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81516         strcasecmp.
81517         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81518         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81519         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81521 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81523         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81525         * string/Makefile (strop-tests): Add strcasecmp.
81526         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81527         strcasecmp_l-nonascii.
81528         (gen-as-const-headers): Add locale-defines.sym.
81529         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81530         * sysdeps/x86_64/strcasecmp.S: New file.
81531         * sysdeps/x86_64/strcasecmp_l.S: New file.
81532         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81533         * sysdeps/x86_64/locale-defines.sym: New file.
81534         * string/test-strcasecmp.c: New file.
81536         * string/test-strcasestr.c: Test both ends of the range of characters.
81537         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81539 2010-07-29  Roland McGrath  <roland@redhat.com>
81541         [BZ #11856]
81542         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81544 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81546         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81547         for ld.so.
81549 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81551         * manual/memory.texi (Malloc Tunable Parameters): Document
81552         M_PERTURB.
81554 2010-07-26  Roland McGrath  <roland@redhat.com>
81556         [BZ #11840]
81557         * configure.in (-fgnu89-inline check): Set and substitute
81558         gnu89_inline, not libc_cv_gnu89_inline.
81559         * configure: Regenerated.
81560         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81562 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81564         * string/test-strnlen.c: New file.
81565         * string/Makefile (strop-tests): Add strnlen.
81566         * string/tester.c (test_strnlen): Add a few more test cases.
81567         * string/tst-strlen.c: Better error reporting.
81569         * sysdeps/x86_64/strnlen.S: New file.
81571 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81573         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81574         lower-latency instructions.
81576 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81578         * string/test-strcasestr.c: New file.
81579         * string/test-strstr.c: New file.
81580         * string/Makefile (strop-tests): Add strstr and strcasestr.
81581         * string/str-two-way.h: Don't undefine MAX.
81582         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81584 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81587         strcasestr-nonascii.
81588         (CFLAGS-strcasestr-nonascii.c): Define.
81589         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81590         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81591         Remove unused attribute.
81593 2010-07-20  Roland McGrath  <roland@redhat.com>
81595         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81596         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81597         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81598         like LD_HWCAP_MASK can disable hwcaps.
81600 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81602         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81604 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81606         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81607         call in strcasestr.
81608         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81609         __strcasestr_sse42_nonascii.
81610         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81611         strcasestr-nonascii.c.
81612         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81614 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81616         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81617         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81621 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81623         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81624         fcntl.
81626 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81628         [BZ #11577]
81629         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81630         dl_signal_cerror.
81632 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81634         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81635         _PC_PIPE_BUF using F_GETPIPE_SZ.
81637 2010-07-05  Roland McGrath  <roland@redhat.com>
81639         * manual/arith.texi (Rounding Functions): Fix rint description
81640         implicit in round description.
81642 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81644         * elf/Makefile: Fix linking for a few tests to make recent linker
81645         happy.
81647 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81649         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81650         $(common-objpfx)libc_nonshared.a.
81652 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81654         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81655         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81656         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81657         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81658         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81659         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81660         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81661         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81676         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81677         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81678         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81679         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81680         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81681         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81682         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81683         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81684         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81685         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81686         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81687         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81703 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81705         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81706         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81707         * string/memmove.c (memmove): Renamed to ...
81708         (MEMMOVE): ...this.  Default to memmove.
81709         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81710         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81711         (END_CHK): Define.
81712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81713         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81714         mempcpy-ssse3-back memmove-ssse3-back.
81715         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81716         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81717         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81718         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81719         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81720         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81721         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81722         * sysdeps/x86_64/multiarch/memmove.c: New file.
81723         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81724         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81725         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81726         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81727         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81728         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81729         Define.
81730         (index_Fast_Copy_Backward): Define.
81731         (HAS_ARCH_FEATURE): Define.
81732         (HAS_FAST_REP_STRING): Define.
81733         (HAS_FAST_COPY_BACKWARD): Define.
81735 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81737         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81738         Restore proper fallback handling.
81740 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81742         [BZ #11701]
81743         * posix/group_member.c (__group_member): Correct checking loop.
81745         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81746         OOM in getpwuid_r correctly.  Return error number when the caller
81747         should return, otherwise -1.
81748         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81749         call returning > 0 value.
81750         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81752 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81754         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81755         libc_nonshared.a from targets in modules-names.
81757 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81759         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81760         requires it.
81762 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81765         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81766         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81767         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81769 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81771         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81773 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81775         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81776         and F_GETPIPE_SZ.
81777         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81778         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81781         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81782         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81784 2010-06-14  Roland McGrath  <roland@redhat.com>
81786         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81788 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81790         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81791         __REDIRECT followed by __THROW.
81792         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81793         * posix/getopt.h (getopt): Likewise.
81795 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81797         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81798         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81799         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81800         in AT_FLAGS.
81801         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81802         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81804 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81808 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81810         [BZ #11640]
81811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81812         Properly check family and model.
81814 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81816         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81818 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81820         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81822 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81824         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81825         symbol reference.
81827 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81829         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81830         symbol reference.
81832 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81834         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81835         and internal_recvmmsg.
81836         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81837         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81838         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81839         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81841         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81842         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81843         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81845 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81847         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81849 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81851         POWER7 optimizations.
81852         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81853         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81855 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81857         * version.h: Update for 2.13 development version.
81859 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81861         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81862         exceptions.  Return 0.
81864 2010-05-07  Roland McGrath  <roland@redhat.com>
81866         * elf/ldconfig.c (main): Add a const.
81868 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81870         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81871         (args_options): Add no-idn option.
81872         (ahosts_keys_int): Add idn_flags to ai_flags.
81873         (parse_option): Handle 'i' option to clear idn_flags.
81875         * malloc/malloc.c (_int_free): Possible race in the most recently
81876         added check.  Only act on the data if no current modification
81877         happened.
81879 See ChangeLog.17 for earlier changes.